#18058: odhcp6c is crashing on ar71xx / r42827
-----------------------+------------------------
Reporter: bittorf@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: |
-----------------------+------------------------
{{{
bastian@server1:~/openwrt$ ./scripts/remote-gdb
r42827.ar71xx.odhcp6c.5595.6.1412689446.core build_dir/target-
mips_34kc_uClibc-0.9.33.2/odhcp6c-2014-10-06/odhcp6c
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Using target mips_34kc (uClibc-0.9.33.2)
GNU gdb (Linaro GDB) 7.6-2013.05
Copyright (C) 2013 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 "--host=x86_64-linux-gnu --target=mips-openwrt-
linux-uclibc".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/bastian/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/odhcp6c-2014-10-06/odhcp6c...done.
[New LWP 5595]
Core was generated by `odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120
pppoe-wan'.
Program terminated with signal 6, Aborted.
#0 0x771337d0 in __GI_raise (sig=6) at
libpthread/nptl/sysdeps/unix/sysv/linux/raise.c:67
67 int res = INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt full
#0 0x771337d0 in __GI_raise (sig=6) at
libpthread/nptl/sysdeps/unix/sysv/linux/raise.c:67
err = 0
result_var = 0
pd = 0x7718a000
pid = 5595
selftid = 5595
res = <optimized out>
#1 0x7712c7c8 in __GI_abort () at libc/stdlib/abort.c:89
sigs = {__val = {32, 0, 0, 0}}
#2 0x7712248c in map_newlink (idx=<optimized out>, ifas=0x7af2d8,
map=0x7fe22358, max=10) at libc/inet/ifaddrs.c:339
i = <optimized out>
#3 0x77122eb0 in __GI_getifaddrs (ifap=0x7fe22418) at
libc/inet/ifaddrs.c:579
ifam = 0x7aefa4
rta = <optimized out>
rtasize = <optimized out>
ifa_index = 0
nlh = 0x7aef94
size = 316
nh = {fd = 12, pid = -4105, seq = 1412689447, nlm_list = 0x7ac070,
end_ptr = 0x7af2b0}
nlp = 0x7aef40
ifas = 0x7af2d8
i = <optimized out>
newlink = 10
newaddr = <optimized out>
newaddr_idx = 1
map_newlink_data = 0x7fe22358
ifa_data_size = <optimized out>
ifa_data_ptr = 0x7b01c8 ""
result = 0
#4 0x00404aa4 in ra_process () at /home/bastian/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/odhcp6c-2014-10-06/src/ra.c:258
ifaddr = 0x0
ifa = <optimized out>
found = false
changed = false
has_lladdr = false
buf =
"\000\000\000\000\000\000\000\000w\025C\240\000\000\000\bw\025C\240",
'\000' <repeats 31 times>,
"\b\000\000\000\bw\025C\240\000\000\000\b\000\000\000\000\000\000\000\000\177\342&8\000\000\000\000\000\000\000\000w\021\264\244\177\342$\340\000@]\\w\025C\240\000\000\000\b\000\000\000\000\000\000\000\000\177\342&`w\023\212?\000\000\000;w\021\264\244w\025C\240\000\000\000\000w\025C\240\000\000\000\n\000\000\000\001\000@]\216\000\000\000\001\177\342%\366\000\000\000;w\021MH\000\000\000\000\000\000\000d\000\000\000\000\000\000\000
\377\377\377\366\000\000\000Ww\025C\240\000\000\001\000\000"...
cmsg_buf = '\000' <repeats 20 times>,
"\177\342*\300\000\000\000\016\000z\300\060\000\000\000\032\177\342*\370\000\000\000\000\000z\300\030\000\000\000\016\000\000\000\000\000\000\000\000\177\342*\330",
'\000' <repeats 12 times>, "\177\342*\324", '\000' <repeats 12 times>,
"\177\342*\344\000\000\000\004\177\342(\000\000\000\000\024\177\342*\260\000\000\000\020\177\342'\300\000\000\000\000\177\342'\300"
adv = 0x7fe22418
entry = {router = {__in6_u = {__u6_addr8 = '\000' <repeats 15
times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0,
0}}},
length = 0, priority = 0, target = {__in6_u = {__u6_addr8 =
'\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0},
__u6_addr32 = {0, 0,
---Type <return> to continue, or q <return> to quit---
0, 0}}}, valid = 0, preferred = 0, t1 = 0, t2 = 0, class =
0, iaid = 0}
any = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>,
__u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}
#5 0x00402132 in odhcp6c_signal_process () at
/home/bastian/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/odhcp6c-2014-10-06/src/odhcp6c.c:478
ra_updated = <optimized out>
#6 0x00403980 in dhcpv6_request (type=type@entry=DHCPV6_MSG_SOLICIT)
at /home/bastian/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/odhcp6c-2014-10-06/src/dhcpv6.c:561
buf = "rs\351\300\000\000\000\000\177\342+\210w\027\235Hw\025
\000w\030\261\\\177\342+\230w\027\235Hw\031P\000\000\000\000\000w\031P\000w\030\240\000w\030\240\000w\030\262\260w\030\262\230\177\342+\340\177\342+\300w\027\253<w\030\261D\177\342+\360w\031P\000w\027\253<\000\000\000\000\000\000\000\000w\031P",
'\000' <repeats 11 times>,
"*\031\000\000\000\000w\024\303\260w\016R\204w\016\275\300w\016t\340",
'\000' <repeats 14 times>,
"*T\000\000\000\020\000\004\370\354\000\000\000\000\000\000*\036\000\000\000\000\000\000\000\000w\016\350\024w\025C\240\000\000\000\b",
'\000' <repeats 32 times>...
t = <optimized out>
opt_end = <optimized out>
cmsg_buf =
"\000\000\000\000\000\001\314\016\177\342\062x\177\342\062\177\177\342\062\230\000\000\000\034\177\342\062xw\027\205"
msg = {msg_name = 0x7fe23294, msg_namelen = 28, msg_iov =
0x7fe232d8, msg_iovlen = 1, msg_control = 0x7fe23258, msg_controllen = 32,
msg_flags = 0}
pktinfo = 0x0
opt = <optimized out>
iov = {iov_base = 0x7fe22b78, iov_len = 1536}
addr = {sin6_family = 0, sin6_port = 0, sin6_flowinfo = 655360,
sin6_addr = {__in6_u = {
__u6_addr8 =
"\000\000\000\000\377\002\000\000\000\000\000\000\000\000\000",
__u6_addr16 = {0, 0, 65282, 0, 0, 0, 0, 0}, __u6_addr32 = {0,
4278321152, 0, 0}}}, sin6_scope_id = 2}
tv = {tv_sec = 121, tv_usec = 248000}
round_end = 19216158
rc = 163 '\243'
timeout = <optimized out>
retx = 0x416874 <dhcpv6_retx+24>
start = 296806
round_start = 19172661
elapsed = 18798104
trid = "XD\025"
len = -1
rto = 121248
#7 0x00401c7e in main (argc=<optimized out>, argv=<optimized out>)
at /home/bastian/openwrt/build_dir/target-
mips_34kc_uClibc-0.9.33.2/odhcp6c-2014-10-06/src/odhcp6c.c:283
mode = <optimized out>
ia_pd_len = <optimized out>
ia_na_len = <optimized out>
server_id_len = <optimized out>
pidfile = 0x0
script = 0x7fe23f39 "/lib/netifd/dhcpv6.script"
l = <optimized out>
buf =
"\177\342\067\310\000\000\000\000w\027nL\000\000\000\003w\030\321\270\177\342\067\240\177\342\067\250w\027\304l\177\342\067\310\000\000\000\000w\031P\000\177\342\071\300w\027dHw\027i(\000\000\000\000\000\000\000\000\177\342?.w\024\303\260\000\000\004\205w\016\347\211\000\000\004V\000\000\001\377\000\000\017\367w\211\067X\177\342\067\360w\027\203\350w\016\347\211",
'\000' <repeats 20 times>, "w\031P\000\000"
optpos = 0x7fe238f0 ""
opttype = 48192
---Type <return> to continue, or q <return> to quit---
optlen = 30481
ia_na_mode = IA_MODE_TRY
ia_pd_mode = IA_MODE_TRY
ia_pd_iaid_index = <optimized out>
ifid = {__in6_u = {__u6_addr8 = '\000' <repeats 15 times>,
__u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}
sol_timeout = 120
help = <optimized out>
daemonize = false
logopt = 1
c = <optimized out>
client_options = <optimized out>
ifname = 0x7fe23f5d "pppoe-wan"
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18058>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets