Summary: | Segfault in _dbus_connection_lock() | ||
---|---|---|---|
Product: | dbus | Reporter: | Nikolay Kovalenko <nkoval> |
Component: | core | Assignee: | Havoc Pennington <hp> |
Status: | RESOLVED NOTOURBUG | QA Contact: | John (J5) Palmieri <johnp> |
Severity: | normal | ||
Priority: | medium | CC: | name29 |
Version: | 1.3.x (devel) | Keywords: | NEEDINFO |
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | might really be #38005 | ||
i915 platform: | i915 features: |
Description
Nikolay Kovalenko
2010-06-01 01:22:29 UTC
Could not attached core dump to the report, place it here instead: http://www.onlinedisk.ru/file/447088/ Is this still reproducible with 1.4.12 (or a newer 1.4.x release if there is one by the time you re-test), or with 1.5.4 or later? This might have been caused by Bug #38005, for instance. May be in the first line ( _dbus_connection_lock (connection=0x0) ) pointer to connection invalid ? So _dbus_connection_lock crash if connection is NULL. I think that crash is not very good . Exit with error message or what ? I don't know how patch the code... (In reply to comment #0) > Our multi-threaded test application ... using DBus Best-practice: don't use multi-threading and libdbus. It's extremely error-prone, particularly in older versions. Crashes in multi-threaded applications might have been caused by Bug #43744 or Bug #38005; upgrading to dbus 1.6.0 or later is recommended. However... > #4 0x004e14c0 in timeout_handler_dispatch (data=0x8665340) at > dbus-gmain.c:343 ... that looks like dbus-glib. dbus-glib is not thread-safe and I don't think it has ever been safe to use it in multi-threaded applications. GDBus is a much better choice. |
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.