PDA

View Full Version : Heap Error



avis_phoenix
4th August 2006, 14:41
I have a problem with this code, the GDB marks the following text to me:

gdb: child_resume.SetThreadContext: thread 916.0xe34
ContinueDebugEvent (cpid=916, ctid=3636, DBG_CONTINUE);
gdb: kernel event for pid=916 tid=f70 code=CREATE_THREAD_DEBUG_EVENT)
gdb: child_resume.SetThreadContext: thread 916.0xf70
ContinueDebugEvent (cpid=916, ctid=3952, DBG_CONTINUE);
gdb: kernel event for pid=916 tid=3636 code=OUTPUT_DEBUG_STRING_EVENT)
warning: HEAP[Algebry.exe]:
ContinueDebugEvent (cpid=916, ctid=3636, DBG_CONTINUE);
gdb: kernel event for pid=916 tid=3636 code=OUTPUT_DEBUG_STRING_EVENT)
warning: HEAP: Free Heap block 3aedbb0 modified at 3aedbc4 after it was freed

ContinueDebugEvent (cpid=916, ctid=3636, DBG_CONTINUE);
gdb: kernel event for pid=916 tid=3636 code=EXCEPTION_DEBUG_EVENT)
gdb: Target exception EXCEPTION_BREAKPOINT at 0x7c911230

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c911231 in ntdll!DbgUiConnectToDbg () from ntdll.dll

The peculiar thing is that this happens only in Windows in linux does not pass anything and it works very well. The error happens only in a dialog window that it controls the options of the program, I put all my code to them; they could say to me: Which is my error and how I correct it?

Thanks

Methedrine
6th August 2006, 11:54
Are you using Qt 4.1.4?

Because the same is happening to me, even though it is not 100% reproducable and it only appears to happen when compiling a debug version, release versions work just fine.

Anyone else experiencing this issue?

avis_phoenix
8th August 2006, 03:15
No; I use QT 4.1.2

Well; the error no longer it appears after other compilations