Summary: | obexd 0.29 can't start because of an assert in DBus-Glib is triggered. | ||
---|---|---|---|
Product: | dbus | Reporter: | Zhu Yanhai <yanhai.zhu> |
Component: | GLib | Assignee: | Rob Taylor <rob.taylor> |
Status: | RESOLVED DUPLICATE | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | blocker | ||
Priority: | medium | ||
Version: | 1.2.x | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
See Also: | http://bugs.meego.com/show_bug.cgi?id=5408 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Remove a wrong assertion. |
Description
Zhu Yanhai
2010-08-18 23:30:42 UTC
Please be very careful when removing assertions: presumably someone added them for a reason. By checking that the data is NULL, I think connection_setup_add_watch is essentially checking that the watch hasn't already been added? Because io_handler_destroy_source removes the GSource, it might be OK to "migrate" a DBusWatch from one GSource to another, which I think is what will happen here if the assertion is removed... or it might not be OK, I can't tell immediately. Perhaps it's appropriate to remove the assertion, or perhaps connection_setup_add_watch should do nothing and just return if the watch already has an IOHandler, or perhaps the assertion failure indicates a bug elsewhere in dbus-glib and/or the application: the mere fact that the assertion failed doesn't particularly imply any of these. |
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.