heap-corruption Questions
3
I am faced with a very smart memory corruption in my C application.
Corruption occures on high load.
So I tried purify, valgrind, mprotected and also I tried to write my own simple protection mec...
Engelbert asked 18/10, 2013 at 11:18
4
Solved
I have a c++ dll which serving some functionality to my main c# application.
Here i try to read a file, load it to memory and then return some information such as the Pointer to loaded data and cou...
Adulate asked 5/5, 2014 at 11:18
41
Solved
All of the sudden I've been having problems with my application that I've never had before. I decided to check the Apache's error log, and I found an error message saying "zend_mm_heap corrupted". ...
Phosphate asked 11/2, 2010 at 21:49
1
I'm playing around with binary exploitation on linux for a long time, and recently I'm writing some heap exploitation notes based on ptmalloc, so I go back to view some payloads from past security ...
Nashville asked 3/4, 2018 at 18:9
15
Solved
I am debugging a (native) multi-threaded C++ application under Visual Studio 2008. On seemingly random occasions, I get a "Windows has triggered a break point..." error with a note that t...
Spates asked 18/6, 2009 at 0:1
4
Solved
if I allocate some memory using malloc() is there a way to mark it readonly. So memcpy() fails if someone attempt to write to it?
This is connected to a faulty api design where users are miss-usin...
Lander asked 18/2, 2013 at 7:39
2
Solved
Using C++ and discovered today during a demo that I'm suffering from a corrupted heap (but only on important occasions!!). I found a few posts here on SO and decided to download Application Verifie...
Trousers asked 20/4, 2012 at 4:2
2
Solved
glibc seems to have more than one way of doing some heap checking:
mallopt with the M_CHECK_ACTION parameter
the MALLOC_CHECK_ environment variable
the mcheck family of functions
I find the ava...
Chirm asked 9/8, 2013 at 18:57
3
Solved
I can't sleep! :)
I have a reasonably large project on Windows and encountered some heap corruption issues. I have read all SO, including this nice topic: How to debug heap corruption errors?, how...
Bunnie asked 4/10, 2012 at 9:17
3
Solved
I'm new to Windows programming and I've just "lost" two hours hunting a bug which everyone seems aware of: you cannot create an object on the heap in a DLL and destroy it in another DLL (or in the ...
Hobbyhorse asked 30/5, 2012 at 16:11
2
Solved
I have some problems with heap corruption. The warning can be observed while using CreateWindowExW function. I know that it is usually a memory error, but how could I search it out in such situatio...
Radiometer asked 27/2, 2014 at 15:23
2
Solved
I encountered much trouble today by tracking a really evasive corruption bug.
I guess it wouldn't have been so hard to find it if I actually paid attention to the the warnings, but as I couln't fin...
Tropine asked 13/2, 2014 at 19:30
2
Solved
On one production site our application(*) crashes repeatedly, but non-reproducibly. Analyzing the crash dumps clearly shows that it's a heap corruption: The crashes are at different location, but a...
Strength asked 26/9, 2013 at 8:35
1
Solved
I've been getting heap corruption error on delete[] instruction. Project is worked on in VC++ 2008, its requirement (so please don't focus on that). Whole building process is working OK, but in run...
Roden asked 8/6, 2013 at 11:58
2
Solved
I want to determine what's causing a segfault, and I'm trying to use valgrind to do this.
https://gist.github.com/4349869 is a gist where I'm getting a segfault when I run something without ...
Ami asked 21/12, 2012 at 0:55
2
Solved
In my application I'm getting this error:
HEAP[App.exe]: HEAP: Free Heap block 61af0f0 modified at 61af194 after it was freed
Here is a call stack:
ntdll.dll!_RtlpBreakPointHeap@4() Unknown
n...
Chyme asked 4/1, 2013 at 11:15
3
Solved
I have a function with a prototype like the following:
void function(std::string str);
This function is called in my main function in another program that loads and uses that dll.
function("so...
Nephelometer asked 3/12, 2012 at 7:48
1
Solved
I'm quite new to boost::threads, I read the documentation and but i'm having some trouble applying it in practice, perhaps you can help? First of all, I have taken the time to write a self containe...
Purlieu asked 29/4, 2012 at 15:21
1
Solved
I get this "heap corruption detected" message after running this code :
uli& uli::operator =(char* n)
{
char* buffer = new char[strlen(n)];
char* p;
int op;
int coef;
strcpy(buffer, n);...
Antinomy asked 4/3, 2012 at 2:58
2
Since I couldn't find anyone reporting this behaviour before I thought about posting the problem and my solution here so it could help others who are having this problem. Our app did work great on ...
Rheinland asked 8/12, 2011 at 12:23
1
I am debugging a GC heap corruption and came to the step where I want to try running the program under WinDbg + PageHeap + AppVerifier + GCStress.
I found in the article Software crash: faulting m...
Work asked 26/9, 2011 at 13:58
2
I'm debugging some random crash bugs, but actually very difficult to go deep into. Because when i open crash dump, only find one error:
0:000> .exr -1
ExceptionAddress: 00000000
ExceptionCode:...
Jackie asked 22/7, 2010 at 6:18
2
Solved
My program throws an error which it cannot handle by a catch(Exception e) block and then it crashes:
Access Violation Corrupted State Exception.
This is the weird thing, because, as I know, co...
Collbaith asked 15/8, 2011 at 12:36
2
Solved
I have a heap corruption in a .NET/C# program and cannot track it with WinDbg + PageHeap + Application Verifier. In the next step, I plan to use Managed Debugging Assistants (MDAs).
Currently I t...
Cairn asked 26/9, 2011 at 18:15
1
Solved
I have a heap corruption in my multi-threaded managed program. Doing some tests I found that the corruption happens only when the background threads active in the program (they are switchable). The...
Saturnalia asked 27/9, 2011 at 18:45
1 Next >
© 2022 - 2024 — McMap. All rights reserved.