Stopped status is reported as exit by 32-bit linux lldb


With a recent build of 32-bit linux lldb, tracer stop being
sent to the inferior results in lldb erroneously reporting
that the inferior has exit:

$ lldb hello
Current executable set to 'hello' (i386).
(lldb) run
Process 2115 launching
Process 2115 stopped
* thread #1: tid = 2115, 0x00000000, name = 'hello', stop reason = trace
     frame #0: 0x00000000
error: Input/output error
(lldb) Process 2115 launched: '/home/mg11/src/play/clang-tests/hello/hello' (i386)
Hello from test program!!
(lldb) process interrupt
Process 2115 exited with status = 0 (0x00000000)

But the kernel reports the following about the inferior:

$ cat /proc/2115/status
Name: hello
State: t (tracing stop)
Tgid: 2115
Pid: 2115
PPid: 2108
TracerPid: 2114

The statement "Process 2115 exited with status = 0 (0x00000000)" is

Matthew Gardiner

Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at Keep up to date with CSR on our technical blog,, CSR people blog,, YouTube,, Facebook,, or follow us on Twitter at
New for 2014, you can now access the wide range of products powered by aptX at