dhcrelay segfault

Zdenek Pytela pytela at phil.muni.cz
Wed Jan 6 08:18:49 UTC 2010


	Dear all,
I have troubles with isc-dhcrelay-4.1.0p1, it stops working immediately
after first dhcp request with segfault:
Program terminated with signal 11, Segmentation fault.                          
#0  0x0000000000409f37 in getservbyname () at ../nss/getXXbyYY.c:89             
89      { 

Strace output:
13:45:12.047769 select(8, [4 5 6 7], [], [], {0, 0}) = 2 (in [4 5], left {0,
0})
13:45:12.047817 recvmsg(4, {msg_name(0)=NULL,
msg_iov(1)=[{"\377\377\377\377\377\377\0\27\10 at 1t\10\0E\20\0016\0\0\0\0\200\0219\250\0\0\0\0\377\377"...,
1536}], msg_controllen=36, {cmsg_len=36, cmsg_level=SOL_PACKET, cmsg_type=,
...}, msg_flags=0}, 0) = 324
13:45:12.047876 --- SIGSEGV (Segmentation fault) @ 0 (0) ---  

I didn't set anything specific but ip address to forward.
The only less usual thing is that it listens on several 802.1q vlan
interfaces.

dhcpd in the same situation works properly.
When ip address is set to 127.0.0.1, dhcrelay doesn't crash, but this
setting won't help me too much.

Fedora Linux 12
dhcp-4.1.0p1
kernel-2.6.31.9

Thank you for your interest.

-- 

--Zdenek <pytela at phil.muni.cz>




More information about the dhcp-users mailing list