Package: bonnie++
Version: 1.96
Severity: normal

zcav dies after running quite a while with a segfault:

root@db1:~# zcav -f /dev/sdd -c 3 > sdd.zcav
# Finished loop 1, on device /dev/sdd at 21:46:30
Segmentation fault

The file sdd.zcav is empty. This happened 3 times (seems to be reproducable). 
The device is a 300 GB hard disk connected to a hardware RAID controller 
(single disk "array").

I rebuilt the package with debugging symbols and got the following backtrace:

root@db1:~# gdb zcav core
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/zcav...(no debugging symbols found)...done.
[New Thread 20964]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `zcav -f /dev/sdd -c 3'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000403620 in ZcavRead::Read(int, int, int, int, int) ()
(gdb) thread apply all bt                     

Thread 2 (Thread 20964):
#0  0x00007f578d7e914d in read () from /lib/libpthread.so.0
#1  0x0000000000402980 in Thread::Read(void*, int, int) ()
#2  0x0000000000401a5f in MultiZcav::runit() ()
#3  0x0000000000402206 in main ()

Thread 1 (Thread 20965):
#0  0x0000000000403620 in ZcavRead::Read(int, int, int, int, int) ()
#1  0x000000000040163a in MultiZcav::action(void*) ()
#2  0x0000000000402c14 in thread_func(void*) ()
#3  0x00007f578d7e18ca in start_thread () from /lib/libpthread.so.0
#4  0x00007f578cd9c92d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()


-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (900, 'stable'), (100, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bonnie++ depends on:
ii  libc6                         2.11.3-3   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3

bonnie++ recommends no packages.

bonnie++ suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to