memory-corruption
Simple C pointer issue
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[详细]
2023-04-09 12:06 分类:问答"this" pointer getting corrupted in stack trace
I have seen this thread. My case is slightly different and I\'m struggling to figure out how \"this\" pointer is getting corrupted.[详细]
2023-03-31 10:57 分类:问答Diagnose/Debug potential stack corruption .NET application
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[详细]
2023-03-13 05:24 分类:问答FreeDOS + RHIDE (DJGPP environment) = DOS Memory Corruption?
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[详细]
2023-03-06 00:34 分类:问答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 分类:问答Struggling - yet another memory corruption problem, bad alloc (C++, VS 2008)
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[详细]
2023-02-28 14:08 分类:问答Multi-threaded application crash - possible memory corruption?
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[详细]
2023-02-12 12:59 分类:问答Writing to pointer out of bounds after malloc() not causing error
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));[详细]
2023-02-01 10:43 分类:问答How to use free on a handle inside a list?-> C -> windows API
I have a list in C that is something like this: typedef struct _node { int number; DWORD threadID; HANDLE threadH;[详细]
2023-02-01 04:12 分类:问答Is there a command I can call to print out the malloc data structures?
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?[详细]
2023-01-29 21:09 分类:问答