g*********s 发帖数: 1782 | 1 anyone can share his experience?
a memory crash bug. i'm new to valgrind. the only experience is to use it
for mem leak. |
g****y 发帖数: 436 | 2 run it through first. and see what valgrind says.
【在 g*********s 的大作中提到】![](/moin_static193/solenoid/img/up.png) : anyone can share his experience? : a memory crash bug. i'm new to valgrind. the only experience is to use it : for mem leak.
|
o**o 发帖数: 3964 | 3 this thing rarely helps. |
r*********r 发帖数: 3195 | 4 very very helpful.
just learn to read the message. |
r*********r 发帖数: 3195 | 5 如果是 seg fault, 用 gdb 就很容易找...
如果是 memory leak, valgrind 比较靠谱. |
a***y 发帖数: 2803 | 6 多半和指针数组有关,自己看看代码就能解决了.
【在 g*********s 的大作中提到】![](/moin_static193/solenoid/img/up.png) : anyone can share his experience? : a memory crash bug. i'm new to valgrind. the only experience is to use it : for mem leak.
|
j*******d 发帖数: 8834 | 7 seg fault如果是前面的code有memory corruption, gdb很难找地。
【在 r*********r 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 如果是 seg fault, 用 gdb 就很容易找... : 如果是 memory leak, valgrind 比较靠谱.
|