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

[ns] bus error



Hi NS friends,

I have tried running the simple-eqp.tcl and simple-eqp1.tcl 
examples out of the tcl/ex directory came with ns-allinone-2.1b7. 
Both examples resulted in bus errors at the same point of the following:

Program received signal SIGBUS, Bus error.
0xff1cd434 in FlushChannel () from /home/mfeng/ns/tclbox/lib/libtcl8.3.so
(gdb) up
#1  0xff1cf854 in Tcl_Flush () from /home/mfeng/ns/tclbox/lib/libtcl8.3.so
(gdb) up
#2  0x7e4dc in Trace::command (this=0x2ec8e0, argc=2, argv=0xffbeb5e4) at 
trace.cc:132
(gdb) up
#3  0x128c84 in TclClass::dispatch_cmd () at linkstate/rtProtoLS.cc:45
(gdb) up
#4  0x12bb70 in OTclDispatch (cd=0x2ec648, in=0x271638, argc=0, argv=0xffbeb668) 
at otcl.c:421

Can any friend help me to locat the problem? My machine configuration is:

OS:       SunOS 5.7
gcc:      2.95.2
ns:       2.1b7 (allinone with nam, Tcl, Tk, otcl)

Many thanks in advance.

Ming Feng