[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] problem on 2.1b7 all-in-one package



Seems 2.1b7 breaks some of the script that I used to be able to run
under 2.1b6.
for example, Wireless3.tcl in Mark's tutorial can not be run.

Also running "ns test-suite-wireless-lan.tcl dsdv-wireless-mip"
under ns/tcl/test directory gives a core-dump.

here is the gdb stack trace. anybody got some idea?

************************8

Program received signal SIGSEGV, Segmentation fault.
0x9cc24 in TcpAgent::output ()
(gdb) bt 
#0  0x9cc24 in TcpAgent::output ()
#1  0x9d170 in TcpAgent::send_much ()
#2  0x9cdec in TcpAgent::sendmsg ()
#3  0x97928 in Agent::command ()
#4  0x9d018 in TcpAgent::command ()
#5  0x1373f4 in TclClass::dispatch_cmd ()
#6  0x13a2e0 in OTclDispatch (cd=0x525cc0, in=0x30d468, argc=0, 
    argv=0xffbeb338) at otcl.c:421
#7  0x13f060 in TclInvokeStringCommand ()
#8  0x15ba50 in TclExecuteByteCode ()
#9  0x13fbf4 in Tcl_EvalObjEx ()
#10 0x15bc6c in TclExecuteByteCode ()
#11 0x13fbf4 in Tcl_EvalObjEx ()
#12 0x181dc0 in TclObjInterpProc ()
#13 0x18198c in TclProcInterpProc ()
#14 0x13a46c in OTclDispatch (cd=0x525cc0, in=0x30d468, argc=0, 
    argv=0xffbebc58) at otcl.c:464
#15 0x13f060 in TclInvokeStringCommand ()
#16 0x15ba50 in TclExecuteByteCode ()
#17 0x13fbf4 in Tcl_EvalObjEx ()
#18 0x181dc0 in TclObjInterpProc ()
#19 0x18198c in TclProcInterpProc ()
#20 0x13a2e0 in OTclDispatch (cd=0x528218, in=0x30d468, argc=0, 
---Type <return> to continue, or q <return> to quit---
    argv=0xffbec3d8) at otcl.c:421
#21 0x13f060 in TclInvokeStringCommand ()
#22 0x17a450 in EvalObjv ()
#23 0x17aa94 in Tcl_EvalEx ()
#24 0x17ac84 in Tcl_Eval ()
#25 0x1413cc in Tcl_GlobalEval ()
#26 0x136cdc in Tcl::eval ()
#27 0x87a40 in AtHandler::handle ()
#28 0x87a08 in Scheduler::dispatch ()
#29 0x87a24 in Scheduler::dispatch ()
#30 0x87960 in Scheduler::run ()
#31 0x87afc in Scheduler::command ()
#32 0x1373f4 in TclClass::dispatch_cmd ()
#33 0x13a2e0 in OTclDispatch (cd=0x37e5e8, in=0x30d468, argc=0, 
    argv=0xffbeccd0) at otcl.c:421
#34 0x13f060 in TclInvokeStringCommand ()
#35 0x15ba50 in TclExecuteByteCode ()
#36 0x13fbf4 in Tcl_EvalObjEx ()
#37 0x15bc6c in TclExecuteByteCode ()
#38 0x13fbf4 in Tcl_EvalObjEx ()
#39 0x181dc0 in TclObjInterpProc ()
#40 0x18198c in TclProcInterpProc ()
#41 0x13a46c in OTclDispatch (cd=0x37e5e8, in=0x30d468, argc=0, 
---Type <return> to continue, or q <return> to quit---
    argv=0xffbed5f0) at otcl.c:464
#42 0x13f060 in TclInvokeStringCommand ()
#43 0x15ba50 in TclExecuteByteCode ()
#44 0x13fbf4 in Tcl_EvalObjEx ()
#45 0x181dc0 in TclObjInterpProc ()
#46 0x18198c in TclProcInterpProc ()
#47 0x13a2e0 in OTclDispatch (cd=0x386e30, in=0x30d468, argc=0, 
    argv=0xffbedd70) at otcl.c:421
#48 0x13f060 in TclInvokeStringCommand ()
#49 0x15ba50 in TclExecuteByteCode ()
#50 0x13fbf4 in Tcl_EvalObjEx ()
#51 0x181dc0 in TclObjInterpProc ()
#52 0x18198c in TclProcInterpProc ()
#53 0x13a2e0 in OTclDispatch (cd=0x377080, in=0x30d468, argc=0, 
    argv=0xffbee4f0) at otcl.c:421
#54 0x13f060 in TclInvokeStringCommand ()
#55 0x15ba50 in TclExecuteByteCode ()
#56 0x13fbf4 in Tcl_EvalObjEx ()
#57 0x181dc0 in TclObjInterpProc ()
#58 0x17a450 in EvalObjv ()
#59 0x17aa94 in Tcl_EvalEx ()
#60 0x17167c in Tcl_EvalFile ()
#61 0x17457c in Tcl_Main ()
---Type <return> to continue, or q <return> to quit---
#62 0x8529c in main ()
*************************************

-- 
Bin Yao
<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>
P.O.Box 522                             
1285 EE building 
West Lafayette 
IN 47907-1285

Tel: 765-49-43474(O)
Fax: 765-49-49875(O)
HTTP://shay.ecn.purdue.edu/~yaob/
<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>