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

Bug#40768: nscd causing SIGBUS on debain-sparc



Package: nscd
Version: 2.1.1-9

Nscd appears to be causing programs to fail with a SIGBUS when resolving
hostnames. I have noted this behaviour in both apt-0.3.6 and
sendmail-8.9.3-1. Stopping nscd or disabling the nscd hostname cache
fixes the problem, i.e. the programs no longer SIGBUS.

The problem was discussed briefly on the debian-sparc list under the
subject "apt ftp method dying after upgrade".

The following is a stack trace from apt-get's ftp method:

[snip]
read(3, "search vee.net\nnameserver"..., 4096) = 90
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x5001a000, 8192)                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110)
= 0
write(3, "\0\0\0\2\0\0\0\4\0\0\0\22", 12) = 12
write(3, "ftp.au.debian.org\0", 18)     = 18
read(3, "\0\0\0\0\0\0\0\1\0\0\0\25\0\0\0\1"..., 32) = 32
readv(3, [{"mirror.aarnet.edu.au\0", 21}, {"\0\0\0\22", 4}, {"\300o \2",
4}, {"\
0\0\0\0\0\0\0\0\0\0\377\377\300"..., 16}], 4) = 45
read(3, "ftp.au.debian.org\0", 18)      = 18
close(3)
--- SIGBUS (Bus error) ---

The machine is a SparcStation 5, running Debian 2.1, Linux 2.2.10,
libc6-2.1.1-9.

-- 
? Michael Gratton - mike@vee.net
! "So, what's the deal with Auntie Gerschwitz et all?"
> http://web.vee.net/


Reply to: