Confirmed and added the link to the external bug report. I suggest you create a Bazaar branch of the current development version of eglibc (2.13-20ubuntu6), fix the problem there and then link the created branch here, this would speed up the release - see <https://wiki.ubuntu.com/Bugs/HowToFix> for detailed instructions.
If you have any questions, just ask in the #ubuntu-devel IRC channel or leave a comment here. Thanks! ** Changed in: eglibc (Ubuntu) Status: New => Confirmed ** Bug watch added: Sourceware.org Bugzilla #12432 http://sourceware.org/bugzilla/show_bug.cgi?id=12432 ** Also affects: eglibc via http://sourceware.org/bugzilla/show_bug.cgi?id=12432 Importance: Unknown Status: Unknown ** Description changed: + 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. + This is alredy fixed in (e)glibc 2.14 http://sources.redhat.com/bugzilla/show_bug.cgi?id=12432 - [BZ #12432] - * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element. - (dummy_getcfa): New function. - (init): Get _Unwind_GetCFA address, use dummy if not found. - (backtrace_helper): In recursion check, also check whether CFA changes. - (__backtrace): Completely initialize arg. + [BZ #12432] + * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element. + (dummy_getcfa): New function. + (init): Get _Unwind_GetCFA address, use dummy if not found. + (backtrace_helper): In recursion check, also check whether CFA changes. + (__backtrace): Completely initialize arg. + I suggest to backport this fix to (e)glibc 2.12/2.13 for ubuntu + maverick/natty/oneiric. - I suggest to backport this fix to (e)glibc 2.12/2.13 for ubuntu maverick/natty/oneiric. - - Pacth has been tested for - eglibc_2.12.1-0ubuntu10.2 + The patch has been tested for eglibc_2.12.1-0ubuntu10.2. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/898077 Title: backtrace fails with recursive functions on 64bit (BZ #12432) To manage notifications about this bug go to: https://bugs.launchpad.net/eglibc/+bug/898077/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs