Acces Violation in Borlndmm.dll in BugReport

delphi package - automated exception handling
Post Reply
Nico SiA
Posts: 1
Joined: Wed Dec 29, 2004 2:37 pm

Acces Violation in Borlndmm.dll in BugReport

Post by Nico SiA »

Hello,

I have one problem in the software that I am writing. Th application is just clausing without any more information.
I added your MadExcept component. I have one bug report file generated but I did not realyy understand the problem from this report:

Code: Select all

computer name     : NFXP
user name         : SbManager
system language   : English
processor         :         Intel(R) Pentium(R) M processor 1.70GHz
display mode      : 1920x1200, 32 bit
process id        : $7dc
command line      : C:\PROGRA~1\SIAUTO~1\SBSS\bin\adEqpt.exe -Embedding
executable        : adEqpt.exe
current module    : C:\PROGRA~1\SIAUTO~1\SBSS\bin\sbDAQSECS.dll
module date/time  : madExcept version : 2.7e
exception class   : EAccessViolation
exception message : Access violation at address 010F417C in module 'borlndmm.dll'. Write of address B0002425.

main thread ($650): <priority:1>
>> internal error in CollectPossibleStackItems:
010f417c ???

thread $f64:
>> internal error in CollectPossibleStackItems:
010f417c ???

thread $c98:
>> internal error in CollectPossibleStackItems:
010f417c ???

thread $904:
>> internal error in CollectPossibleStackItems:
010f417c ???

thread $bc (TswSecsThread): <priority:1>
>> internal error in CollectPossibleStackItems:
>> created by main thread ($650) at:
010f417c ???

thread $bb4: <priority:1>
>> internal error in CollectPossibleStackItems:
010f417c ???

thread $840 (TSetupThread): <priority:-1>
>> internal error in CollectPossibleStackItems:
>> created by main thread ($650) at:
010f417c ???

thread $68 (TStoreThread):
>> internal error in CollectPossibleStackItems:
>> created by main thread ($650) at:
010f417c ???

thread $e98:
>> internal error in CollectPossibleStackItems:
010f417c ???

modules:
>> internal error in GetModuleReport:
010f417c ???

hardware:
>> internal error in GetHardwareList:
010f417c ???
I have tried to attach Delphi to the running provess and it seems that I have an exception while my application is calling GetMem in System.pas.
Do you have any idea ?
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

madExcept relies on having a working memory manager. If the memory manager doesn't work, madExcept fails, too. borlndmm.dll is the memory manager for shared memory. Do you have ShareMem in your exe? Probably you're also using a self written dll which uses ShareMem? Make sure ShareMem is really the very first unit in your exe and dll. Also make sure ShareMem is listed in madExcept's "unit init order patching" edit box.
Post Reply