[Bug 16769] New: LLDB on Mac OS X crashes while running TestLongjmp

Bug ID 16769
Summary LLDB on Mac OS X crashes while running TestLongjmp
Product lldb
Version unspecified
Hardware Macintosh
OS MacOS X
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter daniel.malea@intel.com
Classification Unclassified

To reproduce, remove the @skipIfDarwin decorator from TestLongjmp.py and run:

python dotest.py --executable <path-to-lldb> -p TestLongJmp

The crash is due to one of two assertion failures:

Assertion failed: (!"Didn't get sequence mutex for read register."), function
ReadRegisterBytes, file
/Users/daniel/dev/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp,
line 255

or 

Assertion failed: (m_failure_message.empty()), function Unlock, file
/Users/daniel/dev/lldb/source/Host/common/Mutex.cpp, line 353

The problem does not seem reproducible on Linux, but happens on Mac OS X
regardless of the test compiler used (I tried ICC and Clang).