Hi,
> Maybe we should have a place where users could upload their cores ;)
770 core dumps from asserts cannot be debugged because C-library abort()
function in 770 has "noreturn" attribute and it's compiled without
frame-pointer. Same thing with the Glib asserts (which call abort()).
> I mkdir'ed /media/mmc1/core-dumps and now have a core file
> from the last crash. Question: what can I do with it?
>
> gdb on the 770 doesn't appear to be very useful:
>
> /media/mmc1/core-dumps $ gdb maemo_af_desktop core.959
> ...
> warning: core file may not match specified executable file.
> Core was generated by /usr/bin/maemo_af_desktop'.
> Program terminated with signal 6, Aborted.
> Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
You need to:
- re-compile C-library with additional -g -fno-omit-frame-pointer
compiler options and install it on to the device unstripped (you can
strip other debug sections than .debug_frame if the library is too large)
- do same for Glib
- reproduce the crash
Then Gdb works a bit better.
- Eero
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers