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

Bug#625474: freebsd-utils: kdump segfaults on unknown signals



Package: freebsd-utils
Version: 8.1-4

$ gcc -Wall test.c && ktrace ./a.out

$ kdump >/dev/null
Segmentation fault

$ gdb -batch -ex 'run >/dev/null' -ex bt kdump

Program received signal SIGSEGV, Segmentation fault.
0x280be942 in _IO_vfprintf_internal (s=0x281a6620, format=Cannot access memory at address 0x3
) at vfprintf.c:1614
1614    vfprintf.c: No such file or directory.
        in vfprintf.c
#0  0x280be942 in _IO_vfprintf_internal (s=0x281a6620, format=Cannot access memory at address 0x3
) at vfprintf.c:1614
#1  0x280c4fb0 in __printf (format=0x8053409 "SIG%s") at printf.c:35
#2  0x0804e6e3 in ?? ()
#3  0x0804b3f7 in ?? ()
#4  0x0804ca6c in ?? ()
#5  0x2809637b in __libc_start_main (main=0x804c590, argc=1, ubp_av=0xbfbfe844, init=0x8051290, fini=0x8051280, rtld_fini=0x28061500 <_dl_fini>, stack_end=0xbfbfe83c) at libc-start.c:257
#6  0x08048db1 in ?? ()


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.2-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages freebsd-utils depends on:
ii  libbsd0                       0.2.0-1    utility functions from BSD systems
ii  libc0.1                       2.11.2-13  Embedded GNU C Library: Shared lib
ii  libcam0                       8.1-5      FreeBSD CAM (Common Access Method)
ii  libgcc1                       1:4.6.0-5  GCC support library
ii  libgeom0                      8.1-5      FreeBSD GEOM library
ii  libkiconv4                    8.1-5      FreeBSD kernel side iconv library
ii  libkvm0                       8.1-5      FreeBSD kvm (kernel memory interfa
ii  libsbuf0                      8.1-5      FreeBSD string buffer library
ii  libstdc++6                    4.6.0-5    The GNU Standard C++ Library v3
ii  ufsutils                      7.3-1+b1   UFS filesystems utilities

--
Jakub Wilk
#include <signal.h>
int main(int argc, char **argv)
{
   signal(97, SIG_DFL);
   return 0;
}

Reply to: