valgrind
valgrind reports malloc assertion failure, memcheck doesn't report any errors
Callgrind reported an assertion violation in malloc although memcheck and a usual run reveals no errors:[详细]
2023-03-26 21:57 分类:问答Readdir/closedir - Valgrind shows "invalid read"
Posting snippets of my code here. I am trying to get a footing around debugging. struct dirent *s_dirent;[详细]
2023-03-26 21:22 分类:问答valgrind and openmp, still reachable and possibly lost, is that bad?
c++ newbie here. I\'ve been improving my memory management skills over the last few days, and my program no longer leaks memory according to valgrind. In fact, I get no warnings from valgrind at all.[详细]
2023-03-26 17:20 分类:问答valgrind reporting non-freed blocks
Valgrind leak file summary: ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) malloc/free: in use at exit: 45,065 bytes in 12 blocks.[详细]
2023-03-26 14:57 分类:问答How concerned should I be about the loss blocked in valgrind
In my code I have a class lipid which holds three beads: struct lipid{ particle mainPart; bead * head; bead * body;[详细]
2023-03-25 18:48 分类:问答Interpreting valgrind error
I\'m trying to debug my code using valgrind. Most of the message I get are: Conditional jump or move depends on uninitialised value(s)[详细]
2023-03-25 14:27 分类:问答C: Please help me debug this memory-related seg fault
I have the following C code: static void* heap; static unsigned int ptr; int main(void) { ... heap=(void*)malloc(10000*sizeof(char));[详细]
2023-03-23 06:46 分类:问答Valgrind and "WARNING: new redirection conflicts with existing"
I get this in Valgrind. --24101-- REDIR: 0xbb20580 (operator delete(void*)) redirected to 0x93b7d48 (operator delete(void*))[详细]
2023-03-22 06:49 分类:问答snprintf in signal handler creates segmentation fault if started with valgrind
This very simple C program gives me a segmentation fault when running it with valgrind. Its runs fine when started normal.[详细]
2023-03-21 08:06 分类:问答Segmentation fault in malloc_consolidate (malloc.c) that valgrind doesn't detect [duplicate]
This question already has answers here: Segfaults in malloc() and malloc_consolidate() (2 answers) Closed 7 years ago.[详细]
2023-03-20 17:39 分类:问答