ports/105436: graphics/libgphoto2: closes wrong dbus connection, leads to applications crashing
Christoph Moench-Tegeder
cmt at burggraben.net
Sun Nov 12 12:50:23 UTC 2006
>Number: 105436
>Category: ports
>Synopsis: graphics/libgphoto2: closes wrong dbus connection, leads to applications crashing
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 12 12:50:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Christoph Moench-Tegeder
>Release: FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD elch.haidundneu23.net 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2: Sat Oct 7 21:42:33 CEST 2006 cmt at elch.haidundneu23.net:/usr/obj/usr/src/sys/CMT i386
dbus-1.0.0 A message bus system for inter-application communication
dbus-glib-0.72 GLib bindings for the D-BUS messaging system
dbus-sharp-0.62_17 Mono interface to the D-BUS messaging system
f-spot-0.2.1_1,1 Personal photo management to the GNOME desktop
libgphoto2-2.2.1_1 A universal digital camera picture control tool
>Description:
libgphoto2 should not close the dbus connection in
libgphoto2_port/disk/disk.c as this connection is a shared connection.
Closing a shared connection causes an error from dbus, wich in turn
leads to crashing applications (her: f-spot).
See also: http://gphoto.svn.sourceforge.net/viewvc/gphoto/trunk/libgphoto2/libgphoto2_port/disk/disk.c?view=log#rev9150
>How-To-Repeat:
Start f-spot, go to File->Import and watch the error message.
>Fix:
Upstream should release a new version of libgphoto2. For the time
being, use the patch below:
--- libgphoto2_port/disk/disk.c.orig Sun Nov 12 13:17:21 2006
+++ libgphoto2_port/disk/disk.c Sun Nov 12 13:17:59 2006
@@ -175,7 +175,6 @@
libhal_free_string_array (volumes);
libhal_ctx_free (ctx);
- dbus_connection_disconnect (dbus_connection);
dbus_connection_unref (dbus_connection);
#else
# ifdef HAVE_MNTENT_H
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list