[lldb-dev] [PATCH] Fix crash on Linux if sem_wait() is interrupted

Andrew MacPherson andrew.macp at gmail.com
Fri Jan 24 06:10:09 PST 2014


Fix a crash where if sem_wait is interrupted then
ProcessMonitor::ServeOperation() will crash accessing an invalid
monitor->m_operation pointer. The fix is taken from how this same case is
already handled in the ProcessMonitor constructor.

Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140124/1286beaf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sem_wait.EINTR.Linux.patch
Type: text/x-diff
Size: 1066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140124/1286beaf/attachment.patch>


More information about the lldb-dev mailing list