Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 22:12:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254615] lldb crash
Message-ID:  <bug-254615-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254615

            Bug ID: 254615
           Summary: lldb crash
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: otis@FreeBSD.org

While debugging something that was using ncurses, lldb crashed:

Process 73969 stopped
* thread #1, name = 'poke', stop reason = step in
    frame #0: 0x00000008009edcac
libncursesw.so.9`tputs(string="4f0fdc740005be8be730c32600000000", affcnt=1,
outc=(libtextstyle.so.0`out_char at term-ostream.oo.c:1198)) at
lib_tputs.c:443:5
   440  NCURSES_EXPORT(int)
   441  tputs(const char *string, int affcnt, int (*outc) (int))
   442  {
-> 443      SetSafeOutcWrapper(outc);
   444      return NCURSES_SP_NAME(tputs) (NCURSES_SP_ARGx string, affcnt,
_nc_outc_wrapper);
   445  }
   446  #endif
(lldb) p string
(const char *) $31 = 0x00000008018a0210 "4f0fdc740005be8be730c32600000000"
(lldb) p affcnt
(int) $32 = 1
(lldb) p outc
(int (*)(int)) $33 = 0x0000000800424c40 (libtextstyle.so.0`out_char at
term-ostream.oo.c:1198)
(lldb) s
Program aborted due to an unhandled Error:
Error value was Success. (Note: Success values must still be checked prior to
being destroyed).
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the
crash backtrace.
#0 0x00000000037e0abe PrintStackTrace
/poudriere/src-work/githead/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13
#1 0x00000000037def75 RunSignalHandlers
/poudriere/src-work/githead/contrib/llvm-project/llvm/lib/Support/Signals.cpp:69:18
#2 0x00000000037e1030 SignalHandler
/poudriere/src-work/githead/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
#3 0x0000000804724e90 handle_signal
/poudriere/src-work/githead/lib/libthr/thread/thr_sig.c:0:3
Abort (core dumped)

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254615-227>