Debian Bug report logs - #442327
hal: segfaults after a USB drive is connected.

version graph

Package: hal; Maintainer for hal is Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>; Source for hal is src:hal (PTS, buildd, popcon).

Reported by: Jason White <jason@jasonjgw.net>

Date: Sat, 15 Sep 2007 09:27:02 UTC

Severity: normal

Found in version hal/0.5.9.1-4

Fixed in version hal/0.5.10-4

Done: Sjoerd Simons <sjoerd@luon.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Sjoerd Simons <sjoerd@debian.org>:
Bug#442327; Package hal. (full text, mbox, link).


Acknowledgement sent to Jason White <jason@jasonjgw.net>:
New Bug report received and forwarded. Copy sent to Sjoerd Simons <sjoerd@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jason White <jason@jasonjgw.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: hal: segfaults after a USB drive is connected.
Date: Sat, 15 Sep 2007 19:25:39 +1000
Package: hal
Version: 0.5.9.1-4
Severity: normal

When I added a USB drive to the system, Hald segfaulted (see the kernel logs
exerpted below). Since I don't access USB drives under X or Gnome, this bug
has no real impact on me; I am simply reporting it as a service to the
community.

Sep 15 12:49:25 jdc kernel: usb 5-5.2: new high speed USB device using ehci_hcd and address 6
Sep 15 12:49:25 jdc kernel: usb 5-5.2: configuration #1 chosen from 1 choice
Sep 15 12:49:26 jdc kernel: Initializing USB Mass Storage driver...
Sep 15 12:49:26 jdc kernel: scsi7 : SCSI emulation for USB Mass Storage devices
Sep 15 12:49:26 jdc kernel: usb-storage: device found at 6
Sep 15 12:49:26 jdc kernel: usb-storage: waiting for device to settle before scanning
Sep 15 12:49:26 jdc kernel: usbcore: registered new interface driver usb-storage
Sep 15 12:49:26 jdc kernel: USB Mass Storage support registered.
Sep 15 12:49:26 jdc kernel: hald[3777]: segfault at 00002ad1f8756000 rip 000000000040e650 rsp 00007fffb23e7be0 error 4
Sep 15 12:49:31 jdc kernel: usb-storage: device scan complete
Sep 15 12:49:32 jdc kernel: scsi 7:0:0:0: Direct-Access     USB-HS   WDC WD1600BB-00R 0.01 PQ: 0 ANSI: 0
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Write Protect is off
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Mode Sense: 0b 00 00 08
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write through
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Write Protect is off
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Mode Sense: 0b 00 00 08
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write through
Sep 15 12:49:32 jdc kernel: sdb: sdb1
Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Attached SCSI disk


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser                       3.105      add and remove users and groups
ii  dbus                          1.1.1-3    simple interprocess messaging syst
ii  hal-info                      20070618-1 Hardware Abstraction Layer - fdi f
ii  libc6                         2.6.1-4    GNU C Library: Shared libraries
ii  libdbus-1-3                   1.1.1-3    simple interprocess messaging syst
ii  libdbus-glib-1-2              0.74-1     simple interprocess messaging syst
ii  libexpat1                     1.95.8-4   XML parsing C library - runtime li
ii  libgcc1                       1:4.2.1-5  GCC support library
ii  libglib2.0-0                  2.14.0-2   The GLib library of C routines
ii  libhal-storage1               0.5.9.1-4  Hardware Abstraction Layer - share
ii  libhal1                       0.5.9.1-4  Hardware Abstraction Layer - share
ii  libsmbios1                    0.13.10-1  Provide access to (SM)BIOS informa
ii  libstdc++6                    4.2.1-5    The GNU Standard C++ Library v3
ii  libusb-0.1-4                  2:0.1.12-7 userspace USB programming library
ii  libvolume-id0                 0.114-2    libvolume_id shared library
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip
ii  pciutils                      1:2.2.4-1  Linux PCI Utilities
ii  udev                          0.114-2    /dev/ and hotplug management daemo
ii  usbutils                      0.72-9     Linux USB utilities

