[Xorp-users] ospf causes rtrmgr to crash

Brian Edwards brian@wrinklenet.com
Tue, 25 Mar 2003 16:25:10 -0600


starting up rtrmgr with ospf config causes rtrmgr to crash.

running module: ospf path: ../ospfd/xorp/ospfd
**********************************************************
New module has PID 45710
[ 2003/03/25 16:06:29 INFO ospf OSPF ] Starting v2.16
+[ 2003/03/25 16:06:29 INFO ospf OSPF ] Awaiting router id
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++[ 2003/03/25 16:06:31 WARNING rtrmgr XrlFinderTarget ] Handling method
for finder/0.1/resolve_xrl failed: XrlCmdError 102 Command failed Xrl target
does not exist. "Xrl target does not exist."
+++[ 2003/03/25 16:06:31  FATAL rtrmgr:45706 RTRMGR +144 master_conf_tree.cc
config_done ] Startup failed
200 Resolve failed
Abort (core dumped)
cabana# [ 2003/03/25 16:06:33  ERROR ospf:45710 XifFinder +329
finder_ng_client.cc reg_callback ] Failed to register client named ospfd of
class undisclosed: "211 Reply timed out"

cabana# more config.boot
interfaces {
  interface xl0 {
    description: "Road Runner"
    vif xl0 {
      address 24.153.152.251 {
        prefix-length: 29
        broadcast: 24.153.152.255
      }
    }
  }
}
protocols {
  ospf {
    router-id: 10.10.10.251
    area 0.0.0.0 {
      stub: false
      interface xl0 {
        hello-interval: 5
      }
    }
  }
  bgp {
    bgp-id: 10.10.10.22
    local-as: 65222
    peer costanza {
      local-ip: 24.153.152.251
      peer-ip: 24.153.152.250
      as: 65223
      holdtime: 90
      next-hop: 24.153.152.250
    }
  }
}

cabana# gdb rtrmgr rtrmgr.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read
called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
933 in fill_symbuf

