gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Corrupted heap


From: Vincent Richomme
Subject: Corrupted heap
Date: Wed, 17 Mar 2010 18:59:37 +0100
User-agent: RoundCube Webmail/0.2

Hi,

I wanted to debug ProjectCenter and I started with gdb:

Reading symbols from
C:\Developer\Mingw-NG\GNUstep\System\Applications\ProjectCenter.app/./ProjectCenter.exe...done.
(gdb) r
Starting program:
C:\Developer\Mingw-NG\GNUstep\System\Applications\ProjectCenter.app/./ProjectCenter.exe
[New Thread 3144.0xf24]
warning: Can not parse XML library list; XML support was disabled at
compile time
warning: HEAP[ProjectCenter.exe]:
warning: Invalid Address specified to RtlFreeHeap( 003E0000, 004D005C )


Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c91120f in ?? ()

First I thought it was because of the fact I was using msys/mingw and
everyone says
that it's not a very well supported environnment.
So I tried with my old Visual studio and I could see something similar :

ProjectCenter
------------------------------------------
HEAP[ProjectCenter.exe]: Invalid Address specified to RtlFreeHeap(
003E0000, 00760065 )
Windows has triggered a breakpoint in ProjectCenter.exe.
This may be due to a corruption of the heap, which indicates a bug in
ProjectCenter.exe or any of the DLLs it has loaded.
This may also be due to the user pressing F12 while ProjectCenter.exe has
focus.


>       ntdll.dll!DbgBreakPoint()       
        [Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]      
        ntdll.dll!RtlpNtMakeTemporaryKey()  + 0x6735 bytes      
        ntdll.dll!RtlpNtMakeTemporaryKey()  + 0x6b72 bytes      
        ntdll.dll!RtlpNtMakeTemporaryKey()  + 0x7d5a bytes      
        ntdll.dll!LdrAlternateResourcesEnabled()  + 0x33bd bytes        
        ntdll.dll!RtlOemStringToUnicodeString()  + 0xee bytes   
        msvcrt.dll!free()  + 0xc3 bytes 
        gnustep-gui-0_17.dll!initialize_gnustep_backend()  + 0x147ee bytes      
        gnustep-gui-0_17.dll!initialize_gnustep_backend()  + 0x12a61 bytes      
        gnustep-gui-0_17.dll!GSCurrentContext()  + 0x722d bytes 
        gnustep-gui-0_17.dll!GSCurrentContext()  + 0x9e9a bytes 
        gnustep-gui-0_17.dll!GSCurrentContext()  + 0x4d5f bytes 
        gnustep-gui-0_17.dll!GSCurrentContext()  + 0x7b49 bytes 
        gnustep-base-1_19.dll!NSExtraRefCount()  + 0xc07 bytes  
        libffi-5.dll!ffi_call_SYSV()  + 0x17 bytes      
        libffi-5.dll!ffi_call()  + 0x8c bytes   
        gnustep-base-1_19.dll!GSFFIInvokeWithTargetAndImp()  + 0x29 bytes       
        gnustep-base-1_19.dll!GSFFIInvokeWithTargetAndImp()  + 0x1d9 bytes      
        gnustep-base-1_19.dll!GSPrivateLoadModule()  + 0xbe2 bytes      
        libffi-5.dll!ffi_closure_SYSV_inner()  + 0x87 bytes     
        libffi-5.dll!ffi_closure_SYSV()  + 0x1e bytes   
        gnustep-gui-0_17.dll!gsapp_user_bundles()  + 0x10a3 bytes       
        objc-1.dll!objc_msg_sendv()  + 0x1bc bytes      
        objc-1.dll!objc_msg_lookup()  + 0x176 bytes     
        gnustep-gui-0_17.dll!gsapp_user_bundles()  + 0x326a bytes       
        gnustep-gui-0_17.dll!GSGuiBundle()  + 0xd3b bytes       
        gnustep-gui-0_17.dll!gsapp_user_bundles()  + 0x1fad bytes       
        gnustep-gui-0_17.dll!NSApplicationMain()  + 0xf8 bytes  
        ProjectCenter.exe!main()  + 0x21 bytes  
        ProjectCenter.exe!004013b9()    
        ntdll.dll!NtQueryPerformanceCounter()  + 0xc bytes      
        kernel32.dll!QueryPerformanceCounter()  + 0x14 bytes    
        0000a6b8()

I have also tested another application called Gorm and I have other kind
of errors :

GORM
------------------------------------------
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0xfffffff7.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
2010-03-17 18:48:43.533 Gorm[2660] Exception occured while loading model:
unable to contact GDNC server -
please check that the gdnc process is running.
I attempted to start it at
'C:/Developer/Mingw-NG/GNUstep/System/Tools/gdnc.exe'

2010-03-17 18:48:43.533 Gorm[2660] Failed to load Gorm
2010-03-17 18:48:43.533 Gorm[2660] Could not load Gorm file:
C:\Developer/Mingw-NG/GNUstep/System/Applications/Gorm.app/Resources/English.lproj/Gorm.gorm
'Gorm.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', Exports loaded.
'Gorm.exe': Loaded 'C:\Program Files\ScanSoft\OmniPageSE4\OpHookSE4.dll',
Exports loaded.
'Gorm.exe': Loaded 'C:\WINDOWS\system32\version.dll', Exports loaded.
'Gorm.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', Exports loaded.
'Gorm.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', Exports loaded.
'Gorm.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime', Exports loaded.
'Gorm.exe': Loaded
'C:\Developer\Mingw-NG\GNUstep\System\Applications\Gorm.app\Resources\0Menus.palette\0Menus.dll',
Exports loaded.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
'Gorm.exe': Loaded
'C:\Developer\Mingw-NG\GNUstep\System\Applications\Gorm.app\Resources\1Windows.palette\1Windows.dll',
Exports loaded.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
'Gorm.exe': Loaded
'C:\Developer\Mingw-NG\GNUstep\System\Applications\Gorm.app\Resources\2Controls.palette\2Controls.dll',
Exports loaded.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0xfffffff7.
'Gorm.exe': Loaded
'C:\Developer\Mingw-NG\GNUstep\System\Applications\Gorm.app\Resources\3Containers.palette\3Containers.dll',
Exports loaded.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0xfffffff7.
'Gorm.exe': Loaded
'C:\Developer\Mingw-NG\GNUstep\System\Applications\Gorm.app\Resources\4Data.palette\4Data.dll',
Exports loaded.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0x40000058.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0xfffffff7.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0xfffffff7.
First-chance exception at 0x7c97f749 (ntdll.dll) in Gorm.exe: 0xC0000005:
Access violation reading location 0xfffffff7.
'Gorm.exe': Loaded
'C:\Developer\Mingw-NG\GNUstep\System\Applications\Gorm.app\Resources\GModel.plugin\GModel.dll',
Exports loaded.
'Gorm.exe': Loaded
'C:\Developer\Mingw-NG\GNUstep\System\Applications\Gorm.app\Resources\Gorm.plugin\Gorm.dll',
Exports loaded.
'Gorm.exe': Loaded
'C:\Developer\Mingw-NG\GNUstep\System\Applications\Gorm.app\Resources\Nib.plugin\Nib.dll',
Exports loaded.
HEAP[Gorm.exe]: Invalid Address specified to RtlFreeHeap( 003E0000,
00760065 )
Windows has triggered a breakpoint in Gorm.exe.


The weird thing is the fact, applicationa are launched anyway when you are
not debugging them
ie you don't really notice them when launching.

So I think GNUstep on windows is not for the faint of heart ...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]