Versions of packages hal recommends:
ii  eject                         2.1.5-5    ejects CDs and operates CD-Changer

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Sjoerd Simons <sjoerd@debian.org>:
Bug#442327; Package hal. (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Sjoerd Simons <sjoerd@debian.org>. (full text, mbox, link).


Message #10 received at 442327@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Jason White <jason@jasonjgw.net>, 442327@bugs.debian.org
Subject: Re: Bug#442327: hal: segfaults after a USB drive is connected.
Date: Thu, 15 Nov 2007 01:49:13 +0100
[Message part 1 (text/plain, inline)]
Jason White schrieb:
> Package: hal
> Version: 0.5.9.1-4
> Severity: normal
> 
> When I added a USB drive to the system, Hald segfaulted (see the kernel logs
> exerpted below). Since I don't access USB drives under X or Gnome, this bug
> has no real impact on me; I am simply reporting it as a service to the
> community.
> 
> Sep 15 12:49:25 jdc kernel: usb 5-5.2: new high speed USB device using ehci_hcd and address 6
> Sep 15 12:49:25 jdc kernel: usb 5-5.2: configuration #1 chosen from 1 choice
> Sep 15 12:49:26 jdc kernel: Initializing USB Mass Storage driver...
> Sep 15 12:49:26 jdc kernel: scsi7 : SCSI emulation for USB Mass Storage devices
> Sep 15 12:49:26 jdc kernel: usb-storage: device found at 6
> Sep 15 12:49:26 jdc kernel: usb-storage: waiting for device to settle before scanning
> Sep 15 12:49:26 jdc kernel: usbcore: registered new interface driver usb-storage
> Sep 15 12:49:26 jdc kernel: USB Mass Storage support registered.
> Sep 15 12:49:26 jdc kernel: hald[3777]: segfault at 00002ad1f8756000 rip 000000000040e650 rsp 00007fffb23e7be0 error 4
> Sep 15 12:49:31 jdc kernel: usb-storage: device scan complete
> Sep 15 12:49:32 jdc kernel: scsi 7:0:0:0: Direct-Access     USB-HS   WDC WD1600BB-00R 0.01 PQ: 0 ANSI: 0
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Write Protect is off
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Mode Sense: 0b 00 00 08
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write through
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] 312581808 512-byte hardware sectors (160042 MB)
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Write Protect is off
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Mode Sense: 0b 00 00 08
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Assuming drive cache: write through
> Sep 15 12:49:32 jdc kernel: sdb: sdb1
> Sep 15 12:49:32 jdc kernel: sd 7:0:0:0: [sdb] Attached SCSI disk
> 
> 

Maybe a broken partition table or file system on the usb drive.
Could you examine the partition table (e.g. with cfdisk) and if
necessary repartition/reformat the drive?

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Sjoerd Simons <sjoerd@debian.org>:
Bug#442327; Package hal. (full text, mbox, link).


Acknowledgement sent to Sjoerd Simons <sjoerd@luon.net>:
Extra info received and forwarded to list. Copy sent to Sjoerd Simons <sjoerd@debian.org>. (full text, mbox, link).


Message #15 received at 442327@bugs.debian.org (full text, mbox, reply):

From: Sjoerd Simons <sjoerd@luon.net>
To: Jason White <jason@jasonjgw.net>, 442327@bugs.debian.org
Subject: Re: Bug#442327: hal: segfaults after a USB drive is connected.
Date: Sat, 8 Dec 2007 06:30:29 +0100
On Sat, Sep 15, 2007 at 07:25:39PM +1000, Jason White wrote:
> Package: hal
> Version: 0.5.9.1-4
> Severity: normal
> 
> When I added a USB drive to the system, Hald segfaulted (see the kernel logs
> exerpted below). Since I don't access USB drives under X or Gnome, this bug
> has no real impact on me; I am simply reporting it as a service to the
> community.

