Re: [lldb-dev] Hang during attach

2016-01-11 Thread Pavel Labath via lldb-dev
Also including the list... On 11 January 2016 at 09:30, Pavel Labath wrote: > Hi, > > there was a race condition in 3.7, which sometimes caused a hang > during process attach. This should be fixed in r246756, but this fix > is not available in the 3.7 branch. I think if you

[lldb-dev] Hang during attach

2016-01-08 Thread David Jones via lldb-dev
I have some code which worked under LLVM+LLDB 3.6.0 which runs as follows: its purpose is to run some code, and print a backtrace if the code segfaults. My approach was: - fork - the child runs the main part of the program. - the parent creates a debugger and attaches to the child. The child is