Bugzilla – Bug 113167
hald-subfs-mount references NULL pointer at boot up
Last modified: 2007-06-05 11:04:22 UTC
Every bootup I get hald-subfs-moun[12113]: segfault at 0000000000000000 rip 00002aaaaaf47570 rsp 00007fffffdb06e8 error 4 in the kernel log.
I couldn't reproduce this with ix86 and also not with a x86_64 Laptop. So please add in /etc/init.d/haldaemon to HALDAEMON_PARA --verbose=yes. Please restart the machine and send me the boot log.
on rchal restart it just says Shutting down HAL daemon done Starting HAL daemon01:41:17.174 [I] hald.c:494: hal 0.5.4 01:41:17.176 [I] hald.c:496: Will daemonize 01:41:17.177 [I] hald.c:506: Becoming a daemon done and then the program crashes again: hald-subfs-moun[6505]: segfault at 0000000000000000 rip 00002aaaaaf47570 rsp 000 07fffff871288 error 4 These are the syscalls around the crash (full log available on request) 6601 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 6601 write(2, "01:42:03.018 [I] hald_dbus.c:296"..., 215) = 215 6601 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 6601 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 6601 write(2, "01:42:03.018 [D] hald_dbus.c:119"..., 109) = 109 6601 writev(12, [{"l\2\1\1\0\0\0\0\n\0\0\0\10\0\0\0\5\1u\0\n\0\0\0", 24}, {"", 0}], 2 <unfinished ...> 6628 <... poll resumed> [{fd=4, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 6601 <... writev resumed> ) = 24 6628 read(4, <unfinished ...> 6601 poll( <unfinished ...> 6628 <... read resumed> "l\2\1\1\0\0\0\0\n\0\0\0\10\0\0\0\5\1u\0\n\0\0\0", 2048) = 24 6628 read(4, 0x507df0, 2048) = -1 EAGAIN (Resource temporarily unavailable) 6628 write(2, "6628: arguments to dbus_error_is"..., 188) = 188 6628 writev(4, [{"l\1\0\1,\0\0\0\v\0\0\0\250\0\0\0\1\1o\0-\0\0\0/org/fre"..., 184}, {"\23\0\0\0storage.mount_point\0\17\0\0\0/med"..., 44}], 2) = 228 6601 <... poll resumed> [{fd=5, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=11, events=POLLI N}, {fd=7, events=POLLIN}, {fd=12, events=POLLIN, revents=POLLIN}], 7, 9950) = 1 6628 poll( <unfinished ...> 6601 read(12, "l\1\0\1,\0\0\0\v\0\0\0\250\0\0\0\1\1o\0-\0\0\0/org/fre"..., 2048) = 228 6601 read(12, 0x54db20, 2048) = -1 EAGAIN (Resource temporarily unavailable) 6601 poll([{fd=5, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=11, events=POLLIN}, {fd=7, eve nts=POLLIN}, {fd=12, events=POLLIN}], 7, 0) = 0 6601 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 6601 write(2, "01:42:03.019 [I] hald_dbus.c:296"..., 214) = 214 6601 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 6601 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=837, ...}) = 0 6601 write(2, "01:42:03.020 [D] hald_dbus.c:119"..., 110) = 110 6601 writev(12, [{"l\2\1\1\0\0\0\0\v\0\0\0\10\0\0\0\5\1u\0\v\0\0\0", 24}, {"", 0}], 2 <unfinished ...> 6628 <... poll resumed> [{fd=4, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 6601 <... writev resumed> ) = 24 6628 read(4, <unfinished ...> 6601 poll( <unfinished ...> 6628 <... read resumed> "l\2\1\1\0\0\0\0\v\0\0\0\10\0\0\0\5\1u\0\v\0\0\0", 2048) = 24 6628 read(4, 0x507df0, 2048) = -1 EAGAIN (Resource temporarily unavailable) 6628 write(2, "6628: arguments to dbus_error_is"..., 188) = 188 6628 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 6601 <... poll resumed> [{fd=5, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}, {fd=11, events=POLLI N}, {fd=7, events=POLLIN}, {fd=12, events=POLLIN, revents=POLLIN|POLLHUP}], 7, 9948) = 1 6601 --- SIGCHLD (Child exited) @ 0 (0) --- 6601 rt_sigreturn(0x11) = 1 6601 wait4(6606, 0x7fffffe67794, WNOHANG, NULL) = 0 6601 wait4(6624, 0x7fffffe67794, WNOHANG, NULL) = 0 6601 wait4(6628, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], WNOHANG, NULL) = 6628
please attach full strace log (please with -fqrv -s 1024) and also boot.msg/ messages (with verbose hal). Thanks.
Created attachment 47830 [details] probably more information than you wanted.
BTW your debuginfo is broken too. I tried to run gdb on hald-subfs-mount, but the debuginfo for that executable was conveniently missing in the debuginfo rpm.
fixed for next beta. Thanks for the strace and the logs. If you want test: svn checkout svn+ssh://anonymous@forgesvn1.novell.com/svn/halmount/trunk/hal- helper When prompted for the password, enter "anonymous". you only need to do: 'make'