Error code -11

89 views
Skip to first unread message

Joao

unread,
Feb 5, 2010, 7:26:50 AM2/5/10
to ns-3-users
Hi,

I am getting an error while running a simulation as follows:

Command ['/home/ns3/ns-3-allinone/ns-3-dev/build/debug/scratch/
collision_rate', '--distance=400', '--tracing=1'] exited with code -11

No more information is provided and I can't find the cause. Is there a
way to get more information? Or a list of what error codes mean?

Thanks,
João

Björn Lichtblau

unread,
Feb 5, 2010, 7:35:49 AM2/5/10
to ns-3-...@googlegroups.com
Hi,
this is a segfault, run it with a debugger, most likely gdb.

For a quick start:
./waf --run collision_rate --command-template="gdb %s"
Then type "run", your sim will run til the segfault.
Then type "backtrace" and you should be able to see where it occured.

See also
http://www.nsnam.org/wiki/index.php/User_FAQ#How_to_run_NS-3_programs_under_another_tool

Regards, Bj�rn

> Jo�o
>
>

Gustavo Carneiro

unread,
Feb 5, 2010, 7:55:56 AM2/5/10
to ns-3-...@googlegroups.com
On Fri, Feb 5, 2010 at 12:26 PM, Joao <joavi...@gmail.com> wrote:
Hi,

I am getting an error while running a simulation as follows:

Command ['/home/ns3/ns-3-allinone/ns-3-dev/build/debug/scratch/
collision_rate', '--distance=400', '--tracing=1'] exited with code -11

Exit code -X means the program received signal X.  In this case, segfault.

 

No more information is provided and I can't find the cause. Is there a
way to get more information? Or a list of what error codes mean?

Thanks,
João

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
Reply all
Reply to author
Forward
0 new messages