<div dir="ltr"><div>I don't see anything very interesting in the dyld log but it looks like we're hitting the breakpoint at DynamicLoaderPOSIXDYLD::RendezvousBreakpointHit() where its rendezvous state is first eAdd and then hitting it again and the state is eDelete without transitioning to eConsistent between eAdd and eDelete. I've never looked at this runtime linker stuff before so I'm not sure if this is a valid transition or not, this is what's causing the assertion failure though. Any idea?<br><br></div>Cheers,<br>Andrew<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 5:06 PM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I just took a peek at the code around there.  It's not immediately clear whether the assert is entirely useful, but I think it is intending to guard against adding new dynamic library info when the previous state of the data structures are not settled.<div><br></div><div>I think a good starting point for you would be to enable 'log enable lldb dyld' and see what kind of activity is showing up for the existing log lines.  Maybe post that here if that doesn't help.</div><div><br></div><div>I probably wouldn't remove the assert until we understand the root issue since the assert seems reasonable.</div><div><br></div><div>Worst case if this doesn't get you further, you can add some if code around the condition and stick a breakpoint in the unexpected case so you can break the debugger in action and inspect what's going on.</div><div><br></div><div>I hope that gets you started!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Todd</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 7:49 AM, Andrew MacPherson <span dir="ltr"><<a href="mailto:andrew.macp@gmail.com" target="_blank">andrew.macp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Todd,<br><br>I just backed out your change and the behaviour remained the same. When I say it's been awhile since I rebuilt though the last build I have around is from June and it doesn't assert there. Has the default assertion behaviour changed to enabled by default? I'm building with "cmake -G Ninja ..".<br><br></div>In fact checking the June build I don't get an assertion failure (I assume they're disabled) but the values do differ and I would get one if they were enabled. So it looks like this issue may have been around for awhile.<br><br></div>I can investigate further if you have any pointers around what I might want to look for.<br><br>Cheers,<br>Andrew<br><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 3:30 PM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I did a POSIX Dynamic Loader change yesterday.  It might be causing this (not obvious yet, but could be.)  r219371.  If you're in a position to do a test of your run with that one change reverted out, and if that fixes it, I can yank out that change.<div><br></div><div>Ideally I'd love to isolate if that is the cause of the changed behavior.</div><div><br></div><div>-Todd</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Oct 9, 2014 at 4:24 AM, Andrew MacPherson <span dir="ltr"><<a href="mailto:andrew.macp@gmail.com" target="_blank">andrew.macp@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div>I just compiled the latest LLDB HEAD on Linux 64-bit and am seeing an assertion failure on launch when debugging a specific application (Autodesk maya):<br><br>lldb: ../tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp:206: bool DYLDRendezvous::UpdateSOEntries(): Assertion `m_previous.state == eConsistent' failed.<br><br></div>It's been awhile since I've rebuilt from HEAD so not sure when this may have been introduced and simply commenting out the assertion appears to run fine.<br><br></div>Does anyone know if this assertion is still relevant and if so have any tips on where I should look to figure out what's happening?<br><br></div>Thanks,<br>Andrew<br></div>
<br></div></div>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table style="color:rgb(136,136,136);font-family:'Times New Roman'" cellpadding="0" cellspacing="0"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px" nowrap>Todd Fiala |</td><td style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px" nowrap> Software Engineer |</td><td style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px" nowrap> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a></td><td style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px" nowrap><br></td></tr></tbody></table><br></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table style="color:rgb(136,136,136);font-family:'Times New Roman'" cellpadding="0" cellspacing="0"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px" nowrap>Todd Fiala |</td><td style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px" nowrap> Software Engineer |</td><td style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px" nowrap> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a></td><td style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px" nowrap><br></td></tr></tbody></table><br></div>
</div>
</div></div></blockquote></div><br></div>