[Unstrung-hackers] assert on mDN-dag_me

Vijay Anand R vjanandrgky at gmail.com
Thu Oct 29 08:47:37 EDT 2015


I think I understand this better now, so the prefix option indicates 
what is the subnet reachable thru the root ?
So I gave the prefix option and see that routes to the prefix are 
installed in the child nodes (updward) thru the root and the root has 
the routes to every /128 prefix (downward).

Regards,
Vijay

On 10/29/2015 4:50 PM, Vijay Anand R wrote:
> Hi Michael,
>
> I was trying verify the usage of --dao-if-filter, --dao-addr_filter 
> and --ignore-pio.
> But I see an assert on mdn->dag_me while installing a route on the 
> root, please see below.
>
> Configs at Root - http://pastebin.com/uNYLAzWm
> Configs at the child node -- http://pastebin.com/4iQCpbXq
>
> I see that dag_me is configured while configuring prefix option in the 
> command line or when a PIO is received.
> Could you please let me know if the prefix option is mandatory ? 
> eventhough I give a --ignore-pio ?
>
>
> #0  0x00007ffff7313cc9 in __GI_raise (sig=sig at entry=6) at 
> ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> #1  0x00007ffff73170d8 in __GI_abort () at abort.c:89
> #2  0x00007ffff730cb86 in __assert_fail_base (fmt=0x7ffff745d830 
> "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
> assertion=assertion at entry=0x41c08e "mDN->dag_me != __null", 
> file=file at entry=0x41c085 "node.cpp", line=line at entry=117,
>     function=function at entry=0x41c0c0 
> <rpl_node::add_route_via_node(ip_subnet&, 
> network_interface*)::__PRETTY_FUNCTION__> "void 
> rpl_node::add_route_via_node(ip_subnet&, network_interface*)") at 
> assert.c:92
> #3  0x00007ffff730cc32 in __GI___assert_fail (assertion=0x41c08e 
> "mDN->dag_me != __null", file=0x41c085 "node.cpp", line=117,
>     function=0x41c0c0 <rpl_node::add_route_via_node(ip_subnet&, 
> network_interface*)::__PRETTY_FUNCTION__> "void 
> rpl_node::add_route_via_node(ip_subnet&, network_interface*)") at 
> assert.c:101
> #4  0x000000000040fe0b in rpl_node::add_route_via_node (this=0x628a60, 
> prefix=..., iface=0x6279a0) at node.cpp:117
> #5  0x000000000040b65f in dag_network::add_childnode (this=0x6281a0, 
> announcing_peer=0x628a60, iface=0x6279a0, prefix=...) at dag.cpp:404
> #6  0x000000000040cfb1 in dag_network::receive_dao (this=0x6281a0, 
> iface=0x6279a0, from=..., ip6_to=..., now=1446090535, 
> dao=0x7fffffffdf04, data=0x7fffffffdf18 "\005\022", dao_len=24) at 
> dag.cpp:944
> #7  0x0000000000413cec in network_interface::receive_dao 
> (this=0x6279a0, from=..., ip6_to=..., now=1446090535, 
> dat=0x7fffffffdf04 "\001\300", dao_len=44) at dao.cpp:85
> #8  0x0000000000404611 in network_interface::receive_packet 
> (this=0x6279a0, ip6_src=..., ip6_dst=..., now=1446090535, 
> bytes=0x7fffffffdf00 "\233\002?\305\001\300", len=48) at iface.cpp:521
> #9  0x000000000040539a in network_interface::receive (this=0x627fa0, 
> now=1446090535) at iface.cpp:802
> #10 0x0000000000405f1b in network_interface::main_loop 
> (verbose=0x7ffff769c1c0 <_IO_2_1_stderr_>, debug=0x627010) at 
> iface.cpp:1073
> #11 0x0000000000402cac in main (argc=14, argv=0x7fffffffeb88) at 
> /home/snbi-tb-c/unstrung/programs/sunshine/main.cpp:328
> (gdb) frame 4
> #4  0x000000000040fe0b in rpl_node::add_route_via_node (this=0x628a60, 
> prefix=..., iface=0x6279a0) at node.cpp:117
> 117         assert(mDN->dag_me != NULL);
> (gdb) print mDN->dag_me
> $5 = (prefix_node *) 0x0
> (gdb)
>
>



More information about the Unstrung-hackers mailing list