This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/17176] backtrace() not working on ARMv7a


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]