Hello everybody ,
i'm using INET-20061020 and omnet3.3.
I just tried to check if the examples work or not.
After the installation everything seems to be OK .
I run the example LANs in the ./Examples/Ethernet/LANs directory and it worked fine.
Then I typed ./ArpTest in the ./Examples/Ethernet/ARPTest directory.
After it loads the NED files I get this error:
Plugin path: ....path/Examples/Ethernet/ARPTest/../../../Etc/plugins;./plugins
Loading tcl files from ...path/INET-20061020/Examples/Ethernet/ARPTest/../../../Etc/plugins: contextmenu.tcl
*** longjmp causes uninitialized stack frame ***: ../../../bin/INET terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0x66a0a0]
.
.
etc
======= Memory map: ========
00110000-001e5000 r-xp 00000000 08:05 2804742 /usr/lib/libtk8.4.so.0
.
.
etc
.
bfbbc000-bfbdf000 rw-p 00000000 00:00 0 [stack]
./ARPTest: line 1: 16882 Aborted ../../../bin/INET $*
if i run the ARPTest it in gdb the backtrace is this one:
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x00548e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0x0054c34e in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0x005807f7 in ?? () from /lib/i386-linux-gnu/libc.so.6
#4 0x006050a0 in __fortify_fail () from /lib/i386-linux-gnu/libc.so.6
#5 0x0060500a in ?? () from /lib/i386-linux-gnu/libc.so.6
#6 0x00604f79 in __longjmp_chk () from /lib/i386-linux-gnu/libc.so.6
#7 0x08476f28 in task_create(void (*)(void*), void*, unsigned int) ()
#8 0x08432b8f in cCoroutine::setup(void (*)(void*), void*, unsigned int) ()
#9 0x0843df72 in cSimpleModule::cSimpleModule (this=0x8e80520, stksize=65536) at csimplemodule.cc:190
#10 0x0826c6a5 in TCPSessionApp__create() ()
#11 0x084345ba in cModuleType::create(char const*, cModule*, int, int) ()
#12 0x08482077 in cNEDNetworkBuilder::addSubmodule(cModule*, SubmoduleNode*) ()
#13 0x0848291b in cNEDNetworkBuilder::buildInside(cModule*, CompoundModuleNode*) ()
#14 0x0847ccf1 in cDynamicModuleType::buildInside(cModule*) ()
#15 0x0847cbe8 in cDynamicCompoundModule::doBuildInside() ()
#16 0x0843c7f6 in cModule::buildInside (this=0x8e51e90) at cmodule.cc:602
#17 0x084829c3 in cNEDNetworkBuilder::buildInside(cModule*, CompoundModuleNode*) ()
#18 0x0847ccf1 in cDynamicModuleType::buildInside(cModule*) ()
#19 0x0847cbe8 in cDynamicCompoundModule::doBuildInside() ()
#20 0x0843c7f6 in cModule::buildInside (this=0x8e56438) at cmodule.cc:602
#21 0x08480db5 in cNEDNetworkBuilder::setupNetwork(NetworkNode*) ()
#22 0x0847cf5a in cDynamicNetworkType::setupNetwork() ()
#23 0x08442348 in cSimulation::setupNetwork (this=0x86239a0, network=0x86412b8, run_num=1) at csimul.cc:359
#24 0x08410714 in TOmnetTkApp::newRun (this=0x8635580, run=1) at tkapp.cc:691
#25 0x084165ce in newRun_cmd (interp=0x86df1b8, argc=2, argv=0xbfffe8d0) at tkcmd.cc:228
#26 0x0022dfbe in TclInvokeStringCommand () from /usr/lib/libtcl8.4.so.0
#27 0x0022f3db in TclEvalObjvInternal () from /usr/lib/libtcl8.4.so.0
#28 0x0025b27e in ?? () from /usr/lib/libtcl8.4.so.0
#29 0x0025895d in TclCompEvalObj () from /usr/lib/libtcl8.4.so.0
#30 0x0028ef6c in TclObjInterpProc () from /usr/lib/libtcl8.4.so.0
#31 0x0022f3db in TclEvalObjvInternal () from /usr/lib/libtcl8.4.so.0
#32 0x00230189 in Tcl_EvalEx () from /usr/lib/libtcl8.4.so.0
#33 0x002304ac in Tcl_Eval () from /usr/lib/libtcl8.4.so.0
#34 0x0840f09a in TOmnetTkApp::run (this=0x8635580) at tkapp.cc:208
#35 0x08404708 in main (argc=1, argv=0xbffff374) at main.cc:35
I checked on the web and seems that should be something wrong with libcurl.
Does anyone know how to fix this?
Thanks
Gaetano