[compiz] dbusSendChangeSignalForOption crash

David Reveman davidr at novell.com
Tue Dec 12 10:14:31 PST 2006


On Tue, 2006-12-12 at 09:31 +0000, Mike Dransfield wrote:
> I seem to be having problems with the latest dbus code.
> Here is a backtrace.  This is happening at startup.
> 
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 47449612229888 (LWP 28353)]
> 0x00002b27b87991c0 in strlen () from /lib/libc.so.6
> (gdb) bt
> #0  0x00002b27b87991c0 in strlen () from /lib/libc.so.6
> #1  0x00002aaaac1b0657 in dbus_watch_handle () from /usr/lib/libdbus-1.so.3
> #2  0x00002aaaac197cc1 in dbus_set_error () from /usr/lib/libdbus-1.so.3
> #3  0x00002aaaac19d6f1 in dbus_message_iter_append_basic () from
> /usr/lib/libdbus-1.so.3
> #4  0x00002aaaac19ded9 in dbus_message_append_args_valist () from
> /usr/lib/libdbus-1.so.3
> #5  0x00002aaaac19e265 in dbus_message_append_args () from
> /usr/lib/libdbus-1.so.3
> #6  0x00002aaaac9fb565 in dbusAppendOptionValue (d=0x8,
> message=0x6714d0, type=7368532, value=0x6702f0) at dbus.c:673
> #7  0x00002aaaac9fc0b3 in dbusSendChangeSignalForOption (d=0x52a260,
> type=CompOptionTypeAction, value=0x6702f0,
>     path=0x706f54 <Address 0x706f54 out of bounds>) at dbus.c:975
> #8  0x00002aaaac9fc137 in dbusSendChangeSignalForDisplayOption
> (d=0x52a260, o=0x6702d0, plugin=0x2aaaac1ca8c7 "dbus-marshal-basic.c")
> at dbus.c:994
> #9  0x00002aaaac9fc37a in dbusSetDisplayOptionForPlugin (d=0x52a260,
> plugin=0x6704f0 "switcher", name=0x675801 "next", value=0x4) at dbus.c:1066
> #10 0x00002aaaaad15f52 in gconfGetOptionValue (d=0x52a260, key=0x8
> <Address 0x8 out of bounds>) at gconf.c:637
> #11 0x00002aaaaad1618c in gconfInitOption (d=0x52a260, o=0x2aaaac1ca8ed,
> screen=0x2aaaac1ca8c7 "dbus-marshal-basic.c",
>     plugin=0x706f54 <Address 0x706f54 out of bounds>) at gconf.c:777
> #12 0x00002aaaaad16665 in gconfInitPluginForDisplay (p=0x671620,
> d=0x52a260) at gconf.c:930
> #13 0x00000000004221de in pushPlugin (p=0x671620) at plugin.c:239
> #14 0x000000000040a432 in eventLoop () at display.c:1405
> #15 0x00000000004089a8 in main (argc=4, argv=0x7ffff37638d8) at main.c:242

I'm not sure why it's crashing, I can't see anything wrong with the code
that could be causing this. However, while looking at that code I found
a few memory leaks and as part of fixing those I rewrote the code that
seemed to be causing your problem and I think it's working better now.

-David



More information about the compiz mailing list