Bug#839037: warzone2100: D-Bug assertions when playing

Simon McVittie smcv at debian.org
Sun Mar 8 11:00:21 GMT 2020


On Wed, 28 Sep 2016 at 15:39:11 +1000, Russell Coker wrote:
> When I launch warzone2100 from a terminal session I see the following errors
> on stdout/stderr.
> 
> This is normally a bug in some application using the D-Bus library.
> process 28181: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../../dbus/dbus-connection.c line 2822.
> This is normally a bug in some application using the D-Bus library.
> process 28181: arguments to dbus_connection_unref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../../dbus/dbus-connection.c line 2822.

Probably something has called dbus_shutdown(), which is basically never
correct to do from a shared library or loadable module (because a shared
library cannot guarantee that some other shared library isn't still
using libdbus), and rarely correct to do at a time other than the end
of main(). If you put a debugger breakpoint on dbus_shutdown, it would
confirm whether that guess is correct, and if so, who is calling it.

    smcv



More information about the Pkg-games-devel mailing list