https://bugzilla.novell.com/show_bug.cgi?id=652879 https://bugzilla.novell.com/show_bug.cgi?id=652879#c0 Summary: glibc's backtrace() fails with recursive function on 64-bit Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: loose@astron.nl QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=399593) --> (http://bugzilla.novell.com/attachment.cgi?id=399593) Test program that demonstrates wrong backtrace on 64-bit User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 Firefox/3.6.12 glibc's backtrace() function fails to give a complete backtrace with 64-bit code when calling a recursive function. A 32-bit executable does produce a correct backtrace. Using -fno-omit-frame-pointer does not solve the problem for the 64-bit code. Reproducible: Always Steps to Reproduce: 1. Compile the attached C-program tRecursive.c a) gcc -o tRecursive-64 tRecursive b) gcc -o tRecursive-32 -m32 tRecursive Actual Results: $ ./tRecursive-64 ** 2 ** 0 0x4005c8 1 0x4005b2 $ ./tRecursive-32 ** 12 ** 0 0x80484aa 1 0x8048492 2 0x8048492 3 0x8048492 4 0x8048492 5 0x8048492 6 0x8048492 7 0x8048492 8 0x8048492 9 0x8048492 10 0x804850f 11 0xf75eface Expected Results: I expect the output of tRecursive-64 to be similar to that of tRecursive-32 -- 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.