sduvan.gcc at gmail dot com
2018-06-27 13:10:56 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23344
Bug ID: 23344
Summary: Broken stacktrace (Backtrace stopped: previous frame
inner to this frame (corrupt stack?)
Product: gdb
Version: 8.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: backtrace
Assignee: unassigned at sourceware dot org
Reporter: sduvan.gcc at gmail dot com
Target Milestone: ---
Created attachment 11101
--> https://sourceware.org/bugzilla/attachment.cgi?id=11101&action=edit
Files to reproduce the bug.
To reproduce the issue, do the following (see attached file bug.tar.gz):
bash> tar -zxvf bug.tar.gz
(change g++ path in Makefile)
bash> make
bash> gdb --args gdb-bug
(gdb) run
Program received signal SIGABRT, Aborted.
<...>
(gdb) bt
#0 0xf7fd9f89 in __kernel_vsyscall ()
#1 0xf7c3c257 in raise () from /lib/libc.so.6
#2 0xf7c3d9d5 in abort () from /lib/libc.so.6
#3 0x08048c3e in done () at gdb-bug.C:7
#4 <lambda(int, std::ostream&)>::operator() (__closure=0x8050a18) at
gdb-bug.C:7
#5 std::_Function_handler<void(int, std::basic_ostream<char,
std::char_traits<char> >&), main()::<lambda(int, std::ostream&)>
__args#1=...) at /opt/gcc/8.1.0/include/c++/8.1.0/bits/std_function.h:297
#6 0x0804905a in std::function<void (int, std::ostream&)>::operator()(int,
std::ostream&) const (__args#1=...,
__args#0=<optimized out>, this=<optimized out>) at
/opt/gcc/8.1.0/include/c++/8.1.0/bits/std_function.h:682
#7 run (id=56, lsi=...) at bug.C:12
#8 detail1::operator&<req<std::pair<re&&, char const (&) [1]> > > (i=...,
this=<optimized out>) at ./bug.H:42
#9 detail2::operator&<req<std::pair<re&&, char const (&) [1]> > >
(this=<optimized out>, i=...) at ./bug.H:49
#10 get () at bug.C:15
#11 0xffffa920 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
8.0 also have this problem. 7.9 works fine. Note that it is essential that
the code is compiled with -m32.
Bug ID: 23344
Summary: Broken stacktrace (Backtrace stopped: previous frame
inner to this frame (corrupt stack?)
Product: gdb
Version: 8.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: backtrace
Assignee: unassigned at sourceware dot org
Reporter: sduvan.gcc at gmail dot com
Target Milestone: ---
Created attachment 11101
--> https://sourceware.org/bugzilla/attachment.cgi?id=11101&action=edit
Files to reproduce the bug.
To reproduce the issue, do the following (see attached file bug.tar.gz):
bash> tar -zxvf bug.tar.gz
(change g++ path in Makefile)
bash> make
bash> gdb --args gdb-bug
(gdb) run
Program received signal SIGABRT, Aborted.
<...>
(gdb) bt
#0 0xf7fd9f89 in __kernel_vsyscall ()
#1 0xf7c3c257 in raise () from /lib/libc.so.6
#2 0xf7c3d9d5 in abort () from /lib/libc.so.6
#3 0x08048c3e in done () at gdb-bug.C:7
#4 <lambda(int, std::ostream&)>::operator() (__closure=0x8050a18) at
gdb-bug.C:7
#5 std::_Function_handler<void(int, std::basic_ostream<char,
std::char_traits<char> >&), main()::<lambda(int, std::ostream&)>
::_M_invoke(const std::_Any_data &, int &&, std::basic_ostream<char,
std::char_traits<char> > &) (__functor=..., __args#0=@0xffffa8ec: 56,__args#1=...) at /opt/gcc/8.1.0/include/c++/8.1.0/bits/std_function.h:297
#6 0x0804905a in std::function<void (int, std::ostream&)>::operator()(int,
std::ostream&) const (__args#1=...,
__args#0=<optimized out>, this=<optimized out>) at
/opt/gcc/8.1.0/include/c++/8.1.0/bits/std_function.h:682
#7 run (id=56, lsi=...) at bug.C:12
#8 detail1::operator&<req<std::pair<re&&, char const (&) [1]> > > (i=...,
this=<optimized out>) at ./bug.H:42
#9 detail2::operator&<req<std::pair<re&&, char const (&) [1]> > >
(this=<optimized out>, i=...) at ./bug.H:49
#10 get () at bug.C:15
#11 0xffffa920 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
8.0 also have this problem. 7.9 works fine. Note that it is essential that
the code is compiled with -m32.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.