4 Replies Latest reply on Nov 28, 2008 11:32 AM by tzeng

    Air application crash

    Petr Cihelka
      Hi,
      we are creating an Air application, which periodicaly loads images, text and video. We use it to present there some
      information for our students, employees, etc. This Application fetches playlist data from an XML file and displays
      images (localy stored) or text (stored in XML).
      That application is running all the time, and are having a problem with unpredictible crashes. There are also
      problems with memory leaks (we are unnable to unload images and videos from this application, garbage collector
      runs sometimes strange :(, but we are able to handle this problem). The worst problem is the application crash. It
      crashes unpredictably in different states.

      Windows event log says this:
      Faulting application InfoPanely.exe, version 0.0.0.0, time stamp 0x483e4736, faulting module Adobe AIR.dll, version 1.1.0.5790, time stamp 0x483e46d9, exception code 0xc0000005, fault offset 0x00184ffb, process id 0xec0, application start time 0x01c909aa341eedfb.

      Exeption code 0xc0000005 is always same and means problem with memory access.

      So, we tried to go further and debugged this exception with Microsoft Debugging Tools, with some results.
      Application crashes if a C++ Adobe_AIR!pcre_fullinfo function is called. We aren't sure, what this function should
      do, but it looks like a C++ function from base C++ libraries.

      Now, I don't know what to do. I'm really confused, because the application is almost done. I don't know, how to
      solve this problem, or what shoul I do to avoid this.

      I'm looking for a new version of Adobe Air (beta, alpha :) ), or any other solution.

      Any tip or solution will be appreciated.
      Thanx a lot.

      WinDbg debug message:
      (6bc.c18): Access violation - code c0000005 (first chance)
      First chance exceptions are reported before any exception handling.
      This exception may be expected and handled.
      eax=262ba790 ebx=00000000 ecx=4f08bc08 edx=00000000 esi=262ba790 edi=1d1fcc14
      eip=10181a9c esp=0012e2e4 ebp=1d1fcae0 iopl=0 nv up ei pl nz na pe nc
      cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00250206
      Adobe_AIR!pcre_fullinfo+0x9591c:
      10181a9c 8b4908 mov ecx,dword ptr [ecx+8] ds:0023:4f08bc10=????????
      0:000> g

      (6bc.c18): Access violation - code c0000005 (!!! second chance !!!)
      eax=262ba790 ebx=00000000 ecx=4f08bc08 edx=00000000 esi=262ba790 edi=1d1fcc14
      eip=10181a9c esp=0012e2e4 ebp=1d1fcae0 iopl=0 nv up ei pl nz na pe nc
      cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00250206
      Adobe_AIR!pcre_fullinfo+0x9591c:
      10181a9c 8b4908 mov ecx,dword ptr [ecx+8] ds:0023:4f08bc10=????????