Date: Sun, 12 Nov 2006 13:49:11 +0100 (CET) From: Christoph Moench-Tegeder <cmt@burggraben.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/105436: graphics/libgphoto2: closes wrong dbus connection, leads to applications crashing Message-ID: <20061112124911.B864E849A@elch.haidundneu23.net> Resent-Message-ID: <200611121250.kACCoLTd058972@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061112124911.B864E849A>