On 12/09/2011 06:35 AM, Maarten wrote: > Hi all, > > I've been fuzzing around with the xorp source code for the last two weeks to > get an idea how it works. Some of you might remember I am currently > developing a > new routing protocol. Or trying to. Whatever. I think I have the IPC / finder > stuff working now as the common interface gets called and the eventloop runs. > > But after a couple of loops, typically 7 or so, I get a > XrlArgs::XrlAtomNotFound exception. What on earth is that?
I hate the exception handling in xorp. My suggestion is to find the code that throws that exception, and turn it into an assert instead. That way, you get a core file and a backtrace from gdb so you can see where the bug is triggered. A patch that added proper error handling and removed the exception entirely would be welcome! Thanks, Ben > > In the logfile it looks like this: > > Terminate called after throwing an instance of 'XrlArgs::XrlAtomNotFound' > [ 2011/12/09 14:44:15.140028 ERROR xorp_rtrmgr:3850 RTRMGR > rtrmgr/task.cc:1414 execute_done ] 210 Transport failed > [ 2011/12/09 14:44:15.140073 ERROR xorp_rtrmgr:3850 RTRMGR > rtrmgr/task.cc:2012 task_fail ] Shutting down fatally wounded process (rants) > [ 2011/12/09 14:44:15.140095 INFO xorp_rtrmgr:3850 RTRMGR > rtrmgr/module_manager.cc:180 terminate ] Terminating module: rants > [ 2011/12/09 14:44:15.140114 INFO xorp_rtrmgr:3850 RTRMGR > rtrmgr/module_manager.cc:203 terminate ] Killing module: rants > [ 2011/12/09 14:44:15.140148 ERROR xorp_rtrmgr:3850 RTRMGR > rtrmgr/master_conf_tree.cc:700 commit_pass2_done ] Commit failed: 210 > Transport failed > [ 2011/12/09 14:44:15.140164 ERROR xorp_rtrmgr:3850 RTRMGR > rtrmgr/master_conf_tree.cc:269 config_done ] Configuration failed: 210 > Transport failed > > (rants is the name of my new soon to be routing protocol) > > What am I doing wrong? > (I am currently not yet cycling my node status (you know, from > status_codes.h). Might that have anything to do with it?) > > > grtz & tnx for help in advance! > > Maarten > > > _______________________________________________ > Xorp-hackers mailing list > [email protected] > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers -- Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
