Bug 218062 - lshal: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
Summary: lshal: Applications must not close shared connections - see dbus_connection_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Zeuthen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-01 16:56 UTC by pigetak178
Modified: 2013-03-06 03:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-17 22:01:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description pigetak178 2006-12-01 16:56:55 UTC
Description of problem:

lshal emits error message:

lshal >/dev/null
process 29945: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.

Version-Release number of selected component (if applicable):

hal-0.5.8.1-5.fc6

How reproducible:

Steps to Reproduce:
1. lshal >/dev/null
2.
3.
  
Actual results:

process 18206: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.


Expected results:


Additional info:

Comment 1 Matt Wette 2006-12-24 03:18:09 UTC
I am getting the same error.  I believe this message started showing
up recently with the release of new dbus RPMs

# rpm -qa | grep dbus
dbus-x11-1.0.1-8.fc6
dbus-python-0.70-6
dbus-1.0.1-8.fc6
dbus-devel-1.0.1-8.fc6
dbus-glib-devel-0.70-6.fc6
dbus-glib-0.70-6.fc6

# rpm -qa | grep hal
hal-gnome-0.5.8.1-5.fc6
hal-0.5.8.1-5.fc6
hal-devel-0.5.8.1-5.fc6
hal-cups-utils-0.6.2-4.2


Comment 2 Tethys 2007-01-02 20:36:30 UTC
Yep, and it's not just lshal, either:

leto:~% hal-device >/dev/null
process 8567: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.

leto:~% rpm -q hal dbus
hal-0.5.8.1-5.fc6
dbus-1.0.1-8.fc6

Comment 3 Adam Pribyl 2007-01-16 19:54:39 UTC
Same here. x86_64 platform.

Comment 4 Patrice Dumas 2007-02-06 22:56:22 UTC
It is certainly because lshal tries to close a shared dbus connection, 
like a connection to the SYSTEM bus. It is clearly forbidden here:

http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#ge130c33da29477897d362ab89f068191

I hadn't a look at the hal code, though.

Comment 5 Marek Mahut 2007-02-17 14:09:41 UTC
Same issue for me: 

hal-0.5.8.1-6.fc6
dbus-1.0.1-9.fc6

on different hw.


Comment 6 Patrice Dumas 2007-03-07 10:16:45 UTC
This seems to be fixed now in devel
hal-0.5.9-0.git20070218.fc7

Comment 7 Chris Rivas 2007-05-01 13:13:35 UTC
I had the same problem with hal-0.5.8.1-6.fc6 and dbus-1.0.1-9.fc6.

This was fixed in hal upstream 2006-10-23.

dbus_connection_close(conn) was removed in one place in both lshal.c and
hal-device.c.

Afaik this still is not patched in FC6, although there have been 2 updates to
hal in FC6 since upstream fixed this.  

Comment 8 Patrice Dumas 2008-01-17 22:01:53 UTC
Closing since this seems to be fixed in f7 and fc6 isn't 
supported anymore.


Note You need to log in before you can comment on or make changes to this bug.