[Xorp-hackers] Assert in recent cvs

Pavlin Radoslavov pavlin at ICSI.Berkeley.EDU
Fri Oct 17 14:56:21 PDT 2008


Ben Greear <greearb at candelatech.com> wrote:

> We're still trying to figure out if this is reproducible, but
> here's the stack trace.  This is with all of my patches applied,
> so it's possible something we are doing wrong.

Please send instructions how to reproduce the problem: rtrmgr
command line options, configuration file and any actions you did.
I need the command line options so I know where the log output is
redirected to.

Also, please reverse-back the rev. 1.68 change to the
rtrmgr/module_manager.cc file:
1.68      +5 -3;  commitid: 11fdf48f7e12041a7; xorp/rtrmgr/module_manager.cc

In particular, change back the two XLOG_*() messages to fprintf(),
and see whether you still get the error.
This will guide us choosing the next step in debugging the problem.

Pavlin

> 
> #0  0xffffe430 in __kernel_vsyscall ()
> (gdb) bt
> #0  0xffffe430 in __kernel_vsyscall ()
> #1  0x438df690 in raise () from /lib/libc.so.6
> #2  0x438e0f91 in abort () from /lib/libc.so.6
> #3  0x081895c5 in xlog_fatal (module_name=0x8212738 "LIBXORP",
>      where=0xbfb74198 "asyncio.cc:413 sigpipe_handler",
>      fmt=0x8212908 "Assertion (%s) failed") at xlog.c:446
> #4  0x0818b0b8 in AsyncFileWriter::sigpipe_handler () at asyncio.cc:413
> #5  <signal handler called>
> #6  0xffffe430 in __kernel_vsyscall ()
> #7  0x4397a3c3 in __write_nocancel () from /lib/libc.so.6
> #8  0x43919474 in _IO_new_file_write () from /lib/libc.so.6
> #9  0x43919135 in new_do_write () from /lib/libc.so.6
> #10 0x439193ef in _IO_new_file_xsputn () from /lib/libc.so.6
> #11 0x4390f14a in fputs () from /lib/libc.so.6
> #12 0x08086c58 in ModuleManager::Process::stdout_cb (this=0x8524498,
>      run_command=0x8567088, output=@0xbfb7a3bc) at module_manager.cc:739
> #13 0x0808ba2c in XorpMemberCallback2B0<void, ModuleManager::Process, RunCommand *, std::string const&>::dispatch (this=0x85632a0, a1=0x8567088, a2=@0xbfb7a3bc)
>      at ../libxorp/callback_nodebug.hh:4636
> #14 0x081a0532 in RunCommand::stdout_cb_dispatch (this=0x8567088,
>      output=@0xbfb7a3bc) at run_command.hh:489
> #15 0x0819e03c in RunCommandBase::append_data (this=0x8567088,
>      event=AsyncFileOperator::DATA,
> Missing separate debuginfos, use: debuginfo-install gcc.i386 glibc.i686 openssl. i686 zlib.i386
> ---Type <return> to continue, or q <return> to quit---
>      buffer=0x85670b0 "[ 2008/10/17 09:57:43  WARNING xorp_ospfv2:23095 OSPF xrl_io.cc:205 enable_interface_vif ] XRL-IO: Enable Interface rddVR1 Vif rddVR1\n[ 2008/10/17 09:57:43  WARNING xorp_ospfv2:23095 OSPF xrl_io.cc:20"...,
>      offset=2428) at run_command.cc:595
> #16 0x081a0fae in XorpMemberCallback4B0<void, RunCommandBase, AsyncFileOperator::Event, unsigned char const*, unsigned int, unsigned int>::dispatch (
>      this=0x853fc80, a1=AsyncFileOperator::DATA,
>      a2=0x85670b0 "[ 2008/10/17 09:57:43  WARNING xorp_ospfv2:23095 OSPF xrl_io.cc:205 enable_interface_vif ] XRL-IO: Enable Interface rddVR1 Vif rddVR1\n[ 2008/10/17 09:57:43 WARNING xorp_ospfv2:23095 OSPF xrl_io.cc:20"..., a3=8192,
>      a4=2428) at ../libxorp/callback_nodebug.hh:8966
> #17 0x0818cb74 in AsyncFileReader::BufferInfo::dispatch_callback (
>      this=0x8561070, e=AsyncFileOperator::DATA) at asyncio.hh:224
> #18 0x0818a735 in AsyncFileReader::complete_transfer (this=0x85654e8, err=0,
>      done=92) at asyncio.cc:271
> #19 0x0818ca1c in AsyncFileReader::read (this=0x85654e8, fd={_filedesc = 32},
>      type=IOT_READ) at asyncio.cc:230
> #20 0x0818d360 in XorpMemberCallback2B0<void, AsyncFileReader, XorpFd, IoEventType>::dispatch (this=0x855a458, a1={_filedesc = 32}, a2=IOT_READ)
>      at ../libxorp/callback_nodebug.hh:4636
> #21 0x081a4622 in SelectorList::Node::run_hooks (this=0x8511c98, m=SEL_RD, fd=
>        {_filedesc = 32}) at selector.cc:155
> #22 0x081a355a in SelectorList::wait_and_dispatch (this=0xbfb823e8,
> ---Type <return> to continue, or q <return> to quit---
>      timeout=@0xbfb7e430) at selector.cc:440
> #23 0x081910e2 in EventLoop::do_work (this=0xbfb823a0, can_block=true)
>      at eventloop.cc:132
> #24 0x081911e6 in EventLoop::run (this=0xbfb823a0) at eventloop.cc:85
> #25 0x08067e48 in Rtrmgr::run (this=0xbfb828e4) at main_rtrmgr.cc:349
> #26 0x08068912 in main (argc=5, argv=0xbfb829f4) at main_rtrmgr.cc:632
> (gdb)
> 
> 
> -- 
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com
> 
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers



More information about the Xorp-hackers mailing list