#18212: odhcp6c is crashing on ar71xx / r43027
------------------------+------------------------
Reporter: bittorf@… | Owner: developers
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
------------------------+------------------------
Comment (by bittorf@…):
here again (seems to be nearly the same):
{{{
bastian@server1:~/openwrt$ scripts/remote-gdb
r43056.ar71xx.odhcp6c.3527.11.1414293793.core staging_dir/target-
mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/sbin/odhcp6c
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/staging_dir/target-
mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/sbin/odhcp6c...done.
[New LWP 3527]
Core was generated by `odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120
pppoe-wan'.
Program terminated with signal 11, Segmentation fault.
#0 0x00403dfa 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-25/src/dhcpv6.c:611
611 if (retx->handler_finish)
(gdb) bt full
#0 0x00403dfa 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-25/src/dhcpv6.c:611
round_end = <optimized out>
rc = 8 '\b'
timeout = <optimized out>
retx = 0x6f742061
start = 52262250
round_start = <optimized out>
elapsed = <optimized out>
trid = "\230\226\001"
len = -1
rto = 7812741925116993897
#1 0x00401c62 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-25/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 = 0x7fa62f39 "/lib/netifd/dhcpv6.script"
l = <optimized out>
buf =
"\177\246+\330\000\000\000\000wmnL\000\000\000\003wn\321\270\177\246+\260\177\246+\270wm\304l\177\246+\330\000\000\000\000woP\000\177\246-\320wmdHwmi(\000\000\000\000\000\000\000\000\177\246/.wj\303\260\000\000\004\205wd\347\211\000\000\004V\000\000\001\377\000\000\017\367wN\367X\177\246,\000wm\203\350wd\347\211",
'\000' <repeats 20 times>, "woP\000\000"
optpos = 0x7fa62d00 ""
opttype = 48192
optlen = 30567
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 = 0x7fa62f5d "pppoe-wan"
(gdb)
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18212#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets