This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18508] New: S390: backtrace() returns infinitely deep stack frames with makecontext().
- From: "stli at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 09 Jun 2015 15:41:02 +0000
- Subject: [Bug libc/18508] New: S390: backtrace() returns infinitely deep stack frames with makecontext().
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18508
Bug ID: 18508
Summary: S390: backtrace() returns infinitely deep stack frames
with makecontext().
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: stli at linux dot vnet.ibm.com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
On s390/s390x backtrace(buffer, size) returns the series of called functions
until "makecontext_ret" and additional entries (up to "size") with
"makecontext_ret".
GDB-backtrace is also warning: "Backtrace stopped: previous frame identical to
this frame (corrupt stack?)"
To reproduce this scenario you have to setup a new context with makecontext()
and activate it with setcontext(). See e.g. cf() function in testcase
stdlib/tst-makecontext.c.
Or see bug in libgo "Bug 66303 - runtime.Caller() returns infinitely deep stack
frames on s390x " (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66303).
--
You are receiving this mail because:
You are on the CC list for the bug.