Bug 582761 - hal-disable-polling crashes with none existing device
Summary: hal-disable-polling crashes with none existing device
Keywords:
Status: CLOSED DUPLICATE of bug 554886
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-15 18:35 UTC by Thomas Meyer
Modified: 2010-07-13 16:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-13 16:42:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Thomas Meyer 2010-04-15 18:35:44 UTC
Description of problem:
$ sudo hal-disable-polling --device /dev/abc
*** buffer overflow detected ***: hal-disable-polling terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f85888845c7]
/lib64/libc.so.6(+0xf55e0)[0x7f85888825e0]
/lib64/libc.so.6(+0xf5c3b)[0x7f8588882c3b]
hal-disable-polling[0x40148b]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f85887abb1d]
hal-disable-polling[0x400e49]
======= Memory map: ========
00400000-00403000 r-xp 00000000 fd:01 8856448                            /usr/bin/hal-disable-polling
00602000-00603000 rw-p 00002000 fd:01 8856448                            /usr/bin/hal-disable-polling
0156b000-0158c000 rw-p 00000000 00:00 0                                  [heap]
7f8587f4e000-7f8587f64000 r-xp 00000000 fd:01 11395244                   /lib64/libgcc_s-4.4.3-20100127.so.1
7f8587f64000-7f8588163000 ---p 00016000 fd:01 11395244                   /lib64/libgcc_s-4.4.3-20100127.so.1
7f8588163000-7f8588164000 rw-p 00015000 fd:01 11395244                   /lib64/libgcc_s-4.4.3-20100127.so.1
7f8588164000-7f8588168000 r-xp 00000000 fd:01 11395135                   /lib64/libcap-ng.so.0.0.0
7f8588168000-7f8588367000 ---p 00004000 fd:01 11395135                   /lib64/libcap-ng.so.0.0.0
7f8588367000-7f8588368000 r--p 00003000 fd:01 11395135                   /lib64/libcap-ng.so.0.0.0
7f8588368000-7f8588369000 rw-p 00004000 fd:01 11395135                   /lib64/libcap-ng.so.0.0.0
7f8588369000-7f8588370000 r-xp 00000000 fd:01 11395363                   /lib64/librt-2.11.1.so
7f8588370000-7f858856f000 ---p 00007000 fd:01 11395363                   /lib64/librt-2.11.1.so
7f858856f000-7f8588570000 r--p 00006000 fd:01 11395363                   /lib64/librt-2.11.1.so
7f8588570000-7f8588571000 rw-p 00007000 fd:01 11395363                   /lib64/librt-2.11.1.so
7f8588571000-7f8588588000 r-xp 00000000 fd:01 11395353                   /lib64/libpthread-2.11.1.so
7f8588588000-7f8588787000 ---p 00017000 fd:01 11395353                   /lib64/libpthread-2.11.1.so
7f8588787000-7f8588788000 r--p 00016000 fd:01 11395353                   /lib64/libpthread-2.11.1.so
7f8588788000-7f8588789000 rw-p 00017000 fd:01 11395353                   /lib64/libpthread-2.11.1.so
7f8588789000-7f858878d000 rw-p 00000000 00:00 0 
7f858878d000-7f85888fc000 r-xp 00000000 fd:01 11395149                   /lib64/libc-2.11.1.so
7f85888fc000-7f8588afc000 ---p 0016f000 fd:01 11395149                   /lib64/libc-2.11.1.so
7f8588afc000-7f8588b00000 r--p 0016f000 fd:01 11395149                   /lib64/libc-2.11.1.so
7f8588b00000-7f8588b01000 rw-p 00173000 fd:01 11395149                   /lib64/libc-2.11.1.so
7f8588b01000-7f8588b06000 rw-p 00000000 00:00 0 
7f8588b06000-7f8588b45000 r-xp 00000000 fd:01 11395277                   /lib64/libdbus-1.so.3.4.0
7f8588b45000-7f8588d45000 ---p 0003f000 fd:01 11395277                   /lib64/libdbus-1.so.3.4.0
7f8588d45000-7f8588d46000 r--p 0003f000 fd:01 11395277                   /lib64/libdbus-1.so.3.4.0
7f8588d46000-7f8588d47000 rw-p 00040000 fd:01 11395277                   /lib64/libdbus-1.so.3.4.0
7f8588d47000-7f8588d57000 r-xp 00000000 fd:01 8857065                    /usr/lib64/libhal.so.1.0.0
7f8588d57000-7f8588f56000 ---p 00010000 fd:01 8857065                    /usr/lib64/libhal.so.1.0.0
7f8588f56000-7f8588f57000 rw-p 0000f000 fd:01 8857065                    /usr/lib64/libhal.so.1.0.0
7f8588f57000-7f858903b000 r-xp 00000000 fd:01 11395254                   /lib64/libglib-2.0.so.0.2200.5
7f858903b000-7f858923b000 ---p 000e4000 fd:01 11395254                   /lib64/libglib-2.0.so.0.2200.5
7f858923b000-7f858923c000 rw-p 000e4000 fd:01 11395254                   /lib64/libglib-2.0.so.0.2200.5
7f858923c000-7f858923d000 rw-p 00000000 00:00 0 
7f858923d000-7f858925b000 r-xp 00000000 fd:01 11395077                   /lib64/ld-2.11.1.so
7f8589437000-7f858943c000 rw-p 00000000 00:00 0 
7f8589459000-7f858945a000 rw-p 00000000 00:00 0 
7f858945a000-7f858945b000 r--p 0001d000 fd:01 11395077                   /lib64/ld-2.11.1.so
7f858945b000-7f858945c000 rw-p 0001e000 fd:01 11395077                   /lib64/ld-2.11.1.so
7f858945c000-7f858945d000 rw-p 00000000 00:00 0 
7fffedb0a000-7fffedb1f000 rw-p 00000000 00:00 0                          [stack]
7fffedbff000-7fffedc00000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Abgebrochen (Speicherabzug geschrieben)


Version-Release number of selected component (if applicable):
$ yum info hal
Loaded plugins: dellsysidplugin2, presto, refresh-packagekit
Installed Packages
Name       : hal
Arch       : x86_64
Version    : 0.5.14
Release    : 1.fc12
Size       : 1.2 M
Repo       : installed
From repo  : updates-testing
Summary    : Hardware Abstraction Layer
URL        : http://www.freedesktop.org/Software/hal
License    : AFL or GPLv2
Description: HAL is daemon for collection and maintaining information from several
           : sources about the hardware on the system.


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Paul Jenner 2010-07-03 22:21:36 UTC
Duplicate of bug #554886 - at least I get a duplicate crash in ABRT on F13 when I try:

hal-disable-polling --device /dev/abc
hal-disable-polling --device /dev/cdrom

Comment 2 Jan Vcelak 2010-07-13 16:42:21 UTC

*** This bug has been marked as a duplicate of bug 554886 ***


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