[Lldb-commits] crash in Proces::RunPrivateStateThread
jingham at apple.com
Tue Oct 1 09:41:15 PDT 2013
Yes, this should be checked. If the return value is true, then there should be an event in event_sp, but if it returns false, then you shouldn't rely on the contents of the event.
On Sep 30, 2013, at 9:18 AM, Carlo Kok <ck at remobjects.com> wrote:
> Process::RunPrivateStateThread ()
> WaitForEventsPrivate (NULL, event_sp, control_only);
> if (event_sp->BroadcasterIs(&m_private_state_control_broadcaster))
> I'm getting a crash because the pointer in event_sp is null. Now this is probably because some code isn't 100% windows ready, yet. However shouldn't something be checking the return value of WaitForEventsPrivate anyway?
> Carlo Kok
> RemObjects Software
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
More information about the lldb-commits