El 10/01/17 a las 15:59, Jose M Calhariz escribió:
> Hi, I have contacted the upstream author, Ben Greear, about this
> problem.  And he requested
> if you have a back trace?
> 
>> I would be interested in seeing a backtrace if the user has
> it                                                                            
>                                                                               
>                   
> 
>> so I could better understand the problem.  Maybe the code should
> never                                                                         
>                                                                               
>              
> 
>> actually be trying to call these methods if _root is NULL?               
> 
> Can you help the author?
> 
> Kind regards
> Jose M Calhariz
> 
> 
(...)
Hi, attached you will find the requested backtrace. Thanks for your
attention.

Regards,

-- 
Dhionel Díaz
Centro Nacional de Desarrollo e Investigación en Tecnologías Libres
Ministerio del Poder Popular para
Educación Universitaria, Ciencia y Tecnología
Core was generated by `xorp_rib'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f70b1770dec in TrieNode<IPv4, IPRouteEntry<IPv4> const*>::find 
(this=0x0, key=...) at ./libxorp/trie.hh:872
872     TrieNode<A,Payload>::find(const Key &key)
(gdb) backtrace 
#0  0x00007f70b1770dec in TrieNode<IPv4, IPRouteEntry<IPv4> const*>::find 
(this=0x0, key=...) at ./libxorp/trie.hh:872
#1  0x00007f70b176f3e7 in Trie<IPv4, IPRouteEntry<IPv4> const*, 
TriePostOrderIterator<IPv4, IPRouteEntry<IPv4> const*> >::lookup_node (k=..., 
this=<optimized out>) at ./libxorp/trie.hh:626
#2  0x00007f70b1772afe in ExtIntTable<IPv4>::best_igp_route 
(this=this@entry=0x55c881277210, route=...) at rib/rt_tab_extint.cc:124
#3  0x00007f70b1775dc5 in ExtIntTable<IPv4>::add_igp_route 
(this=0x55c881277210, route=...) at rib/rt_tab_extint.cc:149
#4  0x00007f70b177d62b in OriginTable<IPv4>::add_route (this=0x55c88128e560, 
route=0x55c8812b7310) at rib/rt_tab_origin.cc:79
#5  0x00007f70b17559a4 in RIB<IPv4>::add_route (this=this@entry=0x7ffe09e33908, 
tablename="connected", net=..., nexthop_addr=..., ifname="", vifname="eth_780", 
metric=<optimized out>, policytags=...)
    at rib/rib.cc:848
#6  0x00007f70b1752b62 in RIB<IPv4>::add_connected_route 
(this=this@entry=0x7ffe09e33908, vif=..., net=..., nexthop_addr=..., 
peer_addr=...) at rib/rib.cc:502
#7  0x00007f70b1753128 in RIB<IPv4>::add_vif_address (this=0x7ffe09e33908, 
vifname=..., addr=..., subnet=..., broadcast_addr=..., peer_addr=...) at 
rib/rib.cc:729
#8  0x00007f70b1761382 in RibManager::add_vif_address_to_ribs<IPv4> (urib=..., 
mrib=..., vifn="eth_780", addr=..., subnet=..., broadcast_addr=..., 
peer_addr=..., err="") at rib/rib_manager.cc:275
#9  0x00007f70b175f74c in RibManager::add_vif_address (this=<optimized out>, 
vifn="eth_780", addr=..., subnet=..., broadcast_addr=..., peer_addr=..., 
err="") at rib/rib_manager.cc:312
#10 0x00007f70b179b212 in VifManager::updates_made (this=0x7ffe09e34108) at 
rib/vifmanager.cc:516
#11 0x00007f70b179a2ca in VifManager::tree_complete (this=0x7ffe09e34108) at 
rib/vifmanager.cc:300
#12 0x00007f70b14e62f2 in IfMgrXrlMirror::tree_complete (this=0x7ffe09e34188) 
at libfeaclient/ifmgr_xrl_mirror.cc:1149
#13 0x00007f70b14e6583 in 
IfMgrXrlMirrorTarget::fea_ifmgr_mirror_0_1_hint_tree_complete (this=<optimized 
out>) at libfeaclient/ifmgr_xrl_mirror.cc:937
#14 0x00007f70afc52a8f in 
XrlFeaIfmgrMirrorTargetBase::handle_fea_ifmgr_mirror_0_1_hint_tree_complete 
(this=0x55c881298780, xa_inputs=..., pxa_outputs=<optimized out>)
    at obj/x86_64-pc-linux-gnu/xrl/targets/fea_ifmgr_mirror_base.cc:3756
#15 0x00007f70afc5c53b in XorpMemberCallback2B0<XrlCmdError const, 
XrlFeaIfmgrMirrorTargetBase, XrlArgs const&, XrlArgs*>::dispatch 
(this=<optimized out>, a1=..., a2=<optimized out>)
    at ./libxorp/callback_nodebug.hh:4616
#16 0x00007f70af0d31e1 in XrlCmdEntry::invoke_sync (in=..., out=..., impl=...) 
at libxipc/xrl_cmd_map.cc:36
#17 0x00007f70af0d47dd in XorpFunctionCallback2B1<void, XrlArgs const&, 
ref_ptr<XorpCallback2<void, XrlCmdError const&, XrlArgs const*> >, 
ref_ptr<XorpCallback2<XrlCmdError const, XrlArgs const&, XrlArgs*> > 
>::dispatch (a2=<error reading variable: access outside bounds of object 
referenced via synthetic pointer>, a1=..., this=<optimized out>) at 
./libxorp/callback_nodebug.hh:4878
#18 XrlCmdEntry::dispatch (outputs=..., inputs=..., this=<optimized out>) at 
libxipc/xrl_cmd_map.hh:131
#19 XrlDispatcher::dispatch_xrl_fast (this=this@entry=0x55c881297ac0, xi=..., 
outputs=...) at libxipc/xrl_dispatcher.cc:87
#20 0x00007f70af0dec94 in STCPRequestHandler::do_dispatch 
(this=this@entry=0x55c8812ab2f0, packed_xrl=<optimized out>, 
packed_xrl@entry=0x7f70b1b5a920 <incomplete sequence \314>, 
    packed_xrl_bytes=packed_xrl_bytes@entry=92, response=...) at 
libxipc/xrl_pf_stcp.cc:320
#21 0x00007f70af0dee98 in STCPRequestHandler::dispatch_request 
(this=this@entry=0x55c8812ab2f0, seqno=<optimized out>, 
packed_xrl=packed_xrl@entry=0x7f70b1b5a920 <incomplete sequence \314>, 
    packed_xrl_bytes=packed_xrl_bytes@entry=92) at libxipc/xrl_pf_stcp.cc:330
#22 0x00007f70af0e2c99 in STCPRequestHandler::read_event (this=0x55c8812ab2f0, 
ev=<optimized out>, buffer=0x7f70b1b5a908 "STCP\001\001", buffer_bytes=116) at 
libxipc/xrl_pf_stcp.cc:261
#23 0x00007f70aee4ca62 in BufferedAsyncReader::announce_event 
(this=0x55c8812ab300, ev=BufferedAsyncReader::DATA) at 
libxorp/buffered_asyncio.cc:271
#24 0x00007f70aee60464 in SelectorList::Node::run_hooks (fd=..., m=<optimized 
out>, this=0x55c881258318) at libxorp/selector.cc:199
#25 SelectorList::wait_and_dispatch (this=this@entry=0x7ffe09e33498, 
timeout=...) at libxorp/selector.cc:534
#26 0x00007f70aee4dd60 in EventLoop::do_work (this=this@entry=0x7ffe09e33300) 
at libxorp/eventloop.cc:241
#27 0x00007f70aee4e095 in EventLoop::run (this=0x7ffe09e33300) at 
libxorp/eventloop.cc:171
#28 0x000055c8809d7050 in main (argv=<optimized out>) at rib/main_rib.cc:92

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to