社区讨论

求助gdb调试出的错误

学术版参与者 2已保存回复 12

讨论操作

快速查看讨论及其快照的属性,并进行相关操作。

当前回复
12 条
当前快照
1 份
快照标识符
@lo8s4a5w
此快照首次捕获于
2023/10/27 23:39
2 年前
此快照最后确认于
2023/10/27 23:39
2 年前
查看原帖
RT,是这样的一块信息:
CPP
Graph::Johnson (this=0xd6b51ff710) at .\Johnson_reduce.cpp:68 

68            weight = new int[MAX_N];

(gdb) n

warning: Critical error detected c0000374

Thread 1 received signal SIGTRAP, Trace/breakpoint trap.

0x00007ffa37a6ed03 in ntdll!RtlIsZeroMemory () from C:\Windows\SYSTEM32\ntdll.dll

(gdb) n
Single stepping until exit from function ntdll!RtlIsZeroMemory,

which has no line number information.
0x00007ffa379bb040 in ntdll!RtlRaiseException () from C:\Windows\SYSTEM32\ntdll.dll

(gdb) n
Single stepping until exit from function ntdll!RtlRaiseException,

which has no line number information.
gdb: unknown target exception 0xc0000374 at 0x7ffa37a6ed79

Thread 1 received signal ?, Unknown signal.
0x00007ffa37a6ed79 in ntdll!RtlIsZeroMemory () from C:\Windows\SYSTEM32\ntdll.dll

(gdb) n

Single stepping until exit from function ntdll!RtlIsZeroMemory,

which has no line number information.
[Thread 9620.0x1fb8 exited with code 3221226356]
[Inferior 1 (process 9620) exited with code 030000001564]

(gdb) n
The program is not being run.

回复

12 条回复,欢迎继续交流。

正在加载回复...