Summary: | Crash in _dbus_connection_last_unref | ||
---|---|---|---|
Product: | dbus | Reporter: | Reinout van Schouwen <reinouts> |
Component: | core | Assignee: | Havoc Pennington <hp> |
Status: | RESOLVED NOTOURBUG | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | critical | ||
Priority: | high | Keywords: | NEEDINFO |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
URL: | http://bugzilla.gnome.org/show_bug.cgi?id=339941 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Reinout van Schouwen
2007-01-19 14:11:26 UTC
critical There are two failed assertions that appear in those bug reports on b.g.o: #8 0xb737eaf0 in _dbus_real_assert (condition=0, condition_text=0xb73925e0 "!_dbus_transport_get_is_connected (connection->transport)", file=0xb7391799 "dbus-connection.c", line=1797, func=0xb7392587 "_dbus_connection_last_unref") at dbus-internals.c:477 #9 0xb7351d2b in _dbus_connection_last_unref (connection=0x8209950) and: #8 0x45c429e7 in _dbus_real_assert (condition=0, condition_text=0x45c53198 "connection->server_guid == NULL", file=0x45c529d8 "dbus-connection.c", line=1798, func=0x45c54c0d "_dbus_connection_last_unref") at dbus-internals.c:477 #9 0x45c1d8f0 in _dbus_connection_last_unref (connection=0x81fff88 with latest dbus and correct use of the dbus API (see API docs on dbus_connection_unref / dbus_connection_open / dbus_bus_get) I don't think this is a dbus issue. With older dbus this could be triggered by correct application code, but I don't think so anymore. In any case, will need to know the dbus version and see the epiphany code. The code in question is here: http://svn.gnome.org/viewcvs/epiphany/trunk/src/ephy-dbus.c?rev=6862&view=markup It's using dbus_g_bus_get/dbus_g_connection_unref; we don't close the connection anymore. The trace has "ephy_dbus_disconnect_bus" which I don't see in the current code? Any news on the dbus version this happens with? Before this commit, Epiphany was closing shared bus connections, which isn't allowed. libdbus diagnoses this as a programming error with a fatal-by-default warning. 2006-10-18 Wouter Bolsterlee <wbolster {at} gnome.org> * src/ephy-dbus.c: (ephy_dbus_shutdown): Don't try to close shared dbus connections. This avoids dbus warnings on quit. Fixes bug 358007. Since r6651, it's been correct. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.