bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/24403] New: addr2line _GLOBAL__sub_I__Z11print_tracev


From: jg at jguk dot org
Subject: [Bug binutils/24403] New: addr2line _GLOBAL__sub_I__Z11print_tracev
Date: Sun, 31 Mar 2019 10:15:01 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24403

            Bug ID: 24403
           Summary: addr2line  _GLOBAL__sub_I__Z11print_tracev
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: jg at jguk dot org
  Target Milestone: ---

Created attachment 11712
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11712&action=edit
test case

The attached test case, when compiled and run shows a symbol which isn't
demangled by addr2line. I'll attach the file, and the compiled file

_GLOBAL__sub_I__Z11print_tracev

The output below shows it as item [2].

It is the same as running manually addr2line

$ addr2line -f -C -e exception4 0x0000000000001600
_GLOBAL__sub_I__Z11print_tracev
/home/jonny/code/crash/exception4.cpp:100




$ g++-8 -g -pipe -pthread -O1 -o exception4 exception4.cpp
address@hidden:~/code/crash$ ./exception4
Unhandled C++ exception: [vector::_M_range_check: __n (which is 0) >=
this->size() (which is 0)]

Backtrace:
[1]: ./exception4(+0x15c9) [0x56129dea75c9]
0x00000000000015c9
test()
exception4.cpp:85
[2]: ./exception4(+0x1600) [0x56129dea7600]
0x0000000000001600
_GLOBAL__sub_I__Z11print_tracev
exception4.cpp:100
[3]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fc0f8dd1b97]
0x0000000000000000
??
??:0
[4]: ./exception4(+0x10da) [0x56129dea70da]
0x00000000000010da
_start
??:?
Aborted

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]