[Bug Report] ----------------------------- Category: Installation Failure Package: ns ns2.34 OS: Fedora 14 Environment Variables: LD_LIBRARY_PATH= TCL_LIBRARY= TK_LIBRARY=
----------------------------- Description: Hi everybody, Im trying to add CBRP to ns2.34. But when I run scripts to test it, if the session is more than 30 sessions (in case of 100 nodes), segmentation fault happens. I use GDB to trace the error and usually get one of 2 kinds of following errors: 1. Program received signal SIGSEGV, Segmentation fault. 0x081c2427 in Scheduler::dispatch(Event*, double) () #0 0x081c2427 in Scheduler::dispatch(Event*, double) () #1 0x081c2374 in Scheduler::run() () #2 0x081c2521 in Scheduler::command(int, char const* const*) () #3 0x083c4a1a in TclClass::dispatch_cmd(void*, Tcl_Interp*, int, char const**) () #4 0x083c8412 in OTclDispatch (cd=0x87f03e8, in=0x8625960, argc=3, argv=0xbfffd920) at otcl.c:434 #5 0x083cee4e in TclInvokeStringCommand () #6 0x083d136b in TclEvalObjvInternal () #7 0x083fba3e in TclExecuteByteCode () #8 0x083ffbcd in TclCompEvalObj () #9 0x083fbf90 in TclExecuteByteCode () #10 0x083ffbcd in TclCompEvalObj () #11 0x0842a2ab in TclObjInterpProc () #12 0x0842a6e0 in TclProcInterpProc () #13 0x083c859a in OTclDispatch (cd=0x87f03e8, in=0x8625960, argc=2, argv=0xbfffe420) at otcl.c:477 2. Program received signal SIGSEGV, Segmentation fault. _int_malloc (av=0x5863a0, bytes=16) at malloc.c:4298 4298 while ((pp = catomic_compare_and_exchange_val_acq (fb, victim->fd, victim)) #0 _int_malloc (av=0x5863a0, bytes=16) at malloc.c:4298 #1 0x0046a7a0 in __libc_malloc (bytes=16) at malloc.c:3660 #2 0x04e1a21a in operator new (sz=16) at ../../../../libstdc++-v3/libsupc++/new_op.cc:52 #3 0x081dcb74 in PacketData::copy() () #4 0x081d0b5c in Packet::copy() const () #5 0x082714fd in WirelessChannel::sendUp(Packet*, Phy*) () #6 0x08270c90 in Channel::recv(Packet*, Handler*) () #7 0x0829a0b8 in WirelessPhy::sendDown(Packet*) () #8 0x08299078 in Phy::recv(Packet*, Handler*) () #9 0x0827cff5 in Mac802_11::transmit(Packet*, double) () #10 0x08276844 in Mac802_11::check_pktTx() () #11 0x08275a0d in Mac802_11::backoffHandler() () #12 0x0829db58 in BackoffTimer::handle(Event*) () #13 0x081c2440 in Scheduler::dispatch(Event*, double) () #14 0x081c2374 in Scheduler::run() () #15 0x081c2521 in Scheduler::command(int, char const* const*) () #16 0x083c4bf6 in TclClass::dispatch_cmd(void*, Tcl_Interp*, int, char const**) () #17 0x083c85e2 in OTclDispatch (cd=0x87f03d8, in=0x8625960, argc=3, argv=0xbfffd910) at otcl.c:434 .. I have tried to fix the errors but I havent succeeded until now. I hope you can give advices to me. Thanks you very much Best regards,