Lassi Tuura <[email protected]> writes: > Hi, > >> Here we go: >> >> The readelf output is at http://folk.uio.no/hgb/readelf.output.gz >> >> GDB session: http://fpaste.org/jPwF/ >> >> It appears to SEGFAULT upon calling sigprocmask(). >> >> "UNW_DEBUG_LEVEL=1011 /tmp/backtrace" actually prints nothing. It >> appears to segfault before libunwind manages to output anything at >> all. > > This doesn't sound right. Your backtrace says it's inside unw_step(), > which must have tried to output something before ending up in a call > to sigprocmask(). The first statement in arm unw_step() is line: > > Debug (1, "(cursor=%p)\n", c);
Hmm. I changed stuff a bit, using pthread directly instead of our (fairly small) abstraction layer around it, and now I get some output with the debug code. This helps, and indicates that there's something troublesome in our abstraction layer. It's not completely working yet, though. Output here: http://fpaste.org/4jfm/ The code I run is here, btw: http://fpaste.org/iBAT/ http://fpaste.org/NPpY/ http://fpaste.org/4MwJ/ The 'USE_TTOS' define is /not/ defined. I ran with --internal, so the signal handler in the code pasted above is the one which is run. With USE_TTOS defined, the results are worse. -- 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
