Bug#812928: udev: cdrom_id terminated by signal BUS

Anatoly Pugachev matorola at gmail.com
Wed Jan 27 22:33:32 GMT 2016


Package: udev
Version: 228-4
Severity: minor
Tags: sparc64
X-Debbugs-Cc: debian-sparc at lists.debian.org


cdrom_id from udev package dies with "Bus error"

runs as following (upon mounting cdrom):

Jan 24 19:51:45 ristkon systemd-udevd[443]: Process 'cdrom_id --lock-media /dev/sr0' terminated by signal BUS.

manually run from shell:

mator at deb4g:~$ sudo /lib/udev/cdrom_id -l /dev/vdiskb
Bus error

recompilling with debug info (from git):

mator at deb4g:~/systemd/src/udev/cdrom_id$ gdb -c core ./cdrom_id -l /dev/vdiskb
GNU gdb (Debian 7.10-1+b1) 7.10
Reading symbols from ./cdrom_id...done.
[New LWP 95672]
BFD: /usr/lib/debug/.build-id/b0/2fcd8d81fb0edf7ef519ca096cf5ad33cecb8b.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/b0/2fcd8d81fb0edf7ef519ca096cf5ad33cecb8b.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/b0/2fcd8d81fb0edf7ef519ca096cf5ad33cecb8b.debug" has no build-id, file skipped
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1".
BFD: /usr/lib/debug/.build-id/27/97a1230a6c622a2d0362aace029b5fda6c3474.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/27/97a1230a6c622a2d0362aace029b5fda6c3474.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/27/97a1230a6c622a2d0362aace029b5fda6c3474.debug" has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/10/2220230fb152bed171674ffb66092972cf0276.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/10/2220230fb152bed171674ffb66092972cf0276.debug: unable to initialize decompress status for section .debug_aranges
warning: File "/usr/lib/debug/.build-id/10/2220230fb152bed171674ffb66092972cf0276.debug" has no build-id, file skipped
Core was generated by `./cdrom_id --lock-media /dev/vdiskb'.
Program terminated with signal SIGUSR1, User defined signal 1.
#0  0x000001000001b9b8 in initialize_srand () at src/basic/random-util.c:107
107                     x ^= *(unsigned*) auxv;
(gdb) bt
#0  0x000001000001b9b8 in initialize_srand () at src/basic/random-util.c:107
#1  0x000001000000e2c0 in main (argc=3, argv=0x7feffcab728) at src/udev/cdrom_id/cdrom_id.c:916
(gdb) quit


if I comment out initialize_srand() from src/udev/cdrom_id/cdrom_id.c:916, and
recompile, there's no bus error on cdrom_id run.


-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: sparc64

Kernel: Linux 4.3.0-1-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages udev depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.58
ii  dpkg                   1.18.4
ii  libacl1                2.2.52-2
ii  libblkid1              2.27.1-1
ii  libc6                  2.21-7
ii  libkmod2               22-1
ii  libselinux1            2.4-3
ii  libudev1               228-4
ii  lsb-base               9.20160110
ii  procps                 2:3.3.11-3
ii  util-linux             2.27.1-1

udev recommends no packages.

udev suggests no packages.

Versions of packages udev is related to:
ii  systemd  228-4

-- debconf information:
  udev/title/upgrade:
  udev/new_kernel_needed: false
  udev/sysfs_deprecated_incompatibility:
  udev/reboot_needed:




More information about the Pkg-systemd-maintainers mailing list