[Bug 253318] lldb: aborted when debugging named
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 7 04:59:51 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253318
Bug ID: 253318
Summary: lldb: aborted when debugging named
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: delphij at FreeBSD.org
Backtrace:
* thread #1, name = 'lldb', stop reason = signal SIGABRT
* frame #0: 0x00000008055ea1fa libc.so.7`__sys_thr_kill at thr_kill.S:4
frame #1: 0x000000080555fc64 libc.so.7`__raise(s=6) at raise.c:52:10
frame #2: 0x0000000805613ad6 libc.so.7`abort at abort.c:79:8
frame #3: 0x0000000805488d69
libcxxrt.so.1`report_failure(err=<unavailable>,
thrown_exception=0x000000080628f368) at exception.cc:719:5
frame #4: 0x000000080545f4ac
libc++.so.1`std::__1::__throw_system_error(ev=11, what_arg="") at
system_error.cpp:287:5
frame #5: 0x000000080545361d
libc++.so.1`std::__1::mutex::lock(this=<unavailable>) at mutex.cpp:35:9
frame #6: 0x0000000002137a29 lldb`::PrintAsync() [inlined] lock_guard at
__mutex_base:91:27
frame #7: 0x0000000002137a21 lldb`::PrintAsync() at Editline.cpp:1465
frame #8: 0x00000000020cee36 lldb`::PrintAsync() at IOHandler.cpp:127:14
frame #9: 0x00000000020f5e66 lldb`::~StreamAsynchronousIO() [inlined] Flush
at StreamAsynchronousIO.cpp:28:16
frame #10: 0x00000000020f5e2e lldb`::~StreamAsynchronousIO() at
StreamAsynchronousIO.cpp:23
frame #11: 0x00000000024a0e8c lldb`::PrintWarning() [inlined]
__release_shared at memory:3341:9
frame #12: 0x00000000024a0e78 lldb`::PrintWarning() [inlined]
__release_shared at memory:3383
frame #13: 0x00000000024a0e78 lldb`::PrintWarning() [inlined] ~shared_ptr
at memory:4098
frame #14: 0x00000000024a0e68 lldb`::PrintWarning() at Process.cpp:5837
frame #15: 0x00000000024a1110 lldb`::PrintWarningUnsupportedLanguage() at
Process.cpp:5864:5
frame #16: 0x00000000024d8f3f lldb`::FrameSelectedCallback() at
Thread.cpp:335:19
frame #17: 0x00000000024d8cbb lldb`::GetSelectedFrame() at Thread.cpp:274:3
frame #18: 0x000000000247bad0 lldb`::SetTargetPtr() at
ExecutionContext.cpp:527:56
frame #19: 0x0000000002160125 lldb`::HandleCompletion() [inlined]
UpdateExecutionContext at CommandInterpreter.cpp:2685:19
frame #20: 0x00000000021600fe lldb`::HandleCompletion() at
CommandInterpreter.cpp:1854
frame #21: 0x0000000002135a81 lldb`::TabCommand() at Editline.cpp:988:3
frame #22: 0x0000000002138b6c lldb`::__invoke() [inlined] operator() at
Editline.cpp:1144:45
frame #23: 0x0000000002138b57 lldb`::__invoke() at Editline.cpp:1142
frame #24: 0x0000000805261741 libedit.so.8`el_wgets(el=0x00000008062e6600,
nread=0x00007fffffffe0b4) at read.c:537:12
frame #25: 0x00000000021375c2 lldb`::GetLine() at Editline.cpp:1407:16
frame #26: 0x00000000020cfa56 lldb`::GetLine() at IOHandler.cpp:323:29
frame #27: 0x00000000020d08ae lldb`::Run() at IOHandler.cpp:554:11
frame #28: 0x00000000020b7f5f lldb`::RunIOHandlers() at Debugger.cpp:857:16
frame #29: 0x0000000002163869 lldb`::RunCommandInterpreter() at
CommandInterpreter.cpp:2984:16
frame #30: 0x0000000001e2b21c lldb`::RunCommandInterpreter() at
SBDebugger.cpp:1172:42
frame #31: 0x0000000001def2ef lldb`::MainLoop() at Driver.cpp:672:18
frame #32: 0x0000000001df0aa3 lldb`main at Driver.cpp:910:26
frame #33: 0x0000000001decaff lldb`_start(ap=<unavailable>,
cleanup=<unavailable>) at crt1_c.c:75:7
frame #1: 0x000000080555fc64 libc.so.7`__raise(s=6) at raise.c:52:10
49
50 if (__sys_thr_self(&id) == -1)
51 return (-1);
-> 52 return (__sys_thr_kill(id, s));
53 }
(lldb) up
frame #2: 0x0000000805613ad6 libc.so.7`abort at abort.c:79:8
76 (void)__libc_sigaction(SIGABRT, &act, NULL);
77 sigdelset(&act.sa_mask, SIGABRT);
78 (void)__libc_sigprocmask(SIG_SETMASK, &act.sa_mask, NULL);
-> 79 (void)raise(SIGABRT);
80 exit(1);
81 }
(lldb) up
frame #3: 0x0000000805488d69 libcxxrt.so.1`report_failure(err=<unavailable>,
thrown_exception=0x000000080628f368) at exception.cc:719:5
716 #endif
717 case _URC_END_OF_STACK:
718 __cxa_begin_catch
(&(thrown_exception->unwindHeader));
-> 719 std::terminate();
720 fprintf(stderr, "Terminating due to uncaught
exception %p",
721
static_cast<void*>(thrown_exception));
722 thrown_exception =
realExceptionFromException(thrown_exception);
(lldb) up
frame #4: 0x000000080545f4ac libc++.so.1`std::__1::__throw_system_error(ev=11,
what_arg="") at system_error.cpp:287:5
284 __throw_system_error(int ev, const char* what_arg)
285 {
286 #ifndef _LIBCPP_NO_EXCEPTIONS
-> 287 throw system_error(error_code(ev, system_category()), what_arg);
288 #else
289 (void)ev;
290 (void)what_arg;
(lldb) up
frame #5: 0x000000080545361d
libc++.so.1`std::__1::mutex::lock(this=<unavailable>) at mutex.cpp:35:9
32 {
33 int ec = __libcpp_mutex_lock(&__m_);
34 if (ec)
-> 35 __throw_system_error(ec, "mutex lock failed");
36 }
37
38 bool
(lldb) up
frame #6: 0x0000000002137a29 lldb`::PrintAsync() [inlined] lock_guard at
__mutex_base:91:27
88
89 _LIBCPP_NODISCARD_EXT _LIBCPP_INLINE_VISIBILITY
90 explicit lock_guard(mutex_type& __m)
_LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
-> 91 : __m_(__m) {__m_.lock();}
92
93 _LIBCPP_NODISCARD_EXT _LIBCPP_INLINE_VISIBILITY
94 lock_guard(mutex_type& __m, adopt_lock_t)
_LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m))
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list