https://bugs.kde.org/show_bug.cgi?id=356174

--- Comment #3 from Daniel Trebbien <dtrebb...@gmail.com> ---
The two patches allow LLDB 3.4, 3.5, and 3.6 to debug using the embedded
gdbserver on an Ubuntu 14.04.3 'Trusty Tahr' system.

The crash on Mac has the following backtrace:
```
Thread 5 Crashed:
0   com.apple.LLDB.framework          0x0000000108b637ad
ABISysV_x86_64::GetArgumentValues(lldb_private::Thread&,
lldb_private::ValueList&) const + 147
1   com.apple.LLDB.framework          0x00000001089aba51
DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(void*,
lldb_private::StoppointCallbackContext*, unsigned long long, unsigned long
long) + 399
2   com.apple.LLDB.framework          0x000000010882ce04
lldb_private::BreakpointOptions::InvokeCallback(lldb_private::StoppointCallbackContext*,
unsigned long long, unsigned long long) + 48
3   com.apple.LLDB.framework          0x0000000108829f7e
lldb_private::BreakpointLocation::InvokeCallback(lldb_private::StoppointCallbackContext*)
+ 82
4   com.apple.LLDB.framework          0x000000010882a6de
lldb_private::BreakpointLocation::ShouldStop(lldb_private::StoppointCallbackContext*)
+ 116
5   com.apple.LLDB.framework          0x000000010882b418
lldb_private::BreakpointLocationCollection::ShouldStop(lldb_private::StoppointCallbackContext*)
+ 76
6   com.apple.LLDB.framework          0x0000000108833884
lldb_private::BreakpointSite::ShouldStop(lldb_private::StoppointCallbackContext*)
+ 48
7   com.apple.LLDB.framework          0x0000000108ac0db5
lldb_private::StopInfoBreakpoint::ShouldStopSynchronous(lldb_private::Event*) +
241
8   com.apple.LLDB.framework          0x0000000108adabdf
lldb_private::Thread::ShouldStop(lldb_private::Event*) + 715
9   com.apple.LLDB.framework          0x0000000108ae0562
lldb_private::ThreadList::ShouldStop(lldb_private::Event*) + 502
10  com.apple.LLDB.framework          0x0000000108aae550
lldb_private::Process::ShouldBroadcastEvent(lldb_private::Event*) + 396
11  com.apple.LLDB.framework          0x0000000108aab685
lldb_private::Process::HandlePrivateEvent(std::__1::shared_ptr<lldb_private::Event>&)
+ 471
12  com.apple.LLDB.framework          0x0000000108aaed3a
lldb_private::Process::RunPrivateStateThread() + 568
13  com.apple.LLDB.framework          0x0000000108aae771
lldb_private::Process::PrivateStateThread(void*) + 9
14  libsystem_pthread.dylib           0x00007fff8e3b59b1 _pthread_body + 131
15  libsystem_pthread.dylib           0x00007fff8e3b592e _pthread_start + 168
16  libsystem_pthread.dylib           0x00007fff8e3b3385 thread_start + 13
```

This appears to be Apple-specific.

If these two patches are committed, then I think that this bug can be closed as
"fixed".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to