After upgrading from ns-2.33 to ns-2.35, every ns2 run ends with the message: 

Aborted (core dumped).

My first ns-2.35 installation was on cygwin 1.7.13-1 and WinXP Professional 
SP3. Now I'm seeing the same behavior with cygwin 1.7.20-1 and Win7 Enterprise 
SP1.

The following is a gdb backtrace from running a very simple script (found here: 
http://blog.eviac.com/2012/11/ns-2-simulation.html).

Any idea about causes/solutions?

-- Andrea


Program received signal SIGABRT, Aborted.
0x6c9f00d7 in Tcl_Exit () from /home/francini/ns-allinone-2.35/ns-2.35/libns.dll
(gdb) backtrace
#0  0x6c9f00d7 in Tcl_Exit () from 
/home/francini/ns-allinone-2.35/ns-2.35/libns.dll
#1  0x00289240 in ?? ()
#2  0x75c212cc in WriteFile () from /cygdrive/c/WINDOWS/syswow64/kernel32.dll
#3  0x610df0eb in sig_send(_pinfo*, siginfo_t&, _cygtls*)@12 (p=<optimized 
out>, si=..., tls=0x289240) at 
/usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/sigproc.cc:639
#4  0x610dc463 in _pinfo::kill(siginfo_t&)@8 (this=0x60fd0000, si=...) at 
/usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/signal.cc:248
#5  0x610dc968 in kill0 (si=..., pid=5880) at 
/usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/signal.cc:299
#6  kill (pid=5880, sig=6) at 
/usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/signal.cc:308
#7  0x610dcafc in raise (sig=6) at 
/usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/signal.cc:284
#8  0x610dcd73 in abort () at 
/usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/signal.cc:371
#9  0x6c665111 in __deregister_frame_info_bases (begin=0x403000 
<__EH_FRAME_BEGIN__>) at /usr/src/debug/gcc-4.7.3-1/libgcc/unwind-dw2-fde.c:213
#10 0x00401172 in __gcc_deregister_frame ()
#11 0x61006419 in do_global_dtors () at 
/usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/dcrt0.cc:62
#12 0x611623b5 in __call_exitprocs (code=0, d=0x0) at 
/usr/src/debug/cygwin-1.7.20-1/newlib/libc/stdlib/__call_atexit.c:118
#13 0x61139b7a in exit (code=0) at 
/usr/src/debug/cygwin-1.7.20-1/newlib/libc/stdlib/exit.c:61
#14 0x6100705b in cygwin_exit (n=0) at 
/usr/src/debug/cygwin-1.7.20-1/winsup/cygwin/dcrt0.cc:1245
#15 0x610d9285 in _sigfe () from /usr/bin/cygwin1.dll
#16 0x0028965c in ?? ()
#17 0x00000000 in ?? ()


Reply via email to