Re: [lldb-dev] lldb::SBDebugger::Terminate() hangs in deadlock

2015-10-05 Thread Greg Clayton via lldb-dev
You are missing a call to the initialize function: lldb::SBDebugger::Initialize(); > On Sep 28, 2015, at 1:12 AM, Stefan Kratochwil via lldb-dev > wrote: > > Hi, > > I've got a problem with lldb deadlocking upon a call to > lldb::SBDebugger::Terminate(). > > I am currently using svn revisi

Re: [lldb-dev] lldb::SBDebugger::Terminate() hangs in deadlock

2015-09-28 Thread Stefan Kratochwil via lldb-dev
Hi Pavel, thanks for your quick reply. I filed a bug at https://llvm.org/bugs/show_bug.cgi?id=24958. I'll try to determine a more precise revision range for that issue. I am currently using svn (checking out lldb manually into llvm/tools). Do you have a recommended workflow for git in such a s

Re: [lldb-dev] lldb::SBDebugger::Terminate() hangs in deadlock

2015-09-28 Thread Pavel Labath via lldb-dev
Hi, Thanks for the report. Since you are suspecting a deadlock, could you post a backtrace of all the threads (thread apply all backtrace). It would be best to move this discussion to a bug in llvm.org/bugs. > I am currently using svn revision 247535 of llvm and lldb, and I know that my > code w

[lldb-dev] lldb::SBDebugger::Terminate() hangs in deadlock

2015-09-28 Thread Stefan Kratochwil via lldb-dev
Hi, I've got a problem with lldb deadlocking upon a call to lldb::SBDebugger::Terminate(). I am currently using svn revision 247535 of llvm and lldb, and I know that my code was working with svn revision 229496. In short, I am doing the following steps: lldb_debugger = lldb::SBDebugger::