Try ran Windows 7 memory test (press F8 while booting). If it detects your 
memory is corrupted the only thing to do is replace your physical memory.

 

De: firebird-support@yahoogroups.com [mailto:firebird-support@yahoogroups.com] 
Em nome de korkl...@yahoo.it
Enviada em: quarta-feira, 12 de março de 2014 11:09
Para: firebird-support@yahoogroups.com
Assunto: [firebird-support] how debug a memory corruption exception

 

  

hi, i'm using the .net provider with the last embedded fb version on a x64 
windows 7 machine.
i have an application always active that abaout every minute will connect to 
the db, 1/2 times a day it crashes when it tries to open the connection, this 
is the relevant stack trace of the exception:
System.AccessViolationException: Attempted to read or write protected memory. 
This is often an indication that other memory is corrupt.
   at FB_1236665269_Class.isc_attach_database(IntPtr[] statusVector, Int16 
dbNameLength, Byte[] dbName, Int32& dbHandle, Int16 parmBufferLength, Byte[] 
parmBuffer)

i see in an old fb thread in the forum the suggestion to download the Debug Kit 
to give you same useful informations to find the bug that cause this kind of 
exception but the link with the description of how use the debug kit was broken.
now i'm using the debug kit files in my app so i want know what i must do the 
next time that my app will crash to s end you same info (i'm a .NET developer 
and i don't know how debug a native application)



Reply via email to