[Pkg-sysvinit-devel] Bug#737375: bootlogd: Segfaults during boot on Hurd booting using sysvinit

Petter Reinholdtsen pere at hungry.com
Sun Feb 2 08:49:11 UTC 2014


Package: bootlogd
Version: 2.88dsf-46
User: debian-hurd at lists.debian.org
Usertags: hurd

When booting hurd after installing the experimental version of sysvinit
and running "update-alternatives --config runsystem" to enable sysvinit
on Hurd, I noticed a segfault in the early boot.  Investigating further,
I found the cause - bootlogd.  This is the crash when running the same
command after boot within gdb:


(gdb) run -c -l /run/bootlog
Starting program: /sbin/bootlogd -c -l /run/bootlog
[New Thread 932.5]

Program received signal SIGSEGV, Segmentation fault.
0x010e7409 in __mempcpy (dstpp=dstpp at entry=0x102942c, srcpp=0x0, len=len at entry=4) at mempcpy.c:62
62      mempcpy.c: No such file or directory.
(gdb) bt
#0  0x010e7409 in __mempcpy (dstpp=dstpp at entry=0x102942c, srcpp=0x0, len=len at entry=4) at mempcpy.c:62
#1  0x011528f1 in in (count=<optimized out>, type=IOC_32) at ../sysdeps/mach/hurd/ioctl.c:125
#2  0x01152af4 in send_rpc (ioport=103) at ../sysdeps/mach/hurd/ioctl.c:137
#3  0x010827a5 in _hurd_ctty_output (port=port at entry=103, ctty=ctty at entry=141, 
    rpc=rpc at entry=0x10294c4) at ctty-output.c:52
#4  0x0115305b in __ioctl (fd=0) at ../sysdeps/mach/hurd/ioctl.c:271
#5  0x08049152 in ?? ()
#6  0x01085188 in __libc_start_main (main=0x8048f40, argc=4, ubp_av=0x1029df4, init=0x804a1e0, 
    fini=0x804a250, rtld_fini=0xffe0 <_dl_fini>, stack_end=0x1029dec) at libc-start.c:307
#7  0x08049663 in ?? ()
(gdb)


-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list