crash using dbus 0.62 glib binding
Xavier Claessens
xclaesse at gmail.com
Thu Jul 27 08:54:22 PDT 2006
On jeu, 2006-07-27 at 11:30 -0400, Havoc Pennington wrote:
> Xavier Claessens wrote:
> > 14375: arguments to dbus_connection_ref() were incorrect, assertion
> > "connection->generation == _dbus_current_generation" failed in file
> > dbus-connection.c line 1749.
> > This is normally a bug in some application using the D-BUS library.
> > Erreur de segmentation
>
> This should only happen if you dbus_shutdown() then use a connection
> from prior to the shutdown.
>
> The only other cause I can think of would be that the connection is
> already freed.
>
> What you're doing should work with latest dbus. It might not work very
> well with older ones, not sure about 0.62.
>
> If it doesn't work we would like to fix it.
>
> Havoc
I've got only one ref to the connection so I assume the _unref() make
the refcount fall to 0 and then the connection is freed. But it
shouldn't crash if I call dbus_g_bus_get again after that. I don't know
if the bug is still present in latest dbus, I'm waiting for it in ubuntu
edgy :)
Xavier Claessens.
More information about the dbus
mailing list