[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#663505: /sbin/start-stop-daemon: s-s-d segfaults on alpha when starting rrdcached

Package: dpkg
Severity: important
File: /sbin/start-stop-daemon

I'm not sure if this is s-s-d bug or eglibc one, here is gdb session:

a02:~# gdb --args start-stop-daemon --start --quiet --oknodo --pidfile /var/run/rrdcached.pid --exec /usr/bin/rrdcached -- -l unix:/var/run/rrdcached.sock -j /var/lib/rrdcached/journal/ -F -b /var/lib/rrdcached/db/ -B -p /var/run/rrdcached.pid
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 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 "alpha-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /sbin/start-stop-daemon...(no debugging symbols found)...done.
(gdb) r
Starting program: /sbin/start-stop-daemon --start --quiet --oknodo --pidfile /var/run/rrdcached.pid --exec /usr/bin/rrdcached -- -l unix:/var/run/rrdcached.sock -j /var/lib/rrdcached/journal/ -F -b /var/lib/rrdcached/db/ -B -p /var/run/rrdcached.pid
process 16599 is executing new program: /usr/bin/rrdcached
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/alpha-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../ports/sysdeps/alpha/strlen.S:45
45      ../ports/sysdeps/alpha/strlen.S: Nie ma takiego pliku ani katalogu.
(gdb) bt full
#0  strlen () at ../ports/sysdeps/alpha/strlen.S:45
No locals.
#1  0x000002000083bda0 in *__GI___strdup (s=0x0) at strdup.c:42
        len = <optimized out>
#2  0x0000000120004534 in ?? ()
No symbol table info available.
#3  0x0000000120002c64 in ?? ()
No symbol table info available.
#4  0x00000200007ca84c in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=0x12000ad40, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x11fdeb640) at libc-start.c:228
        self = 0x0
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {4831882560, 0, 4831970936, 0, 4831970936, 4831970936, -7573792870751129764, -7573795069782489268, 
                -7573795073543097844, 0, 0, 0, 0, 0, 0, 0, 0}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0}}}
#5  0x0000000120003e18 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I'm not sure, why this only happens rrdcached initscript.

I do not have valgrind available (as it is not available for alpha yet,
or anymore), so debuging is harder. I belive strlen problems was
discussed some time ago on debian-alpha mailing list.


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

Kernel: Linux 3.2.0-1-alpha-generic
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  coreutils    8.13-3
ii  libbz2-1.0   1.0.6-1
ii  libc6.1      2.13-26
ii  libselinux1  2.1.9-2
ii  xz-utils     5.1.1alpha+20110809-3
ii  zlib1g       1:1.2.6.dfsg-2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt

-- no debconf information

Reply to: