Red Hat Bugzilla – Bug 253968
Last modified: 2007-11-30 17:12:14 EST
Description of problem:
Running dhcp6s with sample configuration (or any configuration) results in
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login as root.
2. Execute following command:
#/usr/sbin/dhcp6s -Df -c /usr/share/doc/dhcpv6-0.10/dhcp6s.conf eth0
[root@chatteau ~]# dhcp6s -Df -c /usr/share/doc/dhcpv6-0.10/dhcp6s.conf eth2
Aug/23/2007 16:19:53 extracted an existing DUID from
Aug/23/2007 16:19:53 set timer for syncing file ...
No segmentation fault.
-- begin dump --
[root@chatteau ~]# gdb dhcp6s
GNU gdb Red Hat Linux (6.6-15.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) run -Df -c /usr/share/doc/dhcpv6-0.10/dhcp6s.conf eth2
Starting program: /usr/sbin/dhcp6s -Df -c /usr/share/doc/dhcpv6-0.10/dhcp6s.conf
Aug/23/2007 16:25:41 extracted an existing DUID from
Aug/23/2007 16:25:41 set timer for syncing file ...
Program received signal SIGSEGV, Segmentation fault.
lyylex () at lex.lyy.c:1278
1278 *yy_cp = (yy_hold_char);
#0 lyylex () at lex.lyy.c:1278
#1 0x0000000000408da5 in init_leases (name=<value optimized out>) at lease.c:194
#2 0x0000000000403c07 in main (argc=5, argv=0x7fff9a561d20) at dhcp6s.c:235
#3 0x000000353a61dab4 in __libc_start_main () from /lib64/libc.so.6
#4 0x0000000000401ea9 in _start ()
The program is running. Exit anyway? (y or n) y
-- end dump --
Also on i386.
I have fixed this problem in the dhcpv6 package in rawhide and F-7. I have
posted an update for F-7 as the dhcpv6-0.10-43.fc7 package.
dhcpv6-0.10-43.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
I'm still getting same problem with dhcpv6-0.10-43.fc7.
dhcpv6-0.10-44.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
dhcpv6-0.10-44.fc7 on i386 does not crash any more.
dhcpv6-0.10-44.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.