您的位置:首页 > 其它

ns3--HOWTO understand and find cause of terminated with signal errors

2016-09-01 12:29 357 查看
关于在ns3中如何理解和找到『terminated with signal errors』的原因。

原文链接:

https://www.nsnam.org/wiki/HOWTO_understand_and_find_cause_of_terminated_with_signal_errors

ns3开发者常常碰到的一个问题是:我写好了我的代码,但是当我运行的时候,碰到一个以『terminated with signal SIGSEGV』的红色字体提示。那我该怎么办呢?

SIGSEGV

当你的程序以
SIGSEGV
退出的时候,那是因为你的程序做了操作系统认为你会访问糟糕的内存空间的代码。那行红色的错误提示行只是告诉你发生了什么。下一步你应该找出到底你做了什么OS不喜欢的事情。

So, when your program exits with a SIGSEGV, it has done something that the operating system considers as bad with respect to accessing memory. The red line with the error code from waf is simply telling you what has happened. Your next job is to figure out what you did that the operating system doesn’t like.

由于可能有很多原因,我不可能全部帮你找出来,所以你需要一个调试器。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