Core was generated by `rtrmgr'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/lib/libstdc++.so.3...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x28233b78 in kill () from /usr/lib/libc.so.4
(gdb) bt
#0  0x28233b78 in kill () from /usr/lib/libc.so.4
#1  0x28274742 in abort () from /usr/lib/libc.so.4
#2  0x8146826 in xlog_fatal (module_name=0x81662d1 "RTRMGR",
where=0xbfbe90ac "+144 master_conf_tree.cc config_done",
    fmt=0x8223fe0 "Startup failed\n200 Resolve failed") at xlog.c:420
#3  0x808d06c in MasterConfigTree::config_done (this=0xbfbff7a0, status=-1,
errmsg=@0xbfbeb140) at master_conf_tree.cc:144
#4  0x80915e8 in XorpMemberCallback2B0<void, MasterConfigTree, int,
basic_string<char, string_char_traits<char>, __default_alloc_template<false,
0> > const &>::dispatch (this=0x81fd3d0, a1=-1, a2=@0xbfbeb140) at
../libxorp/callback.hh:1672
#5  0x80979cd in XorpBatch::abort_transaction (this=0x818ce60,
errmsg=@0xbfbeb140) at xorp_client.cc:133
#6  0x80978dd in XorpBatch::batch_item_done (this=0x818ce60,
batch_item=0x81f3ac0, success=false, errmsg=@0xbfbeb140)
    at xorp_client.cc:121
#7  0x809829a in XorpBatchXrlItem::response_callback (this=0x81f3ac0,
err=@0x818a42c, xrlargs=0x0) at xorp_client.cc:204
#8  0x809b4ac in XorpMemberCallback2B0<void, XorpBatchXrlItem, XrlError
const &, XrlArgs *>::dispatch (this=0x81fd770,
    a1=@0x818a42c, a2=0x0) at ../libxorp/callback.hh:1672
#9  0x8111e54 in XrlRouterDispatchState::dispatch (this=0x8210ba0,
e=@0x818a42c, a=0x0) at xrl_router.cc:285
#10 0x810ffe2 in XrlRouter::resolve_callback (this=0xbfbff848, e=@0x818a42c,
dbe=0x0, ds=0x8210ba0) at xrl_router.cc:433
#11 0x8111434 in XorpMemberCallback2B1<void, XrlRouter, XrlError const &,
FinderDBEntry const *, XrlRouterDispatchState *>::dispatch
    (this=0x8210bc0, a1=@0x818a42c, a2=0x0) at ../libxorp/callback.hh:1764
#12 0x8123ba1 in FinderNGClientQuery::query_callback (this=0x8210be0,
e=@0xbfbf73e0, al=0x0) at finder_ng_client.cc:162
#13 0x811d810 in XorpMemberCallback2B0<void, FinderNGClientQuery, XrlError
const &, XrlAtomList const *>::dispatch (this=0x81fd840,
    a1=@0xbfbf73e0, a2=0x0) at ../libxorp/callback.hh:1672
#14 0x813fc8d in XrlFinderV0p1Client::unmarshall6 (this=0xbfbf9434,
e=@0xbfbf73e0, a=0x0, cb=0xbfbf52a4) at finder_xif.cc:262
#15 0x814390c in XorpMemberCallback2B1<void, XrlFinderV0p1Client, XrlError
const &, XrlArgs *, ref_ptr<XorpCallback2<void, XrlError const &,
XrlAtomList const *> > >::dispatch (this=0x8210c00, a1=@0xbfbf73e0, a2=0x0)
at ../libxorp/callback.hh:1764
#16 0x811433c in FinderMessengerBase::dispatch_xrl_response (this=0x8209900,
seqno=1038, xe=@0xbfbf73e0, args=0x0)
    at finder_messenger.cc:51
#17 0x80daacb in FinderTcpMessenger::read_event (this=0x8209900, errval=0,
    data=0x81eef00 "Finder 0.2\nMsgType r\nSeqNo 1038\nMsgData 102 /
Xrl+target+does+not+exist.\n://24.153.152.251:1954/bgp/0.2/enable_peer-6356f
d0d5a544f88894aecb56de9", data_bytes=73) at finder_tcp_messenger.cc:69
#18 0x812850c in FinderTcpBase::read_callback (this=0x820991c, ev=DATA,
    buffer=0x81eef00 "Finder 0.2\nMsgType r\nSeqNo 1038\nMsgData 102 /
Xrl+target+does+not+exist.\n://24.153.152.251:1954/bgp/0.2/enable_peer-6356f
d0d5a544f88894aecb56de9", buffer_bytes=73, offset=73) at finder_tcp.cc:167
#19 0x81299bc in XorpMemberCallback4B0<void, FinderTcpBase,
AsyncFileOperator::Event, unsigned char const *, unsigned int, unsigned
int>::dispatch (this=0x81fd850, a1=DATA,
    a2=0x81eef00 "Finder 0.2\nMsgType r\nSeqNo 1038\nMsgData 102 /
Xrl+target+does+not+exist.\n://24.153.152.251:1954/bgp/0.2/enable_peer-6356f
d0d5a544f88894aecb56de9", a3=73, a4=73) at ../libxorp/callback.hh:3098
#20 0x81491a2 in AsyncFileReader::BufferInfo::dispatch_callback
(this=0xbfbf9534, e=DATA) at asyncio.hh:183
#21 0x8147946 in AsyncFileReader::complete_transfer (this=0x820992c, err=0,
done=73) at asyncio.cc:107
#22 0x814782b in AsyncFileReader::read (this=0x820992c, fd=10, m=SEL_RD) at
asyncio.cc:88
#23 0x8148904 in XorpMemberCallback2B0<void, AsyncFileReader, int,
SelectorMask>::dispatch (this=0x81fd870, a1=10, a2=SEL_RD)
    at ../libxorp/callback.hh:1672
#24 0x815a3c8 in SelectorList::Node::run_hooks (this=0x8203168, m=SEL_RD,
fd=10) at selector.cc:97
#25 0x8158db4 in SelectorList::select (this=0xbfbff920, timeout=0xbfbfb7dc)
at selector.cc:237
---Type <return> to continue, or q <return> to quit---
#26 0x814ac5a in EventLoop::run (this=0xbfbff908) at eventloop.cc:34
#27 0x8055e03 in main (argc=1, argv=0xbfbffbd0) at main_rtrmgr.cc:179
(gdb) quit
cabana#