Simulation terminated with exit code: 139 - creating a dynamic module

800 views
Skip to first unread message

Ana Lopes

unread,
May 10, 2019, 1:08:17 PM5/10/19
to OMNeT++ Users
Hi,

I'm trying to create a dynamic module. For that in my .ned file I have 

pedestrianVideoDynamic: WirelessHost {

            parameters:

                @dynamic;

                @display("p=267,182;i=device/wifilaptop");

        }

scenarioManager: ScenarioManager {

            parameters:

                @display("p=100,265;is=s");

        } 
Among other things...

Then I have a scenario.xml file where I intend to create the dynamic module. No error is detected, the simulation begins just fine but when the module is created the simulation crashes with the next error:

Simulation terminated with exit code: 139

Working directory: /home/ritalopes/Documents/omnetpp-5.1/samples/tese

Command line: opp_run -m -n .:../inet/src:../inet/examples:../inet/tutorials:../inet/showcases --image-path=../inet/images -l ../inet/src/INET omnetpp.ini


Environment variables:

PATH=/home/ritalopes/Documents/omnetpp-5.1/bin::/home/ritalopes/omnetpp-5.1/images:/home/ritalopes/omnetpp-5.1/bin:/home/ritalopes/bin:/home/ritalopes/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ritalopes/Documents/omnetpp-5.1/bin:/home/ritalopes/Documents/omnetpp-5.1/images

LD_LIBRARY_PATH=/home/ritalopes/Documents/omnetpp-5.1/lib::/home/ritalopes/Documents/omnetpp-5.1/samples/inet/src:

OMNETPP_IMAGE_PATH=/home/ritalopes/Documents/omnetpp-5.1/images


My omnet version is 5.1 and INET version is 3.6 
I think it was something to do about the type of the dynamic module or with its parent, but I don't know what to change. I put images of the files to make it easier to help.

Please help 
Thanks,

Rita Lopes 
Captura de ecrã 2019-05-10, às 18.04.48.png
Captura de ecrã 2019-05-10, às 18.05.10.png
Captura de ecrã 2019-05-10, às 18.05.14.png
Message has been deleted
Message has been deleted

Ujjval Rathod

unread,
Sep 15, 2020, 6:33:48 AM9/15/20
to omn...@googlegroups.com
Hi,

Most probably you have a segmentation fault in your simulation. This occurs when you try to access invalid memory location. Check your code. You can use debugger to see where exactly this error occurs.

Best,
Ujjval

On Tue, Sep 15, 2020 at 12:25 PM chimou mimou <chaima.zo...@gmail.com> wrote:

Hello, I got the same error too.

I am using instant veins with simulte, I tried to simulate the example : lte/simulations/cars/omnetpp.ini it runs at the beginning but there'are no images of cars, when I checked the source code of the .ini file I found warnings on everything related to veins or to cars, also when I look for Car.ned at Lte/src/Corenetwork/nodes I found warnings everywhere and the folder Cars is crossed out.When I finished the simulation (using express run) I got the following error:

Simulation terminated with exit code: 139 Working directory: /home/veins/src/simulte/simulations/cars Command line: opp_run -m -n ..:../../src:../../../inet/src:../../../inet/examples:../../../inet/tutorials:../../../inet/showcases:../../../veins/subprojects/veins_inet3/src/veins_inet:../../../veins/subprojects/veins_inet3/examples/veins_inet:../../../veins/examples/veins:../../../veins/src/veins --image-path=../../images:../../../inet/images:../../../veins/subprojects/veins_inet3/images:../../../veins/images -l ../../src/lte -l ../../../inet/src/INET -l ../../../veins/subprojects/veins_inet3/src/veins_inet -l ../../../veins/src/veins omnetpp.ini

Environment variables: PATH=/home/veins/src/omnetpp-5.5.1/bin::/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/veins/bin:/home/veins/src/omnetpp/bin:/home/veins/src/sumo/bin LD_LIBRARY_PATH=/home/veins/src/omnetpp-5.5.1/lib::/home/veins/src/simulte/src:/home/veins/src/inet/src:/home/veins/src/veins/subprojects/veins_inet3/src:/home/veins/src/veins/src: OMNETPP_IMAGE_PATH=/home/veins/src/omnetpp-5.5.1/images

Can you please tell me how to fix it.veinsERROR.JPG



I think it was something to do about the type of the dynamic module or with its parent, but I don't know what to change. I put images of the veinsERROR3.JPGfiles to make it easier to help.

Please help 
Thanks,

Rita Lopes 

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/b9174279-7169-458d-bc1c-2cd552dd42c3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages