[lldb-dev] weird AV in RunPrivateStateThread.

Carlo Kok ck at remobjects.com
Fri Nov 9 08:56:29 PST 2012


For some projets I get a weird access violation in this function:

Process::RunPrivateStateThread ()

these lines:
EventSP event_sp;
WaitForEventsPrivate (NULL, event_sp, control_only);
if (event_sp->BroadcasterIs(&m_private_state_control_broadcaster)) <<<

at this point event_sp contains a NULL pointer and thus fails. What 
could cause this and should there be a check for the result type of 
WaitForEventsPrivate?


Carlo Kok



More information about the lldb-dev mailing list