<div>I think that it was a kind of "version mismatch" problem. I actually compiled XORP source code including the new process I am trying to add in some Linux machine, and had to try to use the compiled code in some other Linux machine. When I ran rtrmgr in the machine where I actually compiled the xorp source code, I did not get that floating point exception error.</div>
<div>However, now, although rtrmgr is running, after it starts and then configures some of the processes in the current configuration file (config.boot) succesfully, it goes into a loop in which it repeatedly tries to validate with some XRL with the following message:</div>
<div> </div>
<div>Validating with XRL: >finder://new_process_target/common/0.1/get_status<<br><br>Apparently, it can not validate it, and keeps trying.</div>
<div> </div>
<div>Thanks.</div>
<div>Selcuk<br></div>
<div class="gmail_quote">On Thu, Apr 17, 2008 at 9:23 AM, Bruce M. Simpson <<a href="mailto:bms@icir.org">bms@icir.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">Selçuk Cevher wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px; BORDER-LEFT: #ccc 1px solid">Below is the backtrace from gdb:<br> (gdb) run xorp_rtrmgr<br>Starting program: /home/selcuk/xorp.deneme/rtrmgr/xorp_rtrmgr xorp_rtrmgr<br>
Reading symbols from shared object read from target memory...done.<br>Loaded system supplied DSO at 0xffffe000<br>Program received signal SIGFPE, Arithmetic exception.<br>0x447e61e6 in do_lookup_x () from /lib/ld-linux.so.2<br>
(gdb) bt<br>#0 0x447e61e6 in do_lookup_x () from /lib/ld-linux.so.2<br>#1 0x447e6569 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2<br>#2 0x447e7d1a in _dl_relocate_object () from /lib/ld-linux.so.2<br>#3 0x447e0833 in dl_main () from /lib/ld-linux.so.2<br>
#4 0x447f056b in _dl_sysdep_start () from /lib/ld-linux.so.2<br>#5 0x447df48f in _dl_start () from /lib/ld-linux.so.2<br>#6 0x447dd847 in _start () from /lib/ld-linux.so.2<br>Thanks.<br>Selcuk<br></blockquote><br></div>
This looks like it is most likely a compiler or linkage problem -- the process is dying in the runtime linker, before any code in the executable itself has been called.<br><br>Which compiler are you using, and on which Linux distribution?<br>
<br>Posting the output of 'g++ -dumpspecs' and 'ldd xorp_rtrmgr' provides more background information for errors like this.<br><br>Thanks, BMS<br><br></blockquote></div><br>