Simulation terminated with exit code: 139

1,202 views
Skip to first unread message

Aska123

unread,
May 19, 2013, 4:11:07 AM5/19/13
to omn...@googlegroups.com
Hello friends

I am trying to implement "getting start with IDE" , demo example given on omnet website.

when I try to launch configuration with 

demo.ini file and queuelib.so file 

error 


Simulation terminated with exit code: 139

Also there is no queuelib.exe file in queuelib folder.

screenshot of 4.3 are not same as given in  demo example

Thanks

Aska123

unread,
May 19, 2013, 4:14:03 AM5/19/13
to omn...@googlegroups.com
ALos there is c on reference project queuelib

Aska123

unread,
May 19, 2013, 4:16:35 AM5/19/13
to omn...@googlegroups.com

Starting...

$ cd /home/rohini/omnetpp-4.3/samples/demo1
$ ../queueinglib/libqueueinglib.so -r 0 -u Cmdenv -c General -n .:../queueinglib:../queuenet -l ../queueinglib/queueinglib omnetpp.ini


Simulation terminated with exit code: 139
Working directory: /home/rohini/omnetpp-4.3/samples/demo1
Command line: ../queueinglib/libqueueinglib.so -r 0 -u Cmdenv -c General -n .:../queueinglib:../queuenet -l ../queueinglib/queueinglib omnetpp.ini

Environment variables:
LD_LIBRARY_PATH=/home/rohini/omnetpp-4.3/lib::/home/rohini/omnetpp-4.3/samples/queueinglib:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/local/lib
PATH=/home/rohini/omnetpp-4.3/bin::/home/rohini/omnetpp-4.3/bin:/home/rohini/omnetpp-4.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:home/rohini/castalia/trunk/Castalia/bin
OMNETPP_IMAGE_PATH=/home/rohini/omnetpp-4.3/images

On Sunday, May 19, 2013 1:41:07 PM UTC+5:30, Aska123 wrote:

Rudolf Hornig

unread,
May 19, 2013, 1:25:30 PM5/19/13
to omn...@googlegroups.com
You are doing something wrong... It seems you are trying to start directly a shared object library. Shared libraries are meant to be started using opp_run instead of directly executing them. so go and change that setting in the launch configuration.

It is also confucing that sometimes you refer to .exe files which would imply that you are using windows but after then you seem to have .so files which are used on Linux....

Aska123

unread,
May 20, 2013, 3:03:51 AM5/20/13
to omn...@googlegroups.com
Thanks for replying

I have installed omnet on both linux and windows.
In documnetation (IDE screenshot) , instructor has used .exe file , but I was not able to find it. so i opened window version , and chooes .exe.

But in both case I am getting  same error.

I am following same steps as given in example.

please clarify which .so is used , 

i.e. what shoud I demo.exe(.so) or queuelib.exe(so).

Also what to use opp_run from terminal or Run from IDE.

one more thing , how to create a sensor node in castalia?

I am reading documentation. But I am unable to start with first ned file

please help.
Thanks

turingns2

unread,
Mar 11, 2014, 4:39:21 PM3/11/14
to omn...@googlegroups.com
Hi,

I get working on Ubuntu choosing 'opp_run' and 'Command Line' (in Options). Also, I changed the .ini file as follow:

[General]
network = fattreeopenflow.Untitled
cmdenv-status-frequency = 2s
record-eventlog = true
sim-time-limit = 20s
**.source.interArrivalTime = 0
**.source.numJobs = ${jobs=30,60}
**.serviceTime = exponential(${serviceMean=1s})


Luai E Hasnawi

unread,
Oct 9, 2014, 2:52:45 PM10/9/14
to omn...@googlegroups.com
I know it is kind of late but I figured it out.

You are trying to cancelAndDelete() something that is already been deleted.

check out the deconstructor  for each module
Reply all
Reply to author
Forward
0 new messages