valgrind
Conditional jump or move depends on uninitialised value pointing to the first line of code
I have a program that crashes after some days of work, so I decided run it with Valgrind.I have cleaned up all the warnings but this one:[详细]
2023-03-09 13:42 分类:问答Is there a problem running a program using the framewave library under valgrind?
I have a set of unit tests, which are testing a program using the framewave library. The problem occurs when I run these unit tests using valgrind to check if the code causes memory problems. It look[详细]
2023-03-08 17:40 分类:问答Run valgrind in 32 bit mode on Mac 10.6?
If I compile a 32 bit executable in Mac 10.6, with the -m32 flag, like: gcc -m32 test.c -o test running valgrind on \"test\" fails with the error:[详细]
2023-03-07 23:32 分类:问答How to make valgrind report an error when there are still reachable allocs
I\'m writing a compiler that produces C code.The programs produced consist only of the main function, and they use a lot of memory, that is allocated with malloc().Most开发者_JAVA百科 of the memory al[详细]
2023-03-07 12:15 分类:问答Make valgrind stop immediately after first error
my program processes large errors and during development in produces large amount of output on the console. It suffers from memory corruption and I try to use valgrind to locate the error.[详细]
2023-03-06 00:42 分类:问答Does Valgrind have an API like Purify/Quantify that lets you disable data recording?
Something like this Purify开发者_开发知识库/Quantify function: quantify_stop_recording_data()The client program can use callgrind specific client requests to control the callgrind tool (enable and dis[详细]
2023-03-05 08:36 分类:问答Valgrind yells about an uninitialised bytes
Valgrind throws me out this error: ==11204== Syscall param write(buf) points to uninitialised byte(s) ==11204==at 0x4109033: write (in /lib/libc-2.13.so)[详细]
2023-03-02 13:32 分类:问答Using valgrind to find most intensive function?
I have a program running extrem开发者_JS百科ely slow. Is there a way to use valgrind to find out which function I need to optimize?[详细]
2023-03-02 11:20 分类:问答Valgrind massif produces no profile output for 7-Zip
I want to use valgrind massif to figure out the heap memory used by 7-Zip. When I run massif on 7-Zip, it produces no output. Here\'s the command.[详细]
2023-03-01 06:31 分类:问答Heap corruption not detected by Valgrind or Electric Fence. Should I be suspicious? (C++)
I recently encountered my first battle (solved) with heap corruption.On my linux machine at home the culprit code exits without error using valgrind and electric-fence(with gdb).Yet on the windows mac[详细]
2023-02-28 17:16 分类:问答