Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.4k views
in Technique[技术] by (71.8m points)

strace跟踪进程(mosquitto)运行一段时间自动挂掉原因

linux上有一个进程(mosquitto)启动之后,过几分钟或者几小时就会无缘无故自动挂掉,也没有什么log,然后使用strace跟踪了一下该进程的系统调用,发现最后是挂掉了,但是从strace打印的系统调用看来,看不出什么问题,有大神能看出点什么来么?
image


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

进程收到了一个 SIGABRT 。

能留下 core dump 的话就用 gdb 看一下。

SIGABRT 有时候是内存使用问题(越界,double free,....)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...