[Bug 691903] New: Stack backtrace of gdb interrupting and gcore dump for a process are different.
https://bugzilla.novell.com/show_bug.cgi?id=691903 https://bugzilla.novell.com/show_bug.cgi?id=691903#c0 Summary: Stack backtrace of gdb interrupting and gcore dump for a process are different. Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: i586 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: machen@novell.com QAContact: qa@suse.de CC: mchang@novell.com, rguenther@novell.com, glin@novell.com, jlee@novell.com, bchou@novell.com, acho@novell.com, dchang@novell.com, mlin@novell.com Found By: --- Blocker: --- When uses gdb to interrupt a process and backtrace the stack : (gdb) bt #0 0xffffe424 in __kernel_vsyscall () #1 0xb6a08ffe in poll () from /lib/libc.so.6 #2 0xb6b2d0bb in g_poll () from /lib/libglib-2.0.so.0 #3 0xb6b1cc46 in ?? () from /lib/libglib-2.0.so.0 #4 0xb6b1d3ef in g_main_loop_run () from /lib/libglib-2.0.so.0 #5 0xb71d9fd9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #6 0xb775c5cb in main () But if uses gcore to generate a dump file then use gdb to load it as followed # gcore -o /tmp/core.pidgin [pidgin_pricess_id] # gdb -c /tmp/core.pidgin (gdb) bt #0 0xffffe424 in __kernel_vsyscall () #1 0xb6a08ffe in ?? () #2 0xb6bcc400 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) In theory, they should be the same. :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=691903
https://bugzilla.novell.com/show_bug.cgi?id=691903#c
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=691903
https://bugzilla.novell.com/show_bug.cgi?id=691903#c1
--- Comment #1 from Richard Biener
http://bugzilla.novell.com/show_bug.cgi?id=691903
http://bugzilla.novell.com/show_bug.cgi?id=691903#c2
Richard Biener
participants (1)
-
bugzilla_noreply@novell.com