Exception number: c0000005 (access violation)

John Cooper john@jpsc.co.uk
Mon Jun 23 14:18:00 GMT 1997


I get this sometimes at RtlFreeHeap+0x21, on program runs with the same data, so they 
should be identical. I am using b18 as downloaded from Cygnus, and Mingw32 version 0.1.4
from http://www.geocities.com/Tokyo/Towers/6162/
Unfortunately the thing that seems to provoke it is a 9 hour run, which doesn't bode 
well for tracing it with gdb.

 

function: RtlFreeHeap
        77f64c3e 53               push    ebx
        77f64c3f 56               push    esi
        77f64c40 57               push    edi
        77f64c41 0f84d7010000     je      RtlFreeHeap+0x1ec (77f64e1e)
        77f64c47 8b7508           mov     esi,[ebp+0x8]          ss:0477e736=????????
        77f64c4a 8b5d0c           mov     ebx,[ebp+0xc]          ss:0477e736=????????
        77f64c4d 0b5e10           or      ebx,[esi+0x10]         ds:0478ea06=????????
        77f64c50 f7c3600f036f     test    ebx,0x6f030f60
        77f64c56 0f85b8010000     jne     RtlFreeHeap+0x1e2 (77f64e14)
        77f64c5c 8d78f8           lea     edi,[eax-0x8]          ds:0488afe6=????????
FAULT ->77f64c5f f6470501         test    byte ptr [edi+0x5],0x1       ds:0488afde=??
        77f64c63 0f8485010000     je      RtlFreeHeap+0x1bc (77f64dee)
        77f64c69 a807             test    al,0x7
        77f64c6b 0f857d010000     jne     RtlFreeHeap+0x1bc (77f64dee)
        77f64c71 807f0410         cmp     byte ptr [edi+0x4],0x10      ds:0488afde=??
        77f64c75 0f8373010000     jnb     RtlFreeHeap+0x1bc (77f64dee)
        77f64c7b 83e301           and     ebx,0x1
        77f64c7e 750b             jnz     RtlFreeHeap+0x59 (77f64c8b)
        77f64c80 ffb6b8040000     push    dword ptr [esi+0x4b8]  ds:037404b8=03740548
        77f64c86 e885280000       call    RtlEnterCriticalSection (77f67510)
        77f64c8b f6470508         test    byte ptr [edi+0x5],0x8       ds:0488afde=??
        77f64c8f 0f85f8000000     jne     RtlFreeHeap+0x15b (77f64d8d)

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0372fd30 7763c4d7 03740000 00000000 0383c5e0 004bf32e ntdll!RtlFreeHeap 
0372fd4c 004a6224 004e04d4 00000024 0000001f 00000008 crtdll!free 
-- 
John Cooper (JPSC Ltd, UK)

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list