#18212: odhcp6c is crashing on ar71xx / r43027
------------------------+------------------------
Reporter: bittorf@… | Owner: developers
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
------------------------+------------------------
Changes (by bittorf@…):
* status: closed => reopened
* resolution: fixed =>
Comment:
sorry, have to reopen - another crash with r43056 including the last fix:
{{{
bastian@server1:~/openwrt$ scripts/remote-gdb
r43056.ar71xx.odhcp6c.2001.11.1414261689.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 2001]
Core was generated by `
'.
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 = 198 '\306'
timeout = <optimized out>
retx = 0x0
start = 33740
round_start = <optimized out>
elapsed = <optimized out>
trid = "\211\254\322"
len = -1
rto = 0
#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 = 0x7f92cf3c "/lib/netifd/dhcpv6.script"
l = <optimized out>
buf =
"\177\222\313\230\000\000\000\000v\376NL\000\000\000\003v\377\261\270\177\222\313p\177\222\313xv\376\244l\177\222\313\230\000\000\000\000w\000\060\000\177\222\315\220v\376DHv\376I(\000\000\000\000\000\000\000\000\177\222\317\061v\373\243\260\000\000\004\205v\365\307\211\000\000\004V\000\000\001\377\000\000\017\367w\322WX\177\222\313\300v\376c\350v\365\307\211",
'\000' <repeats 20 times>, "w\000\060\000\000"
optpos = 0x7f92ccc0 ""
opttype = 40000
optlen = 30456
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 = 0x7f92cf60 "eth0.2"
(gdb)
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18212#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets