I receive unexpected SIGSEGV at trying to start dbus-ping-send from examples.<br><br>dbus-ping-send.c is attached.<br><br>system slackware-12.0<br><br>bash-3.1# gdb ./dbus-ping-send<br>GNU gdb 6.6<br>Copyright (C) 2006 Free Software Foundation, Inc.
<br>GDB is free software, covered by the GNU General Public License, and you are<br>welcome to change it and/or distribute copies of it under certain conditions.<br>Type "show copying" to see the conditions.<br>
There is absolutely no warranty for GDB. Type "show warranty" for details.<br>This GDB was configured as "i486-slackware-linux"...<br>Using host libthread_db library "/lib/libthread_db.so.1".
<br>(gdb) break send_ping<br>Breakpoint 1 at 0x80487c7: file dbus-ping-send.c, line 44.<br>(gdb) run<br>Starting program: /root/projects.izum/dbus.ping/dbus-ping-send <br><br>Breakpoint 1, send_ping (bus=0x804b6e8) at dbus-ping-send.c
:44<br>44 message = dbus_message_new_signal ("/com/burtonini/dbus/ping",<br>(gdb) next<br>47 dbus_message_append_args (message,<br>(gdb) <br><br>Program received signal SIGSEGV, Segmentation fault.
<br>0xb7cec253 in strlen () from /lib/libc.so.6<br>(gdb) bt<br>#0 0xb7cec253 in strlen () from /lib/libc.so.6<br>#1 0xb7eb2751 in ?? () from /usr/lib/libdbus-1.so.3<br>#2 0x676e6950 in ?? ()<br>#3 0x00000061 in ?? ()<br>
#4 0x0000006c in ?? ()<br>#5 0xbfe8d398 in ?? ()<br>#6 0xb7dbbff4 in ?? () from /lib/libc.so.6<br>#7 0xb7dbd120 in ?? () from /lib/libc.so.6<br>#8 0x0000000c in ?? ()<br>#9 0xb7eb3a3c in ?? () from /usr/lib/libdbus-
1.so.3<br>#10 0xb7ce7b7e in malloc () from /lib/libc.so.6<br>#11 0xb7e9f4cc in ?? () from /usr/lib/libdbus-1.so.3<br>#12 0x0804bb50 in ?? ()<br>#13 0x00000000 in ?? ()<br>(gdb) quit<br>The program is running. Exit anyway? (y or n) y
<br>bash-3.1#<br><br><br>Log of runing under valgrind is attached also<br>