This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6389] New: unwind information for x86 vfork is incorrect
- From: "drow at sources dot redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Apr 2008 15:33:37 -0000
- Subject: [Bug libc/6389] New: unwind information for x86 vfork is incorrect
- Reply-to: sourceware-bugzilla at sourceware dot org
The CFI in sysdeps/unix/sysv/linux/i386/vfork.S records that the stack was
popped but leaves the eip saved on the stack. After the vfork, while the child
is running but the parent is still on the syscall, that stack location is
reused. A breakpoint one instruction past the int $0x80 will have a bad stack
trace.
--
Summary: unwind information for x86 vfork is incorrect
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: drow at sources dot redhat dot com
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: i686-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=6389
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.