Simulation terminated with exit code: 139

974 views
Skip to first unread message

Pragya Biswas

unread,
Jul 18, 2018, 5:28:18 AM7/18/18
to OMNeT++ Users
Hello,
I am getting the following terminationwhile running the ini file in omnet++/veins:

Simulation terminated with exit code: 139
Working directory: /home/pragya/veins-veins-4.6/examples/veins
Command line: opp_run -m -u Qtenv -n .:../../src/veins --image-path=../../images -l ../../src/veins omnetpp.ini

Environment variables:
PATH=/home/pragya/omnetpp-5.3/bin::/home/pragya/bin:/home/pragya/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
LD_LIBRARY_PATH=/home/pragya/omnetpp-5.3/lib::/home/pragya/veins-veins-4.6/src:
OMNETPP_IMAGE_PATH=/home/pragya/omnetpp-5.3/images

Can anyone help me in overcoming this?

Regards,
Pragya

Alexander Brummer

unread,
Jul 19, 2018, 1:40:11 AM7/19/18
to omn...@googlegroups.com
Hi,

exit code 139 usually indicates a segmentation fault, so there's
probably a problem with memory access in your code (see e.g. here:
https://groups.google.com/forum/#!topic/omnetpp/_zonGWenUqg).

Best regards,
Alex
> --
> 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
> <mailto:omnetpp+u...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/omnetpp.
> For more options, visit https://groups.google.com/d/optout.
--
Alexander Brummer, M.Sc.

Friedrich-Alexander University Erlangen-Nürnberg (FAU)
Computer Science 7 - Computer Networks and Communication Systems

Mail: alexande...@fau.de | Web: http://www7.cs.fau.de/go/brummer

Rashmi Varma

unread,
Aug 1, 2018, 5:16:31 PM8/1/18
to omn...@googlegroups.com


Hi,

If you are still stuck, below is the link to a good tutorial on how to debug



Reply all
Reply to author
Forward
0 new messages