It\'s been a long (long...) time since I\'ve done any C programming and I\'m stuck on what should be a really simple issue. I have a simple function that\'s calling another function that is allocating
I have seen this thread. My case is slightly different and I\'m struggling to figure out how \"this\" pointer is getting corrupted.
I think I have a curly one here... I have an WinForms application that crashes fairly regularly every hour or so when running as an x64 process. I suspect this is due to stack corruption and would lik
I\'m running a virtual machine (using Oracle VM VirtualBox) with FreeDOS installed. After I enter the DJGPP IDE (called \"RHIDE\") and run an application once, I can no longer run anything, and when
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
I\'ve read a lot of posts on memory corruption and it seems like it can be a considerably difficult problem to solve.When I run my code on my linux machine it executes fine and valgrind doesn\'t repor
I have a multi-threaded application in c# which basically uses lock() to access a dictionary. There are 2 threads, a consumer and a producer. The locking mecanism is very simple. This application runs
when I try the code below it works fine. Am I missing something? main() { int *p; p=malloc(sizeof(int)); 开发者_JAVA百科printf(\"size of p=%d\\n\",sizeof(p));
I have a list in C that is something like this: typedef struct _node { int number; DWORD threadID; HANDLE threadH;
Hi I wonder if there is any ready made function that I can call to print all the malloc data structures, so that I can see which memory is allocated for which variable?