AV in making a Mutex

delphi package - automated exception handling

AV in making a Mutex

Postby jacobhavkrog » Thu Nov 15, 2018 12:49 pm

Hi Mathias

I know this isn't a "find my bugs service", but I can't figure out what's going on with this bug here:

exception message : Access violation at address 004101E9 in module 'DSAService.exe'. Write of address 0400007B.

main thread ($ccc):
004101e9 DSAService.exe FastMM4 FastGetMem
00404a4c DSAService.exe System 253 @GetMem
00405d26 DSAService.exe System 253 TObject.NewInstance
008e2840 DSAService.exe madBasic TIBasic.NewInstance
004062bb DSAService.exe System 253 @ClassCreate
008ed7f4 DSAService.exe madKernel TIKernelObj.Create
008ed40a DSAService.exe madKernel AddKernelObj
008ef197 DSAService.exe madKernel TIHandle.GetOwnerProcess
008ee476 DSAService.exe madKernel TIKernelObj.GetHandle
008f070e DSAService.exe madKernel TIWaitableObj.WaitFor
0090863a DSAService.exe madKernel TIMutex.Enter
00a77aef DSAService.exe ServiceUnit 1627 TDSA_Service.DoBackup
00a77601 DSAService.exe ServiceUnit 1531 TDSA_Service.DoTick
004c8663 DSAService.exe Classes CheckSynchronize
00568e82 DSAService.exe Forms TApplication.WndProc
0054a04b DSAService.exe ExtCtrls TTimer.Timer
004cb46c DSAService.exe Classes StdWndProc
778198ec user32.dll DispatchMessageW
005696cf DSAService.exe Forms TApplication.ProcessMessage
00569712 DSAService.exe Forms TApplication.HandleMessage
0056eb5e DSAService.exe SvcMgr TServiceApplication.Run
00a9ba9e DSAService.exe DSAService 61 initialization
7743919d KERNEL32.DLL BaseThreadInitThunk


Entire report attached.

Its a Windows Service application written in Delphi XE using madExcept 4.0.19.

FastMM leak detection doesn't flag anything.

Can you give me a hint?

Thanks
Jacob
jacobhavkrog
 
Posts: 2
Joined: Mon Aug 20, 2012 1:03 pm

Re: AV in making a Mutex

Postby madshi » Sat Nov 17, 2018 11:05 am

It's a crash in the memory manager which suggests that some kind of memory corruption might be going on, but it's hard to say for sure.

Can you reproduce this crash at will? If so, what kind of steps do you have to do to get this crash? Anything special?
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 4 guests