[lldb-dev] Linux lldb running a process produces WatchPoint assertion

Xavier de Gaye xdegaye at gmail.com
Mon Feb 10 03:35:00 PST 2014

On 02/10/2014 11:00 AM, Matthew Gardiner wrote:
 > Hi,
 > I've checked out the head of trunk of llvm/clang/lldb and managed to build lldb for:
 > 3.12.8-300.fc20.i686 #1 SMP Thu Jan 16 01:28:49 UTC 2014 i686 i686 i386 GNU/Linux
 > using gcc-4.8.2. (I could only build a release version). When I attempt to debug a simple hello world program, the act of running the inferior results in a failed assertion in
 > POSIXThread::WatchNotify(const ProcessMessage &message).
 > This is my output with some added printf:
 >  > lldb hello
 > MG!!!!
 > Current executable set to 'hello' (i386).
 > (lldb) run
 > Process 4775 launching
 > MG!! LinuxThread::TraceNotify
 > lldb: /home/mg11/src/heracles/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp:506: void POSIXThread::WatchNotify(const ProcessMessage&): Assertion `wp_sp.get() && "No watchpoint found"'
 > failed.
 > Aborted (core dumped)

This seems related to http://llvm.org/bugs/show_bug.cgi?id=17802
in that lldb aborts at the same assertion.


More information about the lldb-dev mailing list