Bug#755053: Exits (status 0) regularly
retitle 755053 nscd crashes frequently
thanks
Some more information after some debugging: nscd isn't exiting, it's
crashing. According to the kernel:
Jul 21 11:25:11 oxylus kernel: nscd[12517]: segfault at 10 ip 0000000000404835 sp 00007fffbac00230 error 6 in nscd[400000+1d000]
The instruction pointer and error code are always the same; the stack pointer varies.
Less regularly there is a different message, again with the same ip and
error, different sp:
Jul 18 16:01:00 oxylus kernel: traps: nscd[2063] general protection ip:410fe4 sp:7f43b80131e0 error:0 in nscd[400000+1d000]
The core files produced by the crash vary:
-rw------- 1 root staff 450560 Jul 21 11:25 core.1405938311.nscd.12517
-rw------- 1 root staff 450560 Jul 21 11:25 core.1405938311.nscd.12509
-rw------- 1 root staff 450560 Jul 21 11:25 core.1405938311.nscd.12502
-rw------- 1 root staff 450560 Jul 21 11:25 core.1405938311.nscd.12490
-rw------- 1 root staff 450560 Jul 18 16:01 core.1405695660.nscd.2090
-rw------- 1 root staff 450560 Jul 18 16:01 core.1405695660.nscd.2077
-rw------- 1 root staff 15196160 Jul 18 16:01 core.1405695660.nscd.2057
-rw------- 1 root staff 450560 Jul 18 16:01 core.1405695660.nscd.2047
-rw------- 1 root staff 15241216 Jul 18 16:01 core.1405695660.nscd.941
-rw------- 1 root staff 450560 Jul 18 15:57 core.1405695423.nscd.931
-rw------- 1 root staff 450560 Jul 18 15:57 core.1405695423.nscd.919
-rw------- 1 root staff 450560 Jul 18 15:57 core.1405695423.nscd.910
-rw------- 1 root staff 15376384 Jul 18 15:57 core.1405695423.nscd.6875
-rw------- 1 root staff 450560 Jul 18 14:00 core.1405688417.nscd.6867
-rw------- 1 root staff 450560 Jul 18 14:00 core.1405688417.nscd.6855
-rw------- 1 root staff 450560 Jul 18 14:00 core.1405688416.nscd.6847
-rw------- 1 root staff 450560 Jul 18 14:00 core.1405688416.nscd.6837
-rw------- 1 root staff 17481728 Jul 18 14:00 core.1405688416.nscd.11188
-rw------- 1 root staff 15196160 Jul 18 10:08 core.1405674489.nscd.11166
-rw------- 1 root staff 49029120 Jul 18 10:08 core.1405674489.nscd.12591
-rw------- 1 root staff 450560 Jul 17 16:57 core.1405612661.nscd.12584
-rw------- 1 root staff 450560 Jul 17 16:57 core.1405612661.nscd.12576
-rw------- 1 root staff 450560 Jul 17 16:57 core.1405612661.nscd.12569
-rw------- 1 root staff 450560 Jul 17 16:57 core.1405612661.nscd.12560
-rw------- 1 root staff 15196160 Jul 17 16:57 core.1405612660.nscd.12329
-rw------- 1 root staff 450560 Jul 17 16:57 core.1405612641.nscd.12322
-rw------- 1 root staff 450560 Jul 17 16:57 core.1405612641.nscd.12315
-rw------- 1 root staff 446464 Jul 17 16:51 core.1405612269.nscd.10456
-rw------- 1 root staff 446464 Jul 17 16:51 core.1405612269.nscd.10449
-rw------- 1 root staff 446464 Jul 17 16:51 core.1405612269.nscd.10442
-rw------- 1 root staff 446464 Jul 17 16:51 core.1405612269.nscd.10432
-rw------- 1 root staff 446464 Jul 17 16:49 core.1405612163.nscd.9976
-rw------- 1 root staff 446464 Jul 17 16:49 core.1405612162.nscd.9969
-rw------- 1 root staff 446464 Jul 17 16:49 core.1405612149.nscd.9873
-rw------- 1 root staff 446464 Jul 17 16:49 core.1405612149.nscd.9866
-rw------- 1 root staff 446464 Jul 17 16:49 core.1405612149.nscd.9859
-rw------- 1 root staff 446464 Jul 17 16:49 core.1405612148.nscd.9848
The larger core files are from the general protection faults; the
smaller ones are from the segfaults. Sadly neither seem too useful:
$ gdb --silent -c /var/local/core/core.1405938311.nscd.12517
[New LWP 12517]
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffbadac000
Core was generated by `/usr/sbin/nscd'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000404835 in ?? ()
warning: not using untrusted file ".gdbinit"
(gdb) bt
#0 0x0000000000404835 in ?? ()
#1 0x0000000000000021 in ?? ()
#2 0x00007fdaec2a65c0 in ?? ()
#3 0x0000000000000001 in ?? ()
#4 0x0000000000000000 in ?? ()
$ gdb --silent -c /var/local/core/core.1405695660.nscd.2057
[New LWP 2063]
[New LWP 2057]
[New LWP 2062]
[New LWP 2059]
[New LWP 2060]
[New LWP 2061]
[New LWP 2064]
[New LWP 2058]
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff621fe000
Core was generated by `/usr/sbin/nscd'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000410fe4 in ?? ()
warning: not using untrusted file ".gdbinit"
(gdb) bt
#0 0x0000000000410fe4 in ?? ()
#1 0x00007f43b8013778 in ?? ()
#2 0x00007f43b80137f0 in ?? ()
#3 0x00007f43b8013710 in ?? ()
#4 0x0000000053c936ac in ?? ()
#5 0x000073756c79786f in ?? ()
#6 0x0000000000000000 in ?? ()
--
Sam Morris <https://robots.org.uk/>
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
Reply to: