[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336310: marked as done (nscd dies (Aborted) because of corrupted(?) persistent-cache file)



Your message dated Thu, 19 Jul 2007 08:36:12 +0200
with message-id <20070719063611.GA28062@i386.aurel32.net>
and subject line Fix bugs using a correct version
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: nscd
Version: 2.3.5-6
Severity: normal


Hello,

Symptom: 
	nscd dies suddenly
Disgnostic:
	when running nscd in debug modes, it dies with the error :
		12870: handle_request: request received (Version = 2)
		from PID 12877
		12870:  GETFDHST
		12870: provide access to FD 8, for hosts
		12870: Reloading "ldap.dmz1.klabs.be" in hosts cache!
		12870: Reloading "www.tnt.com" in hosts cache!
		nscd: hstcache.c:364: cache_addhst: Assertion
		`hst->h_addr_list[1] == ((void *)0)' failed.
		Aborted
	
	Note that i didn't "used" the record www.tnt.com and that 
	nscd always crashes with that record.

	running "strace nscd -d"
		epoll_wait(10, 11716: Reloading "www.tnt.com" in hosts
		cache!
		nscd: hstcache.c:364: cache_addhst: Assertion
		`hst->h_addr_list[1] == ((void *)0)' failed.
		bfa02940, 100, 29988)    = -1 EINTR (Interrupted system
		call)
		+++ killed by SIGABRT +++

	I have a copy of the faulty table i can provide.

Workaround:
	- invalidates (i.e. purge) faulty table cache with "nscd -i
	  hosts" (while nscd is running !)
	- disable "persistent" option in /etc/nscd.conf

Thanks,

Franklin PIAT

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nscd depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

nscd recommends no packages.

-- debconf-show failed


--- End Message ---
--- Begin Message ---
Version: 2.5-1

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: