[Bug 387202] New: nscd keeps crashing in mem.c
https://bugzilla.novell.com/show_bug.cgi?id=387202 Summary: nscd keeps crashing in mem.c Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mmarek@novell.com QAContact: qa@suse.de Found By: --- Hi, on my machine, nscd always crashes with an assertion after some time: 25033: handle_request: request received (Version = 2) from PID 25253 25033: GETFDPW 25033: provide access to FD 5, for passwd 25033: Reloading "0" in password cache! 25033: Reloading "10020" in password cache! 25033: remove GETPWBYNAME entry "mmarek" 25033: remove GETPWBYUID entry "10020" nscd: mem.c:399: gc: Assertion `next_hash == &he[db->head->nentries]' failed. or 25991: handle_request: request received (Version = 2) from PID 26107 25991: GETPWBYNAME (nobody) 25991: Haven't found "nobody" in password cache! 25991: Reloading "mmarek" in password cache! 25991: remove GETPWBYNAME entry "mmarek" 25991: remove GETPWBYUID entry "10020" nscd: mem.c:392: gc: Assertion `off_alloc == off_allocend' failed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c1
--- Comment #1 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=387202
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c4
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c5
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c6
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=387202
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c8
--- Comment #8 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c9
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c10
--- Comment #10 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c11
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
Marton Balint
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c12
Jon Nelson
From /var/log/nscd.log (enabled by hand):
17429: pruning services cache; time 1216524649 17429: considering GETSERVBYPORT entry "`nɑ/tcp", timeout 1216552141 17429: considering GETSERVBYPORT entry " 372^K211e^?/tcp", timeout 1216552130 17429: considering GETSERVBYPORT entry "@/خ/tcp", timeout 1216551996 17429: considering GETSERVBYPORT entry " 272L?354^?/tcp", timeout 1216552070 17429: considering GETSERVBYPORT entry " 332f8343^?/tcp", timeout 1216552142 17429: considering GETSERVBYPORT entry " 252372rU^?/tcp", timeout 1216551945 17429: considering GETSERVBYPORT entry " e5301/tcp", timeout 1216552050 17429: considering GETSERVBYPORT entry "0214247^A/tcp", timeout 1216552119 17429: considering GETSERVBYPORT entry " 312Q=i^?/tcp", timeout 1216552080 17429: considering GETSERVBYPORT entry " ^ZQ356^C^?/tcp", timeout 1216552070 17429: considering GETSERVBYNAME entry "netbios-ns/tcp", timeout 1216552463 17429: considering GETSERVBYNAME entry "bootps/udp", timeout 1216552463 17429: considering GETSERVBYPORT entry "", timeout 1216551905 17429: considering GETSERVBYPORT entry "220u=O/tcp", timeout 1216552098 17429: considering GETSERVBYPORT entry " 272237303^?^?/tcp", timeout 1216552087 17429: considering GETSERVBYPORT entry " 352317/,^?/tcp", timeout 1216552080 17429: considering GETSERVBYPORT entry " :_^^352^?/tcp", timeout 1216551945 17429: considering GETSERVBYNAME entry "ipp/udp", timeout 1216552463 17429: considering GETSERVBYPORT entry "260316317^K/tcp", timeout 1216552087 17429: considering GETSERVBYPORT entry "`fIESC/tcp", timeout 1216552113 17429: considering GETSERVBYPORT entry "@@347^X/tcp", timeout 1216552391 17429: considering GETSERVBYPORT entry "320315301313/tcp", timeout 1216552087 17429: considering GETSERVBYPORT entry "321^B", timeout 1216551905 17429: considering GETSERVBYPORT entry "pVK261/tcp", timeout 1216552050 17429: considering GETSERVBYPORT entry "^P!365(/tcp", timeout 1216552391 17429: considering GETSERVBYPORT entry " *323 247^?/tcp", timeout 1216552391 17429: considering GETSERVBYPORT entry " 212kb267^?/tcp", timeout 1216551934 17429: considering GETSERVBYNAME entry "netbios-ssn/tcp", timeout 1216552463 17429: considering GETSERVBYPORT entry "^Pr^E240/tcp", timeout 1216552130 17429: considering GETSERVBYPORT entry "@322^FH/tcp", timeout 1216552097 17429: considering GETSERVBYPORT entry " ʧuI^?/tcp", timeout 1216552113 17429: considering GETSERVBYPORT entry " 272255^CM^?/tcp", timeout 1216552087 17429: considering GETSERVBYPORT entry " ʻ205367^?/tcp", timeout 1216551905 .. and then it dies a little bit later. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=387202
User james.faulkner@yale.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c13
--- Comment #13 from James Faulkner
https://bugzilla.novell.com/show_bug.cgi?id=387202
User james.faulkner@yale.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c14
--- Comment #14 from James Faulkner
https://bugzilla.novell.com/show_bug.cgi?id=387202
User james.faulkner@yale.edu added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c15
--- Comment #15 from James Faulkner
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jpschewe@mtu.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c16
--- Comment #16 from Jon Schewe
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jpschewe@mtu.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c17
--- Comment #17 from Jon Schewe
https://bugzilla.novell.com/show_bug.cgi?id=387202
User schuetzm@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c18
Marc Schütz
Which debuginfo packages would include the appropriate symbols to be able to get function names from the errors of nscd shown above?
glibc-debuginfo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jpschewe@mtu.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c19
--- Comment #19 from Jon Schewe
https://bugzilla.novell.com/show_bug.cgi?id=387202
User kuenne@rentec.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c20
Karsten Kuenne
https://bugzilla.novell.com/show_bug.cgi?id=387202
User fedev@gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c21
Federico Vecchiarelli
https://bugzilla.novell.com/show_bug.cgi?id=387202
User syseng@adnovum.ch added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c22
Bernd Nies
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c23
--- Comment #23 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User grok@tnt.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c24
Jaroslaw Zachwieja
https://bugzilla.novell.com/show_bug.cgi?id=387202
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User admin@fph.physik.uni-karlsruhe.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c25
Achim Mildenberger
https://bugzilla.novell.com/show_bug.cgi?id=387202
User syseng@adnovum.ch added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c26
--- Comment #26 from Bernd Nies
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c27
--- Comment #27 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c28
--- Comment #28 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User admin@fph.physik.uni-karlsruhe.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c29
--- Comment #29 from Achim Mildenberger
https://bugzilla.novell.com/show_bug.cgi?id=387202
User grok@warwick.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c30
--- Comment #30 from Jaroslaw Zachwieja
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c31
--- Comment #31 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c32
--- Comment #32 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c33
--- Comment #33 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c34
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c35
--- Comment #35 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c44
--- Comment #44 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c45
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c46
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c47
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c48
--- Comment #48 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c49
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c50
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User walter.haidinger@gmx.at added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c51
Walter Haidinger
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c52
--- Comment #52 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User admin@fph.physik.uni-karlsruhe.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c53
--- Comment #53 from Achim Mildenberger
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c54
--- Comment #54 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User walter.haidinger@gmx.at added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c55
--- Comment #55 from Walter Haidinger
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c56
--- Comment #56 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User walter.haidinger@gmx.at added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c57
--- Comment #57 from Walter Haidinger
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c58
--- Comment #58 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User walter.haidinger@gmx.at added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c59
--- Comment #59 from Walter Haidinger
https://bugzilla.novell.com/show_bug.cgi?id=387202
User x_pedro_x@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c60
--- Comment #60 from Pedro Oliveira
https://bugzilla.novell.com/show_bug.cgi?id=387202
User x_pedro_x@hotmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c61
--- Comment #61 from Pedro Oliveira
https://bugzilla.novell.com/show_bug.cgi?id=387202
User e.kunig@home.nl added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c62
--- Comment #62 from Egbert König
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c63
--- Comment #63 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c64
Swamp Script User
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c65
--- Comment #65 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c66
--- Comment #66 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c67
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c68
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c69
--- Comment #69 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c70
--- Comment #70 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c71
--- Comment #71 from Bob Vickers
If nscd still crashes for you, please:
(i) Set persistent to 0 for all databases in your /etc/nscd.conf (ii) /etc/init.d/nscd stop and run ulimit -c unlimited; nscd -d (iii) When nscd crashes, please post a core here, compress it if it is larger than 1M or so. (iv) Also post your /etc/nsswitch.conf with the core.
Without this information, I cannot fix any crashes; nscd on 11.0 crashed only once for me so far after this fix, and I don't have quite enough data to debug it yet, it seems.
Thanks!
I managed to get another crash, and will attach the requested info. nscd is version 2.8-14.2, running on SuSE 11.0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User R.Vickers@cs.rhul.ac.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c72
--- Comment #72 from Bob Vickers
https://bugzilla.novell.com/show_bug.cgi?id=387202
User syseng@adnovum.ch added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c73
--- Comment #73 from Bernd Nies
https://bugzilla.novell.com/show_bug.cgi?id=387202
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c74
--- Comment #74 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c75
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c76
--- Comment #76 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c77
--- Comment #77 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c80
Swamp Script User
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c81
--- Comment #81 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c82
--- Comment #82 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c83
--- Comment #83 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c84
--- Comment #84 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=387202
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c85
Swamp Script User
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c86
--- Comment #86 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c87
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c88
--- Comment #88 from Carlos Robinson
Carlos, can you please follow the reporting guidelines I outlined in comment 66? Thank you.
Let me see...
(i) Set persistent to 0 for all databases in your /etc/nscd.conf
Huh? I have:
nimrodel:~ # grep -i persistent /etc/nscd.conf
# persistent <service>
(ii) /etc/init.d/nscd stop and run ulimit -c unlimited; nscd -d
Done. I now have in the startup script this: case "$1" in start) echo -n "Starting Name Service Cache Daemon" #/sbin/startproc -p $NSCD_PID $NSCD_BIN # Bug 387202#c66 ulimit -c unlimited /sbin/startproc -p $NSCD_PID $NSCD_BIN -d rc_status -v ;; If this is not adequate, please tell me how I change the script - it has to be that way, I have a watchdog restarting the daemon automatically. [...] No, it is not adequate, status says "unused". Undoing the "-d" till you expand the instructions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User bernet@physik.unizh.ch added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c89
Roland Bernet
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c90
--- Comment #90 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c91
--- Comment #91 from Carlos Robinson
Roland, Carlos please keep the ulimit -c unlimited; nscd -d running in a terminal, and be sure, that rcnscd is not running.
Well, I have done just that, but I still need clarification on "persistent" configuration, as per #88 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c92
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c93
--- Comment #93 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c94
--- Comment #94 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c95
--- Comment #95 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c96
--- Comment #96 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c97
--- Comment #97 from Hans-Peter Jansen
Well, as I see no comments on how to produce that core file, and it keeps crashing, I'm restarting the "normal" service with automatic watchdog restarting the service, instead of "nscd -d" in a terminal. I will not comment further unless I get feedback to the contrary, I see no point.
You truely have a point here, Carlos. FWIW, your crashes nicely sum up, what I see very sporadic here. Petr, I really wonder, why you don't provide the nscd debug packages (see #77). Otherwise, similar to Carlos, I see no point in running nscd via gdb... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c98
--- Comment #98 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=387202
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c99
Swamp Script User
https://bugzilla.novell.com/show_bug.cgi?id=387202
Swamp Script User
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c100
--- Comment #100 from Carlos Robinson
The debuginfo packages are right there where Petr said in comment #77. Maybe you are confused that there's no nscd-debug{info,source}? That's because debug packages don't exist for subpacks (and nscd is one of glibc), you need to install glibc-debuginfo (-debugsource).
Well, if you want me to install something in order to produce the coredump, tell me what exactly do I install.
Also, Carlos: you didn't yet follow the guidelines of comment #66. You still use persistent databases. Yes, the comment talks about setting it to "0". Of course instead you should use "no" for all databases you have in nscd.conf. See nscd.conf(5).
No, I didn't, I said in #88 and #91 that I needed clarification. I still do. Do you mean I should use: persistent whatever no
But indeed, more logs are not necessary I think, we see the assertions that cause nscd to exit. core file would be a bit more usefull. They aren't placed into the current pwd, but into the working dir of nscd, which usually is '/' (nscd chdir's into that one as daemon). You probably have some lying around there.
One of the crashes was not an assertion but a segfault. No, there is no core on /. I can run an "updatedb; locate corewhatever", but I need to know the exact name to search for, because it yields up of 5713 entries. Or alternatively, an exact "find" command to find it. As far as I can see, there is no core in: / /tmp /var/run/nscd /root/Bugzilla/Bug_387202 <-- pwd where I run "nscd -d" /root /home/cer Note: the "nscd -d" command runs on an xterm where I did "su -" to root, in order to keep an eye on it. The xterm is under gnome. I remember some mention years ago of X blocking coredumps. But somebody here said he managed to produce coredumps with a code dividing by zero, so it must be nscd which impedes them :-? Suggestion: search for all assertions in the code and replace/add logger calls. In my programming days, an assertion was the last resource to use, and never in production code. It was used instead of proper code to find an unexpected situation, never as error handling code. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c101
--- Comment #101 from Hans-Peter Jansen
The debuginfo packages are right there where Petr said in comment #77. Maybe you are confused that there's no nscd-debug{info,source}?
Yes.
That's because debug packages don't exist for subpacks (and nscd is one of glibc), you need to install glibc-debuginfo (-debugsource).
Done that already. As noted before, it would be MUCH easier for every tester, if Petr would provide a zypp compatible repo structure over there: Then people could add the repo target, update and install additional packages.
But indeed, more logs are not necessary I think, we see the assertions that cause nscd to exit. core file would be a bit more usefull. They aren't placed into the current pwd, but into the working dir of nscd, which usually is '/' (nscd chdir's into that one as daemon). You probably have some lying around there.
I got a nscd segfault (a few days ago) too, assertions also, but no core:
for f in $(locate core | egrep '\
/proc/kcore lrwxrwxrwx 1 root root 11 25. Dez 14:30 /lib/udev/devices/core -> /proc/kcore -rw-r--r-- 1 root root 213 3. Dez 08:26 /var/adm/perl-modules/yast2-core
For whatever reason, something prevents the kernel from creating a nscd core file. Since two people see this behavior, I bet you won't see ANY cores from somebody as long as you cannot tell us how! Read: try to simulate an assertion or segfault with nscd, and get it to produce one. I bet again, that this fails also. Now find the reason, tell us, and we're back into the game. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User bernet@physik.unizh.ch added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c102
--- Comment #102 from Roland Bernet
https://bugzilla.novell.com/show_bug.cgi?id=387202
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c103
--- Comment #103 from Michael Matz
Read: try to simulate an assertion or segfault with nscd, and get it to produce one.
Easy: % ulimit -c unlimited % nscd -d & [1] 28280 % kill -SEGV $! [1]+ Segmentation fault (core dumped) nscd -d % pwd; ls -l core.28280 / -rw------- 1 root root 42344448 2009-02-06 15:10 core.28280 without debug: % nscd % pidof nscd 28304 % kill -SEGV $(pidof nscd) % ls -l core.28304 -rw------- 1 root root 42344448 2009-02-06 15:12 core.28304 % file core.28280 core.28304 core.28280: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from 'nscd -d' core.28304: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from 'nscd' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c104
--- Comment #104 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=387202
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c105
--- Comment #105 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c106
--- Comment #106 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=387202
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c107
--- Comment #107 from Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=387202
User jnelson-suse@jamponi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c108
--- Comment #108 from Jon Nelson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c109
--- Comment #109 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=387202
User bernet@physik.unizh.ch added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c110
--- Comment #110 from Roland Bernet
https://bugzilla.novell.com/show_bug.cgi?id=387202
User hpj@urpla.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c111
--- Comment #111 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=387202
User harbaugh@ncifcrf.gov added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c114
Toni Harbaugh-Blackford
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c115
Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c116
--- Comment #116 from Carlos Robinson
Removing bogus NEEDINFO; there are some new crashes to look at, but I'm decreasing priority and severity since they seem to happen much more rarely.
It crashes several times per day here - see some of my last watchdog entries - I have seen it crash four times in an hour: Mar 21 03:35:02 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 21 06:45:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 21 14:20:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 21 16:40:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 21 17:55:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 21 22:55:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 22 04:45:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 22 06:40:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 22 12:45:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 22 13:20:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 22 14:45:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 22 17:05:02 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 22 20:45:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 22 22:45:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 00:05:02 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 03:20:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 03:25:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 03:30:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 03:35:02 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 03:45:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 05:45:02 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 13:50:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 23 23:05:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd Mar 24 02:20:01 nimrodel watchdog: nscd is not running, restarting. -- Bugzilla 387202; see root's crontab to disable this wd You should clear all asserts from the C code: they are not logged to syslog, only to console. Not all crashes are segfaults - see the kernel log for the same period: Mar 21 03:34:27 nimrodel kernel: nscd[3461]: segfault at bffe0178 ip b7e8e32e sp afe1d034 error 6 in libc-2.8.so[b7e20000+13d000] Mar 21 22:51:12 nimrodel kernel: nscd[19438]: segfault at b8000012 ip b7f66825 sp addbee6c error 4 in nscd[b7f56000+1c000] Mar 22 06:37:28 nimrodel kernel: nscd[31545]: segfault at bfffe44c ip b7fe4822 sp ade3ceec error 4 in nscd[b7fd4000+1c000] Mar 22 20:41:34 nimrodel kernel: nscd[10540]: segfault at bfff66bc ip b80bc825 sp adf14f5c error 4 in nscd[b80ac000+1c000] Mar 23 03:19:59 nimrodel kernel: nscd[17683]: segfault at fff1518c ip b7e42450 sp ade070b8 error 4 in libc-2.8.so[b7dd5000+13d000] cer@nimrodel:~> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c117
--- Comment #117 from Petr Baudis
https://bugzilla.novell.com/show_bug.cgi?id=387202
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c118
--- Comment #118 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=387202
User pbaudis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387202#c119
--- Comment #119 from Petr Baudis
participants (1)
-
bugzilla_noreply@novell.com