Skip to main content
Participant
May 11, 2012
Question

Air application crash due to a memory access violation

  • May 11, 2012
  • 1 reply
  • 1503 views

Hi everbody,

I've an air application used to display slides (like power-point) on a screen. Basicaly the administrator uses a web version to create slides (add text, images, video, etc... ) and the air application displays the slides. Everything works fine, excepted that application is crashing sometime... I've spend a lot of time to discover where was the problem because the application can run during a day without a problem but if we are changing slides and images really often during a short time, the application crash. I've run the profiler of FB to look if there were memory leaks or stuff like that... and nothing... But almost nothing... I've run some external debuging tools to have a dump of the memory and any other crash informations and I've discovered in the event log that the exception code was 0xc0000005. After a quick look on internet the error code means that program has performed a memory access violation. I've analyse the dump of the application with a microsoft tool and I've discovered the same error code... Another interresant thing, the crash occurs just after the garbage collector has been run... Mmmmmm... Interresant!

So my question is... What I'm supposed to do? Rewrite a part of the code to never create new items on the memory and reuse the variables most of the time? Or just comit a suicide?

Thank you very much!

PS: Some informations from the crash coming from VisualStudio maybe it can be useful:

679031F1  push   
679031F3  push   
679031F5  push    edx 
679031F6  mov     ecx,eax 
679031F8  call    6791E0E0 
679031FD  mov     ecx,dword ptr [esp+18h] 
67903201  mov     eax,dword ptr [ecx+18h] 
67903204  mov     eax,dword ptr [eax+0FCh] 
6790320A  cmp     eax,9 
6790320D  je      67903214 
6790320F  cmp     eax,0Eh 
67903212  jne     67903227 
67903214  mov     eax,dword ptr [esp+8] 
67903218  test    eax,eax 
6790321A  je     

67903227 

The debbuger has stopped on the line in bold

And here the stack trace:

Adobe AIR.dll!67903204()

[Frames below may be incorrect and/or missing, no symbols loaded for Adobe AIR.dll]   

Adobe AIR.dll!679032b6()

Adobe AIR.dll!679032b6()

Adobe AIR.dll!679032b6()

Adobe AIR.dll!679032b6()

Adobe AIR.dll!679032b6()

Adobe AIR.dll!679032b6()

Adobe AIR.dll!679e5896()

Adobe AIR.dll!6787c308()

Adobe AIR.dll!67a1a7b8()

Adobe AIR.dll!679dda36()

Adobe AIR.dll!67836367()

Adobe AIR.dll!67bc0b9c()

Adobe AIR.dll!67bfa6df()

Adobe AIR.dll!6787c2e9()

Adobe AIR.dll!6787a455()

Adobe AIR.dll!67880e72()

Adobe AIR.dll!67836740()

Adobe AIR.dll!67bcb2d3()

Adobe AIR.dll!67aae389()

Adobe AIR.dll!67aae6cd()

Adobe AIR.dll!67aae5ca()

user32.dll!76a086ef()

user32.dll!76a08876()

user32.dll!76a0881f()

user32.dll!76a089b5()

user32.dll!76a08e9c()

Adobe AIR.dll!67ac8d50()

Adobe AIR.dll!67997f62()

Adobe AIR.dll!67fff312()

Adobe AIR.dll!67fff02a()

KernelBase.dll!75366cf2()

KernelBase.dll!75366d04()

kernel32.dll!765df1ec()

MyTouchPlayer.exe!00b313c9()

kernel32.dll!7661c76a()

Adobe AIR.dll!67fff454()

MyTouchPlayer.exe!00b31569()

MyTouchPlayer.exe!00b3157d()

MyTouchPlayer.exe!00b316ba()

kernel32.dll!765e1114()

ntdll.dll!771eb299()

ntdll.dll!771eb26c()

This topic has been closed for replies.

1 reply

chris.campbell
Legend
May 15, 2012

Could you please open a new bug report on this over at bugbase.adobe.com?  Please provide us with some sample code and your app if possible.  In addition, if you can generate a .dmp file for this crash, that would also help us out.  If you'd like to keep these files private, please feel free to email me directly at ccampbel@adobe.com.

Please post back with the URL so that others affected can add their comments and votes.