gpt4 book ai didi

linux - 是否可以在 dmesg 中找到导致 traps msg 的进程?

转载 作者:太空宇宙 更新时间:2023-11-04 10:02:31 25 4
gpt4 key购买 nike

我正在尝试对充斥 dmesg 的消息进行故障排除:

[Tue Mar  5 20:46:23 2019] traps: g16[7254] trap invalid opcode ip:404956 sp:7fff6d7c6200 error:0 in g16[400000+4cf7000]
[Tue Mar 5 20:46:24 2019] traps: g16[7356] trap invalid opcode ip:404956 sp:7fff1fa4bad0 error:0 in g16[400000+4cf7000]
[Tue Mar 5 20:46:24 2019] traps: g16[7375] trap invalid opcode ip:404956 sp:7fff2a3f6b50 error:0 in g16[400000+4cf7000]
[Tue Mar 5 22:31:21 2019] traps: g16[26561] trap invalid opcode ip:404956 sp:7ffca1ae89d0 error:0 in g16[400000+4cf7000]
[Tue Mar 5 22:35:10 2019] traps: g16[26801] trap invalid opcode ip:404956 sp:7ffe0542aad0 error:0 in g16[400000+4cf7000]

这是 Linux:

bash-4.2$ uname -a
Linux cx1-138-5-1 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

这种情况会以一定的时间间隔连续发生。有什么方法可以识别它可能是哪个程序,例如。来自 ip:404956 似乎总是一样的?

最佳答案

该过程清楚地显示在该输出中(g16 和 pid 7254 等)。 ip和sp是指令指针和栈指针寄存器。

如果您查看 here,错误 0 : 是除以 0 的错误。

关于linux - 是否可以在 dmesg 中找到导致 traps msg 的进程?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55061298/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com