Help Me please

643 views
Skip to first unread message

Samira Harrabi

unread,
Sep 30, 2014, 11:03:01 AM9/30/14
to omn...@googlegroups.com
Kindly

How can help me to solve this problem :

Starting...

$ cd /home/samira/Bureau/these/veins/examples/veins
$ opp_run -r 0 -n .:../../src --tkenv-image-path=../../images -l ../../src/veins omnetpp.ini

OMNeT++ Discrete Event Simulation  (C) 1992-2013 Andras Varga, OpenSim Ltd.
Version: 4.4.1, build: 140307-1086eab, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
Setting up Tkenv...
Loading NED files from .: 1
Loading NED files from ../../src: 29
Loading NED files from /home/samira/Bureau/these/veins/examples/veins: 1

*** BLT Tcl/Tk extension not found -- please make sure it is installed, and TCL_LIBRARY is set properly.

Loading images from /home/samira/Bureau/these/veins/images: *: 0  status/*: 6 
Loading images from /home/samira/samirathese/omnetpp-4.4.1/images: *: 0  status/*: 28  block/*: 320  maps/*: 9  msg/*: 55  abstract/*: 90  old/*: 111  misc/*: 70  background/*: 4  device/*: 195 

Plugin path: ./plugins

RUNTIME ERROR. A cRuntimeError exception is about to be thrown, and you
requested (by setting debug-on-errors=true in the ini file) that errors
abort execution and break into the debugger.

You should now probably be running the simulation under gdb or another
debugger. The simulation kernel will now raise a SIGABRT signal which will
get you into the debugger. If you are not running under a debugger, you can
still use the core dump for post-mortem debugging. Once in the debugger,
view the call stack (in gdb: "bt" command) to see the context of the
runtime error.

<!> Error in module (Veins::TraCIScenarioManagerLaunchd) RSUExampleScenario.manager (id=6) at event #1, t=0: Model error: Connection to TraCI server lost. Check your server's log. Error message: 104: Connection reset by peer.

TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready?

Simulation terminated with exit code: 133
Working directory: /home/samira/Bureau/these/veins/examples/veins
Command line: opp_run -r 0 -n .:../../src --tkenv-image-path=../../images -l ../../src/veins omnetpp.ini

Environment variables:
PATH=/home/samira/samirathese/omnetpp-4.4.1/bin::/home/samira/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
LD_LIBRARY_PATH=/home/samira/samirathese/omnetpp-4.4.1/lib::/home/samira/Bureau/these/veins/src:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/client:/usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386:
OMNETPP_IMAGE_PATH=/home/samira/samirathese/omnetpp-4.4.1/images

Christoph Sommer

unread,
Sep 30, 2014, 11:08:04 AM9/30/14
to omn...@googlegroups.com
Samira Harrabi wrote:
>
> How can help me to solve this problem :
>
> [...] at event #1, t=0: Model error: Connection to TraCI server lost. Check your server's log.

You will need to check your server's log.

Simulations using Veins run three programs in parallel: OMNeT++ runs
the network simulation, SUMO runs the road traffic simulation, and
sumo-launchd acts as a proxy between both. Consequently, the first step
should be finding out which program crashed.

Debug output for sumo-launchd can be found on the console, as well as in
its log file. Please refer to its --verbose and --logfile parameters for
controlling how much (and where) information is written.

Debug output for SUMO (both stdout and stderr) is captured by
sumo-launchd and stored in its log files (see above).

Finally, debug output for OMNeT++ can be found on the console
(immediately before the "simulation terminated" line). You can get more
in-depth information by enabling debug-on-errors and running the
simulation with a debugger attached (see below).

More information can be found on the Veins FAQ at
http://veins.car2x.org/documentation/faq/

Best,

Christoph



--
Dr. Christoph Sommer
Distributed Embedded Systems Group
University of Paderborn, Germany
http://www.ccs-labs.org/~sommer/
Reply all
Reply to author
Forward
0 new messages