Bug 157220 - lshal (sys-apps/hal-0.5.7.1-r2) misuses sys-apps/dbus-1.0.1-r2
Bug#: 157220 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gentopia@gentoo.org Reported By: remi@gentoo.org
Component: Unspecified
URL: 
Summary: lshal (sys-apps/hal-0.5.7.1-r2) misuses sys-apps/dbus-1.0.1-r2
Keywords:  
Status Whiteboard: 
Opened: 2006-12-05 06:02 0000
Description:   Opened: 2006-12-05 06:02 0000
lshal works but crashes at the end when closing the dbus connection :

This was done on a ~x86 box.

--------[snip]-------
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:12.2'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.bus = 'pci'  (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:12.2'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:12.2'  (string)


Dumped 68 device(s) from the Global Device List.
------------------------------------------------

process 18189: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.
  D-Bus not built with -rdynamic so unable to print a backtrace
Abandon

------- Comment #1 From Doug Goldstein 2006-12-05 20:45:57 0000 -------
*** Bug 157245 has been marked as a duplicate of this bug. ***

------- Comment #2 From Steev Klimaszewski 2006-12-06 10:18:42 0000 -------
I have a patch, but it needs to be re-worked for 0.5.7.1

------- Comment #3 From Jakub Moc (RETIRED) 2006-12-21 06:36:53 0000 -------
*** Bug 158729 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2007-01-07 17:42:38 0000 -------
*** Bug 160741 has been marked as a duplicate of this bug. ***

------- Comment #5 From Ian Kumlien 2007-01-16 22:44:03 0000 -------
I posted two patches on: http://bugs.gentoo.org/show_bug.cgi?id=160741

That i have built on amd64 and x86 with hal-0.5.7-r3

One cleans up some 64 bit issues, see the link above.

------- Comment #6 From Peter Volkov 2007-02-12 15:24:55 0000 -------
Created an attachment (id=109956) [details]
hal-0.5.7.1-fixdbus.patch

Took patch from mandriva linux. Applies cleanly and works here. In mandriva
this bug was reported as: http://qa.mandriva.com/show_bug.cgi?id=26974

------- Comment #7 From Doug Goldstein 2007-02-13 03:56:41 0000 -------
Fixed in -r5.