Strange error when running simulation

232 views
Skip to first unread message

mixsum

unread,
Apr 25, 2012, 10:06:30 AM4/25/12
to omn...@googlegroups.com
Salam Alykum,

I am using omnet 4.1, the framework inetmanet and sumo 0.12.2

when I run urban_model example (the same thing for Highway_Model, traci_launchd) here what I get:

in omnet: 
It start the simulation window, when I begin provide parameters, the window disapear and the console omnet show this:



Loading images from /home/rim/vanet-4G/inetmanet/examples/Urban_Model/bitmaps: *: 0  
Loading images from /home/rim/omnetpp-4.1/images: *: 0  msg/*: 55  old/*: 111  background/*: 4  misc/*: 70  block/*: 320  device/*: 195  status/*: 28  maps/*: 9  abstract/*: 90  

Plugin path: ./plugins

Simulation terminated with exit code: 139
Command line: /home/rim/omnetpp-4.1/bin/opp_run -r 0 -n /home/rim/vanet-4G/inetmanet/examples:/home/rim/vanet-4G/inetmanet/src -l /home/rim/vanet-4G/inetmanet/src/inet /home/rim/vanet-4G/inetmanet/examples/Urban_Model/omnetpp.ini

Working directory: /home/rim/vanet-4G/inetmanet/examples/Urban_Model

LD_LIBRARY_PATH=/home/rim/omnetpp-4.1/lib::/home/rim/vanet-4G/inetmanet/src:/home/rim/omnetpp-4.1/lib::/home/rim/rimproject/inetmanet/src:/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386::/home/rim/omnetpp-4.1/lib:/opt/omnetpp­-4.1/lib:/usr/lib/xulrunner-addons:/usr/lib/xulrunner-addons:/usr/lib/xulrunner-addons
PATH=/home/rim/omnetpp-4.1/bin::/home/rim/omnetpp-4.1/bin::/home/rim/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/rim/omnetpp-4.1/bin
OMNETPP_IMAGE_PATH=/home/rim/omnetpp-4.1/images




in the terminal,after I launch the script sumo, here what I get:


rim@rim-laptop:~$ '/home/rim/vanet-4G/sumo-launchd.py' -vv '/home/rim/omnet/sumo-0.12.2/bin/sumo-gui' 
Logging to /tmp/sumo-launchd.log
Listening on port 9999

Connection from 127.0.0.1 on port 49379
Handling connection from 127.0.0.1 on port 49379
Got TraCI message of length 263
Got TraCI command of length 258
Got TraCI command 0x75
Got CMD_FILE_SEND for "sumo-launchd.launch.xml"
Got CMD_FILE_SEND with data "<launch>
  <copy file="example.net.xml"/>
  <copy file="example.rou.xml"/>
  <copy file="example.sumo.cfg" type="config"/>
  <basedir path="/home/rim/vanet-4G/inetmanet/examples/Highway_Model/"/>
  <seed value="0"/>
</launch>
"
Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-7MfDJe
Base dir is /home/rim/vanet-4G/inetmanet/examples/Highway_Model/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 35087
Starting SUMO (sumo -c example.sumo.cfg) on port 35087, seed 0
Connecting to SUMO (sumo -c example.sumo.cfg) on port 35087 (try 1)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c example.sumo.cfg) on port 35087 (try 2)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c example.sumo.cfg) on port 35087 (try 3)
Releasing lock on port
Starting proxy mode
Done with proxy mode
Done with proxy mode, killing SUMO
Done running SUMO
Cleaning up
Result: "<?xml version="1.0"?>
<status>
<exit-code>1</exit-code>
<start>1335359969</start>
<end>1335359972</end>
<status>Exited with error code 1</status>
<stdout><![CDATA[Loading configuration... done.
Step #1.00]]></stdout>0.00*RT, ~1000.00UPS, vehicles TOT 1 ACT 1)             
<stderr><![CDATA[Error: tcpip::Socket::receive() @ recv: Invalid argument
Quitting (on error).
]]></stderr>
</status>
"
Closing connection from 127.0.0.1 on port 49379




Should I re install componenets, 
Have you an idea plz ?


Great thanks

Christoph Sommer

unread,
Apr 25, 2012, 10:42:45 AM4/25/12
to omn...@googlegroups.com
Dear Rim,

mixsum wrote:
> I am using omnet 4.1, the framework inetmanet and sumo 0.12.2
> [...]
> Simulation terminated with exit code: 139

139 = 128 + SIGSEGV, so this is very likely a memory issue.

Might be the one mentioned in

https://groups.google.com/d/msg/omnetpp/GcrlHrQUoX8/j8f8zk6IoqUJ


Best,

Christoph

--
Dr.-Ing. Christoph Sommer
Institute of Computer Science
University of Innsbruck, Austria
Phone: +43 512 507-96835 / Fax: -9888
http://ccs.uibk.ac.at/~sommer/

rim negra

unread,
Apr 25, 2012, 10:54:01 AM4/25/12
to omn...@googlegroups.com
when converting from dBm to mW I get this: 

Wrong value `0mW' for parameter `Myscenario.channelcontrol.sat': Cannot convert unit 'mW' (milliwatt) to 'dBm'



--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp



--
NEGRA Rim
HANA Research Group, CRISTAL Laboratory
ENSI, University of Manouba, Tunisia



Rudolf Hornig

unread,
Apr 25, 2012, 5:45:27 PM4/25/12
to omn...@googlegroups.com
That's a correct error message. You cannot and should not convert mW to dBm as they are incompatible.

Rudolf

Daniel Pfefferkorn

unread,
Apr 26, 2012, 9:39:49 AM4/26/12
to omn...@googlegroups.com
IIRC they are very much compatible!

P[dBm] = 10 log_10(P[mW])

Since dBm is just a logarithmic representation of power normalized to 1
mW I don't understand your comment.

Isn't it more a case of a false numerical value here, being that log 0
is undefined?

Daniel


Am 25.04.2012 23:45, schrieb Rudolf Hornig:
> That's a correct error message. You cannot and should not convert mW to
> dBm as they are incompatible.
>
> Rudolf
>
> On Wednesday, April 25, 2012 4:54:01 PM UTC+2, mixsum wrote:
>
> when converting from dBm to mW I get this:
>
> Wrong value `0mW' for parameter `Myscenario.channelcontrol.sat':
> Cannot convert unit 'mW' (milliwatt) to 'dBm'
>
>
> Le 25 avril 2012 15:42, Christoph Sommer
> <christop...@uibk.ac.at <mailto:christop...@uibk.ac.at>> a
> �crit :
Reply all
Reply to author
Forward
0 new messages