Bug 501766

Summary: [RHEL5] nscd crashes periodically
Product: Red Hat Enterprise Linux 5 Reporter: Orion Poplawski <orion>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: drepper, jakub
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-23 22:46:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2009-05-20 16:08:33 UTC
Description of problem:

nscd periodically crashes, every couple of days.  No messages anywhere.  I've built a version of nscd that changes its working directory to /var/db/nscd instead of / so that I am able to generate a core file.  Only collected a single core file so far, of not much use:

Core was generated by `/usr/sbin/nscd'.
Program terminated with signal 11, Segmentation fault.
[New process 16717]
[New process 16720]
[New process 16719]
[New process 16718]
[New process 16716]
#0  0x001bff36 in gc (db=0xffffffff) at mem.c:96
96            mark[elem++] = ALLBITS;
(gdb)thr a a bt
Thread 5 (process 16716):
#0  0x00dfd402 in __kernel_vsyscall ()
#1  0x001698c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001b8086 in nscd_run (p=0x1) at connections.c:1330
#3  0x0016549b in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00cf442e in clone () from /lib/libc.so.6

Thread 4 (process 16718):
#0  0x00dfd402 in __kernel_vsyscall ()
#1  0x00169595 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001b81c3 in nscd_run (p=0x3) at connections.c:1348
#3  0x0016549b in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00cf442e in clone () from /lib/libc.so.6

Thread 3 (process 16719):
#0  0x00dfd402 in __kernel_vsyscall ()
#1  0x00169595 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001b81c3 in nscd_run (p=0x4) at connections.c:1348
#3  0x0016549b in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00cf442e in clone () from /lib/libc.so.6

Thread 2 (process 16720):
#0  0x00dfd402 in __kernel_vsyscall ()
#1  0x00169595 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x001b81c3 in nscd_run (p=0x5) at connections.c:1348
#3  0x0016549b in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00cf442e in clone () from /lib/libc.so.6

Thread 1 (process 16717):
#0  0x001bff36 in gc (db=0xffffffff) at mem.c:96
#1  0xffffffff in ?? ()
.....
#1392 0x00000000 in ?? ()
(gdb)


Version-Release number of selected component (if applicable):
glibc-2.5-34

Comment 1 Ulrich Drepper 2009-11-23 01:01:22 UTC
RHEL5.3 isn't the latest version anymore.  Try 5.4.

Comment 2 Orion Poplawski 2009-11-23 22:22:17 UTC
I have not seen this in a while.  I am running 5.4 now.

Comment 3 Ulrich Drepper 2009-11-23 22:46:23 UTC
Closing with CURRENTRELEASE then.