nscd of glibc-2.6.1 terminates about once within 24 to 48 hours. Running it with '-d' gives: 1359: handle_request: request received (Version = 2) from PID 993 1359: GETFDPW 1359: handle_request: request received (Version = 2) from PID 993 1359: GETPWBYUID (65534) 1359: handle_request: request received (Version = 2) from PID 993 1359: GETFDHST 1359: handle_request: request received (Version = 2) from PID 993 1359: GETHOSTBYNAME (zeus) 1359: Reloading "swupmf.adobe.com" in hosts cache! nscd: hstcache.c:389: cache_addhst: Assertion `hst->h_addr_list[1] == ((void *)0)' failed. Compiler is vanilla gcc-4.1.2, binutils is vanilla binutils-2.17.
You don't nearly give enough information for me to be sure what the problem is. I have found a path where this could happen and this is fixed in cvs. Try this version. If the problem should persist specify also what NSS services you use and what they could have found (i.e., the info returned by the services).
Sorry, I didn't have more information. I'm running nscd now with the modified hstcache.c. The fix looks reasonable. If nscd doesn't abort during the next week I'll assume the fix as working.