Bug#809685: lvm2 on sparc64 = bus error

Anatoly Pugachev matorola at gmail.com
Sat Jan 2 20:58:21 UTC 2016


Package: lvm2
Version: 2.02.138-1
Severity: important

Dear Maintainer,


   * What led up to the situation?

installed sid/unstable to sparc64 LDOM, any commands from lvm2 give "bus error":

root at deb2g:~# lvm vgs
Bus error
root at deb2g:~# lvm pvs
Bus error
root at deb2g:~# lvm lvs
Bus error

   * What exactly did you do (or not do) that was effective (or
     ineffective)?


I have to recompile lvm2 debian package with debug info, to provide a
more useful bug report:

$ export DEB_BUILD_OPTIONS="debug nostrip noopt"
$ fakeroot apt-get source -b lvm2
$ dpkg -i *.deb

set ulimit -c to unlimited and generated core dump:

root at deb2g:~# lvm lvs
Bus error (core dumped)

root at deb2g:~/lvm2-2.02.138/lib# gdb -c ~/core lvm
GNU gdb (Debian 7.10-1) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from lvm...done.
[New LWP 49239]
BFD: /usr/lib/debug/.build-id/4d/44c0a548a67dd7e04cca0de97c0484075b1f26.debug:
unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/4d/44c0a548a67dd7e04cca0de97c0484075b1f26.debug:
unable to initialize decompress status for section .debug_aranges

warning: File "/usr/lib/debug/.build-id/4d/44c0a548a67dd7e04cca0de97c0484075b1f26.debug"
has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/3e/3e3a164f7512b8b3b9928318ec5c82273f6bc5.debug:
unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/3e/3e3a164f7512b8b3b9928318ec5c82273f6bc5.debug:
unable to initialize decompress status for section .debug_aranges

warning: File "/usr/lib/debug/.build-id/3e/3e3a164f7512b8b3b9928318ec5c82273f6bc5.debug"
has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/7c/c7de128525bd40eb138195d0a5497bafa265e5.debug:
unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/7c/c7de128525bd40eb138195d0a5497bafa265e5.debug:
unable to initialize decompress status for section .debug_aranges

warning: File "/usr/lib/debug/.build-id/7c/c7de128525bd40eb138195d0a5497bafa265e5.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/8d/42f401d8a2edf007e528345360f24bb4765b77.debug:
unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/8d/42f401d8a2edf007e528345360f24bb4765b77.debug:
unable to initialize decompress status for section .debug_aranges

warning: File "/usr/lib/debug/.build-id/8d/42f401d8a2edf007e528345360f24bb4765b77.debug"
has no build-id, file skipped
BFD: /usr/lib/debug/.build-id/a5/a9e43ad4150d898711c1e541aeae3effb7fd6c.debug:
unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/a5/a9e43ad4150d898711c1e541aeae3effb7fd6c.debug:
unable to initialize decompress status for section .debug_aranges

warning: File "/usr/lib/debug/.build-id/a5/a9e43ad4150d898711c1e541aeae3effb7fd6c.debug"
has no build-id, file skipped
Core was generated by `lvm lvs'.
Program terminated with signal SIGUSR1, User defined signal 1.
#0  0x000001000015740c in calc_crc (initial=0, buf=0x10000345a0a
"a|.*/|", size=6) at misc/crc.c:69
69                      crc = crc ^ xlate32(*start++);
(gdb) bt
#0  0x000001000015740c in calc_crc (initial=0, buf=0x10000345a0a
"a|.*/|", size=6) at misc/crc.c:69
#1  0x0000010000199f20 in lvmetad_set_token (filter=0x100003459e8) at
cache/lvmetad.c:190
#2  0x00000100000a126c in _init_lvmetad (cmd=0x10000335000) at
commands/toolcontext.c:1686
#3  0x00000100000a1410 in init_connections (cmd=0x10000335000) at
commands/toolcontext.c:1718
#4  0x0000010000053868 in lvm_run_command (cmd=0x10000335000, argc=0,
argv=0x7feffafbca8) at lvmcmdline.c:1564
#5  0x00000100000564e0 in lvm2_main (argc=1, argv=0x7feffafbca0) at
lvmcmdline.c:2121
#6  0x0000010000087d80 in main (argc=2, argv=0x7feffafbc98) at lvm.c:22
(gdb)



-- 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 lvm2 depends on:
ii  dmeventd                  2:1.02.114-1
ii  dmsetup                   2:1.02.114-1
ii  init-system-helpers       1.24
ii  initscripts               2.88dsf-59.2
ii  libc6                     2.21-6
ii  libdevmapper-event1.02.1  2:1.02.114-1
ii  libdevmapper1.02.1        2:1.02.114-1
ii  liblvm2app2.2             2.02.138-1
ii  libreadline5              5.2+dfsg-3+b1
ii  libudev1                  228-2
ii  lsb-base                  9.20150917

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  thin-provisioning-tools  <none>

-- no debconf information
root at deb2g:~#



More information about the pkg-lvm-maintainers mailing list