Segmentation fault during peer startup in failover configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Configuration:
I'm running redundant servers using failover peer mode in which both daemons actively handle DHCP requests and share lease information.
Expected operation:
Under normal operating conditions, both daemons should start in any order, synchronize lease information, and begin handling DHCP requests.
What actually happens:
Using the Jaunty DHCP server package (dhcp3-server 3.1.1-5ubuntu8), the first daemon consistently starts up properly, but the second generally throws a segmentation fault. After several attempts, the second daemon eventually starts up properly. However, upon restart will resume the pattern of throwing segmentation faults. Once both daemons successfully start up, they seem stable and perform as expected.
Release information:
$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04
$ apt-cache policy dhcp3-server-ldap
dhcp3-server-ldap:
Installed: 3.1.1-5ubuntu8
Candidate: 3.1.1-5ubuntu8
Version table:
*** 3.1.1-5ubuntu8 0
500 http://
100 /var/lib/
Crash output:
See attachment for gdb output from package including debugging symbols.
Here the dhcpd also segfaults after start.
Jun 16 09:18:37 garfield dhcpd: WARNING: Host declarations are global. They are not limited to the scope you declared them in.
Jun 16 09:18:37 garfield dhcpd: Wrote 0 deleted host decls to leases file.
Jun 16 09:18:37 garfield dhcpd: Wrote 0 new dynamic host decls to leases file.
Jun 16 09:18:37 garfield dhcpd: Wrote 314 leases to leases file.
Jun 16 09:18:37 garfield dhcpd: failover peer dhcp-failover: I move from normal to startup
Jun 16 09:18:37 garfield kernel: [75173.137232] dhcpd3[9766]: segfault at 20 ip 0000000000000020 sp 00007fff8d769b78 error 14