This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17176] backtrace() not working on ARMv7a
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 25 Jul 2014 15:21:13 +0000
- Subject: [Bug libc/17176] backtrace() not working on ARMv7a
- Auto-submitted: auto-generated
- References: <bug-17176-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17176
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
You are free to configure your compiler to default to
-fasynchronous-unwind-tables if you want, or to build glibc with that
option, but I don't think it's an appropriate default for glibc; it should
be used in glibc only for specific files where asynchronous cancellation
may occur.
When you make invalid use of glibc - passing arguments to functions that
result in undefined behavior - there is no guarantee that the stack is in
an unwindable state when the segfault occurs (return addresses may have
been overwritten as a result of the invalid arguments, for example).
--
You are receiving this mail because:
You are on the CC list for the bug.