[lldb-dev] [Bug 15671] New: backtrace truncated after assertion failure in inferior

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 4 10:18:38 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15671

            Bug ID: 15671
           Summary: backtrace truncated after assertion failure in
                    inferior
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: ben.langmuir at intel.com
    Classification: Unclassified

To reproduce, compile the following with clang or gcc:
#include <assert.h>
int main() {
  assert(0);
  return 0;
}

and run it in lldb
(lldb) run
(lldb) bt

Expected behaviour: I can see the frame for main in the backtrace and I can use
the command "up" to get to it.  With gdb, I get the backtrace:
#0  0x00007ffff7a51425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff7a54b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff7a4a0ee in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff7a4a192 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x0000000000400571 in main ()


Actual: whereas with lldb, I get
* thread #1: tid = 0x6aef, 0x00007fa686778425 libc.so.6`raise + 53, stop reason
= signal SIGABRT
    frame #0: 0x00007fa686778425 libc.so.6`raise + 53
    frame #1: 0x00007fa68677bb8b libc.so.6`abort + 379


More info:
Revision: 178756 (nightly build from llvm.org/apt)
Ubuntu 12.04
x86-64

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130404/6034b07f/attachment.html>


More information about the lldb-dev mailing list