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

关于在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.

由于可能有很多原因,我不可能全部帮你找出来,所以你需要一个调试器。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值