Segmentation fault with dbus

Havoc Pennington hp at redhat.com
Sat Aug 18 09:28:14 PDT 2007


Hi,

Run your program like:

 G_DEBUG=fatal_warnings gdb ./myprogram

Then when it crashes, type "bt" for a backtrace. This should give you
a good indication of what's wrong.

Be sure you compile with the "-g -Wall" flags, and be sure you have
debug symbols for glib, dbus, and dbus-glib installed; for example on
Fedora you would do "yum install glib2-debuginfo dbus-debuginfo
dbus-glib-debuginfo"

If you don't have symbols the backtrace may lack enough information.

Havoc


More information about the dbus mailing list