As a service to the community: Could you check if this still happens with
recent versions of the hal package? Also if it does please run with
hal --daemon=no --verbose=yes and mail the output of that.

  Sjoerd
-- 
All hope abandon, ye who enter here!
		-- Dante Alighieri




Information forwarded to debian-bugs-dist@lists.debian.org, Sjoerd Simons <sjoerd@debian.org>:
Bug#442327; Package hal. (full text, mbox, link).


Acknowledgement sent to Jason White <jason@jasonjgw.net>:
Extra info received and forwarded to list. Copy sent to Sjoerd Simons <sjoerd@debian.org>. (full text, mbox, link).


Message #20 received at 442327@bugs.debian.org (full text, mbox, reply):

From: Jason White <jason@jasonjgw.net>
To: Sjoerd Simons <sjoerd@luon.net>
Cc: 442327@bugs.debian.org
Subject: Re: Bug#442327: hal: segfaults after a USB drive is connected.
Date: Sun, 9 Dec 2007 10:11:12 +1100
On Sat, Dec 08, 2007 at 06:30:29AM +0100, Sjoerd Simons wrote:
 
> As a service to the community: Could you check if this still happens with
> recent versions of the hal package? Also if it does please run with
> hal --daemon=no --verbose=yes and mail the output of that.

I will have an opportunity to do this in the next week or two when I set aside
time to make another backup.

At that point I'll send you the results, and I will also follow the earlier
suggestion and check the partition table of the drive.




Information forwarded to debian-bugs-dist@lists.debian.org, Sjoerd Simons <sjoerd@debian.org>:
Bug#442327; Package hal. (full text, mbox, link).


Acknowledgement sent to Jason White <jason@jasonjgw.net>:
Extra info received and forwarded to list. Copy sent to Sjoerd Simons <sjoerd@debian.org>. (full text, mbox, link).


Message #25 received at 442327@bugs.debian.org (full text, mbox, reply):

From: Jason White <jason@jasonjgw.net>
To: Sjoerd Simons <sjoerd@luon.net>
Cc: 442327@bugs.debian.org
Subject: Re: Bug#442327: hal: segfaults after a USB drive is connected.
Date: Tue, 11 Dec 2007 19:23:34 +1100
On Sat, Dec 08, 2007 at 06:30:29AM +0100, Sjoerd Simons wrote:
 
> As a service to the community: Could you check if this still happens with
> recent versions of the hal package? 

With hal 0.5.10-4, if I connect the drive to a USB port, hald does not
segfault anymore.

Let's close the bug for now. If it happens again I'll let you know.

Regards,

Jason.




Reply sent to Sjoerd Simons <sjoerd@luon.net>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Jason White <jason@jasonjgw.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #30 received at 442327-done@bugs.debian.org (full text, mbox, reply):

From: Sjoerd Simons <sjoerd@luon.net>
To: Jason White <jason@jasonjgw.net>
Cc: 442327-done@bugs.debian.org
Subject: Re: Bug#442327: hal: segfaults after a USB drive is connected.
Date: Tue, 11 Dec 2007 10:20:16 +0100
Package: hal
Version: 0.5.10

On Tue, Dec 11, 2007 at 07:23:34PM +1100, Jason White wrote:
> On Sat, Dec 08, 2007 at 06:30:29AM +0100, Sjoerd Simons wrote:
>  
> > As a service to the community: Could you check if this still happens with
> > recent versions of the hal package? 
> 
> With hal 0.5.10-4, if I connect the drive to a USB port, hald does not
> segfault anymore.
> 
> Let's close the bug for now. If it happens again I'll let you know.

Closing. Thanks for the feedback!

  Sjoerd
-- 
Kleeneness is next to Godelness.




No longer marked as fixed in versions 0.5.10. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 02 Nov 2013 15:57:52 GMT) (full text, mbox, link).


Marked as fixed in versions hal/0.5.10-4. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 02 Nov 2013 15:57:53 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 01 Dec 2013 07:31:34 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 23:41:36 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.