[lldb-dev] [patch] fix console hang on freebsd

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed May 30 15:32:13 PDT 2012

Hi everyone,

Please find attached patch, which fixes a console hang on the freebsd systems. This hang always occurs on a repeated launch of the process.
The following steps will reproduce the problem:

(lldb) target create /bin/hostname
Current executable set to '/bin/hostname' (x86_64).
(lldb) proc launch
Process 41002 launched: '/bin/hostname' (x86_64)
(lldb) proc kill
Process 41002 exited with status = -1 (0xffffffff) 
* thread #1: tid = 0xa02a, , stop reason = trace
    frame #0: 

(lldb) proc launch
Process 41003 launched: '/bin/hostname' (x86_64)
(lldb) ...<hang>...

Would somebody review and apply this patch?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-freebsd-processmonitor-console-hang.patch
Type: application/octet-stream
Size: 669 bytes
Desc: lldb-freebsd-processmonitor-console-hang.patch
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20120530/7c6d7582/attachment.obj>

More information about the lldb-dev mailing list