valgrind
C Structs: Problem Initializing? Valgrind Errors
Coding in C: typedef struct { char *string; int one; int two; } Example; ... elsewhere: Example *new = (Example *)malloc(sizeof(Example*));[详细]
2023-02-27 02:27 分类:问答Valgrind on Python2.4 : Huge amount of memory 'possibly lost'
I have written some code which works without errors. The code uses MySQLdb for (frequent) database access and uses 4 different databases. Also a couple of log files are generated and logging module is[详细]
2023-02-26 15:46 分类:问答Finding allocation site for double-free errors (with valgrind)
Given a double-free error (reported by valgrind), is there a way to find out where the memory was allocated? Valgrind only tells me the location of the deallocation site (i.e. the call to free()), but[详细]
2023-02-24 10:56 分类:问答valgrind memory leak errors when using pthread_create
I\'m writing a program using the pthread library. When I run my program with the command valgrind --leak-check=full, I get the following errors description:[详细]
2023-02-23 02:33 分类:问答program run well in bash but doesn't run with valgrind
I have a program written in c, which runs well in bash, but gives strange result under valgrind, and valgrind report memory leak.[详细]
2023-02-22 18:19 分类:问答Used memory in bytes. Linux Heap Block size
I\'m using the valgrind to know how many bytes my linux application is using. So, the Valgrind summary show me the number of heap block used. Thus, i\'d l开发者_StackOverflow中文版ike to know what is[详细]
2023-02-22 00:10 分类:问答Zero bytes lost in Valgrind
What does it mean when Valgrind reports o bytes lost, like here: ==27752== 0 bytes in 1 blocks are definitely lost in loss record 2 of 1,532[详细]
2023-02-20 19:27 分类:问答What is the equivalent of Valgrind within the Xcode environment?
It was recently recommended to me to use Valgrind to check for memory leaks, errors etc. on my iPhone project (which is written mainly in C and Objective-C).[详细]
2023-02-19 22:36 分类:问答Is it up to the programmer to deallocate on exit()?
I have a program and when I input wrong data from the keyboard it just exits with exit(1). I was testing with 开发者_JS百科Valgrind and while this happens there are no errors, but I can see that ther[详细]
2023-02-19 09:24 分类:问答Valgrind complains while working with threads
I have created 20 threads to read/write a shared file.I have synchronized threads. Now My program works fine but when I run it with valgrind it gives me Errors like this:[详细]
2023-02-17 04:50 分类:问答