Re: dhcpcd-5.5.0 released
Juergen Daubert
Sat Jan 28 14:41:56 2012
On Tue, Jan 24, 2012 at 11:47:58AM +0000, Roy Marples wrote:
> Hi List!
>
> Welcome to 2012 with a new dhcpcd release. It has been a while!
> But it does have some long awaited IPv6 goodness.
Hi Roy,
thanks for the new release, however it doesn't work for me but
segfaults all the time. Hope the attached backtrace helps to
find the issue.
System is a CRUX Linux with gcc 4.5.3, glibc 2.12.2 and a 3.2.2
kernel.
Greetings
Juergen
Script started on Sat Jan 28 15:32:57 2012
[?1034h#:/tmp/dhcpcd/src/dhcpcd-5.5.0> gdb dhcpcd /core
[?1034hGNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/dhcpcd/src/dhcpcd-5.5.0/dhcpcd...done.
[New LWP 11989]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `./dhcpcd -B eth0'.
Program terminated with signal 11, Segmentation fault.
#0 0x08056943 in ipv6rs_sendprobe (arg=0x8063e18) at ipv6rs.c:187
187 sndhdr.msg_iov[0].iov_base = ifp->rs;
(gdb) bt full
#0 0x08056943 in ipv6rs_sendprobe (arg=0x8063e18) at ipv6rs.c:187
ifp = 0x8063e18
dst = {sin6_family = 10, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {__in6_u = {__u6_addr8 = "\377\002", '\000' <repeats 13 times>, "\002",
__u6_addr16 = {767, 0, 0, 0, 0, 0, 0, 512}, __u6_addr32 = {767, 0, 0, 33554432}}}, sin6_scope_id = 0}
cm = 0x8063988
pi = {ipi6_addr = {__in6_u = {__u6_addr8 = "\350\337\221\277\200\071\006\b\001\000\000\000\000\000\000", __u6_addr16 = {57320, 49041, 14720, 2054,
1, 0, 0, 0}, __u6_addr32 = {3214008296, 134625664, 1, 0}}}, ipi6_ifindex = 0}
hoplimit = 255
#1 0x08057d20 in ipv6rs_start (ifp=0x8063e18) at ipv6rs.c:703
No locals.
#2 0x08050d38 in start_interface (arg=0x8063e18) at dhcpcd.c:1166
iface = 0x8063e18
ifo = 0x8065dc8
st = {st_dev = 13215155653182867048, __pad1 = 30252, st_ino = 3078074356, st_mode = 134515893, st_nlink = 1, st_uid = 3214008464,
st_gid = 3078011523, st_rdev = 13219696893903747792, __pad2 = 1, st_size = 1, st_blksize = 0, st_blocks = -1217094289, st_atim = {tv_sec = 0,
tv_nsec = 0}, st_mtim = {tv_sec = -1080958808, tv_nsec = 134525207}, st_ctim = {tv_sec = 1, tv_nsec = -1080958824}, __unused4 = 0,
__unused5 = 2}
now = {tv_sec = -1217121376, tv_usec = -1218498996}
l = 3077234619
nolease = -1216930544
#3 0x080538e0 in start_eloop () at eloop.c:302
msecs = 0
n = 0
nfds = 2
i = 0
e = 0x0
t = 0x8063798
tv = {tv_sec = 0, tv_usec = 0}
#4 0x08053138 in main (argc=3, argv=0xbf91e204) at dhcpcd.c:2088
iface = 0x0
opt = 1
oi = 0
signal_fd = 6
sig = 0
i = 30
control_fd = -1
len = 41
pid = 0
ts = {tv_sec = 134611180, tv_nsec = -1080958680}
(gdb) q
#:/tmp/dhcpcd/src/dhcpcd-5.5.0> exit
exit
Script done on Sat Jan 28 15:33:14 2012
Archive administrator: postmaster@marples.name