Henrik Grindal Bakken <[email protected]> writes: > Hello. I'm using (trying to use) libunwind to obtain backtraces for > my product. The application is running on arm, and is multi-threaded > (pthreads). > > What I see is that the obtain_backtrace() call SIGSEGVs right at the > beginning when the handler was called from a thread. If it's called > from the main thread, it doesn't seem to matter that other threads > exist. > > I've tried printf()s immediately in obtain_backtrace(), and if they > print out the context pointer, they seem to die. The threads are > created joinable with custom stacks, but changing that doesn't seem to > affect libunwind. > > I compile my product with -g -fno-omit-frame-pointer -mapcs-frame, and > I've been trying both with 0.99 and latest-and-greatest from git.
The exact same program works as intended on x86, by the way. -- Henrik Grindal Bakken <[email protected]> PGP ID: 8D436E52 Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52 _______________________________________________ Libunwind-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/libunwind-devel
