2 Replies Latest reply on May 17, 2012 7:14 AM by DubitPlatform

    Flex 4.6 IOS Compiler ADT Failed at  EXCEPTION_UNCAUGHT_CXX_EXCEPTION

    jxyiliu@yahoo.ca

      Hi All,

       

      I tried to create IPA file through both Windows XP and MAC by using ADT command Line, two ENV are with same JRE version and FB version, however, I met totally different results.

       

      On MAC, the IPA was created successfully, while on Windows XP, I am hitting "EXCEPTION_UNCAUGHT_CXX_EXCEPTION" exceptions. The log posted below:

       

      Searching internet, found a post @ http://stackoverflow.com/questions/8879833/flex-4-6-ios-compiler has similar error as me, but can not find any solutions there, I tried to follow some suggestion there to change different XMX size and no lucky so far.

       

      Post question here, can any one give me a light.

       

      Thanks.

       

       

      ========================================================================================== =========

      #

      # A fatal error has been detected by the Java Runtime Environment:

      #

      #  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x7c812afb, pid=7108, tid=8132

      #

      # JRE version: 7.0_03-b05

      # Java VM: Java HotSpot(TM) Client VM (22.1-b02 mixed mode windows-x86 )

      # Problematic frame:

      # C  [kernel32.dll+0x12afb]

      #

      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

      #

      # If you would like to submit a bug report, please visit:

      #   http://bugreport.sun.com/bugreport/crash.jsp

      # The crash happened outside the Java Virtual Machine in native code.

      # See problematic frame for where to report the bug.

      #

       

       

      ---------------  T H R E A D  ---------------

       

       

      Current thread (0x003e7800):  JavaThread "main" [_thread_in_native, id=8132, stack(0x00910000,0x00a90000)]

       

       

      siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x00a8f7b0 0x49de74a4

       

       

      Registers:

      EAX=0x00a8f718, EBX=0x00400000, ECX=0x00000000, EDX=0x49eb6aa0

      ESP=0x00a8f714, EBP=0x00a8f768, ESI=0x00a8f7a0, EDI=0x72af0020

      EIP=0x7c812afb, EFLAGS=0x00000206

       

       

      Top of Stack: (sp=0x00a8f714)

      0x00a8f714:   49eb666c e06d7363 00000001 00000000

      0x00a8f724:   7c812afb 00000003 19930520 00a8f7b0

      0x00a8f734:   49de74a4 4a019ca4 4a019ca4 00a8f760

      0x00a8f744:   49cb398f d61216f8 d5dcc161 49cbcad0

      0x00a8f754:   49eb6aa0 00a8f798 49cb5542 00000008

      0x00a8f764:   49cb3a0e 00a8f7a0 49cb3439 e06d7363

      0x00a8f774:   00000001 00000003 00a8f794 e06d7363

      0x00a8f784:   00000001 00000000 00000000 00000003

       

       

      Instructions: (pc=0x7c812afb)

      0x7c812adb:   f9 0f 0f 87 6d 1e 03 00 85 c9 89 4d c0 74 07 57

      0x7c812aeb:   8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 10 15 80 7c

      0x7c812afb:   5e c9 c2 10 00 85 ff 0f 8e 36 93 ff ff 8b 55 fc

      0x7c812b0b:   89 55 0c 0f b7 16 8b 7d f8 8a 14 3a 88 11 8b 78

       

       

       

       

      Register to memory mapping:

       

       

      EAX=0x00a8f718 is pointing into the stack for thread: 0x003e7800

      EBX=0x00400000 is an unknown value

      ECX=0x00000000 is an unknown value

      EDX=0x49eb6aa0 is an unknown value

      ESP=0x00a8f714 is pointing into the stack for thread: 0x003e7800

      EBP=0x00a8f768 is pointing into the stack for thread: 0x003e7800

      ESI=0x00a8f7a0 is pointing into the stack for thread: 0x003e7800

      EDI=0x72af0020 is an unknown value

       

       

       

       

      Stack: [0x00910000,0x00a90000],  sp=0x00a8f714,  free space=1533k

      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

      C  [kernel32.dll+0x12afb]  RaiseException+0x52

      C  [llvm.dll+0x443439]

      C  [llvm.dll+0x4429d5]

       

       

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

      j  llvm.llvmJNI.WriteModuleToFile(Ljava/lang/String;JLllvm/Module;J)V+0

      j  llvm.LLVM.WriteModuleToFile(Ljava/lang/String;Lllvm/Module;J)V+7

      j  com.adobe.air.ipa.AOTCompiler.writeBitcode(Ljava/lang/String;Lllvm/Module;)Ljava/io/File; +52

      j  com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl()V+721

      j  com.adobe.air.ipa.BitcodeGenerator.main([Ljava/lang/String;)V+114

      v  ~StubRoutines::call_stub

       

       

      ---------------  P R O C E S S  ---------------

       

       

      Java Threads: ( => current thread )

        0x49171400 JavaThread "Service Thread" daemon [_thread_blocked, id=6184, stack(0x496a0000,0x49820000)]

        0x4916c000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4024, stack(0x49650000,0x496a0000)]

        0x4916a000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6516, stack(0x494d0000,0x49650000)]

        0x49168c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7532, stack(0x49350000,0x494d0000)]

        0x48de0c00 JavaThread "Finalizer" daemon [_thread_blocked, id=6480, stack(0x48fd0000,0x49150000)]

        0x48ddbc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=608, stack(0x48e50000,0x48fd0000)]

      =>0x003e7800 JavaThread "main" [_thread_in_native, id=8132, stack(0x00910000,0x00a90000)]

       

       

      Other Threads:

        0x48dd6400 VMThread [stack: 0x48e00000,0x48e50000] [id=5676]

        0x49184800 WatcherThread [stack: 0x49820000,0x49870000] [id=7184]

       

       

      VM state:not at safepoint (normal execution)

       

       

      VM Mutex/Monitor currently owned by a thread: None

       

       

      Heap

      def new generation   total 314560K, used 279616K [0x02b40000, 0x18090000, 0x18090000)

        eden space 279616K, 100% used [0x02b40000, 0x13c50000, 0x13c50000)

        from space 34944K,   0% used [0x13c50000, 0x13c50000, 0x15e70000)

        to   space 34944K,   0% used [0x15e70000, 0x15e70000, 0x18090000)

      tenured generation   total 699072K, used 699071K [0x18090000, 0x42b40000, 0x42b40000)

         the space 699072K,  99% used [0x18090000, 0x42b3ffe8, 0x42b40000, 0x42b40000)

      compacting perm gen  total 12288K, used 4357K [0x42b40000, 0x43740000, 0x46b40000)

         the space 12288K,  35% used [0x42b40000, 0x42f81740, 0x42f81800, 0x43740000)

      No shared spaces configured.

       

       

      Code Cache  [0x00ac0000, 0x00e28000, 0x02ac0000)

      total_blobs=1624 nmethods=1398 adapters=162 free_code_cache=29297Kb largest_free_block=29998144

       

       

      Dynamic libraries:

      0x00400000 - 0x0042e000           C:\windows\system32\java.exe

      0x7c900000 - 0x7c9b2000           C:\windows\system32\ntdll.dll

      0x7c800000 - 0x7c8f6000           C:\windows\system32\kernel32.dll

      0x77dd0000 - 0x77e6b000           C:\windows\system32\ADVAPI32.dll

      0x77e70000 - 0x77f03000           C:\windows\system32\RPCRT4.dll

      0x77fe0000 - 0x77ff1000           C:\windows\system32\Secur32.dll

      0x7e410000 - 0x7e4a1000           C:\windows\system32\USER32.dll

      0x77f10000 - 0x77f59000           C:\windows\system32\GDI32.dll

      0x773d0000 - 0x774d3000           C:\windows\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.60 28_x-ww_61e65202\COMCTL32.dll

      0x77c10000 - 0x77c68000           C:\windows\system32\msvcrt.dll

      0x77f60000 - 0x77fd6000           C:\windows\system32\SHLWAPI.dll

      0x76390000 - 0x763ad000           C:\windows\system32\IMM32.DLL

      0x629c0000 - 0x629c9000           C:\windows\system32\LPK.DLL

      0x74d90000 - 0x74dfb000           C:\windows\system32\USP10.dll

      0x78aa0000 - 0x78b5e000           C:\Program Files\Java\jre7\bin\msvcr100.dll

      0x6d830000 - 0x6db58000           C:\Program Files\Java\jre7\bin\client\jvm.dll

      0x71ad0000 - 0x71ad9000           C:\windows\system32\WSOCK32.dll

      0x71ab0000 - 0x71ac7000           C:\windows\system32\WS2_32.dll

      0x71aa0000 - 0x71aa8000           C:\windows\system32\WS2HELP.dll

      0x76b40000 - 0x76b6d000           C:\windows\system32\WINMM.dll

      0x76bf0000 - 0x76bfb000           C:\windows\system32\PSAPI.DLL

      0x6d7c0000 - 0x6d7cc000           C:\Program Files\Java\jre7\bin\verify.dll

      0x6d2f0000 - 0x6d310000           C:\Program Files\Java\jre7\bin\java.dll

      0x6d810000 - 0x6d823000           C:\Program Files\Java\jre7\bin\zip.dll

      0x49870000 - 0x49ef2000           C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\lib\aot\lib\llvm.dll

      0x59a60000 - 0x59b01000           C:\windows\system32\dbghelp.dll

      0x77c00000 - 0x77c08000           C:\windows\system32\VERSION.dll

       

       

      VM Arguments:

      jvm_args: -Djava.util.Arrays.useLegacyMergeSort=true -Xss1500K -Xms256m -Xmx1024m

      java_command: com.adobe.air.ipa.BitcodeGenerator C:\TEMP\7026\iOS\AOTBuildOutput6004052247317877068.tmp\BitcodeGenerator_opts.ser C:\TEMP\7026\iOS\AOTBuildOutput6004052247317877068.tmp\ABCFiles

      Launcher Type: SUN_STANDARD

       

       

      Environment Variables:

      CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip

      PATH=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ZipGenius 6\;C:\Program Files\Java\jdk1.6.0_05\bin;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\WinMerge;C:\WINDOWS\system32\WindowsPowerShell\v1.0;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\apache-ant-1.8.1\bin;C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\lib; C:\Program Files\Research In Motion\blackberry-tablet-sdk-2.0.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks;C:\Program Files\TortoiseSVN\bin

      USERNAME=Mounib

      OS=Windows_NT

      PROCESSOR_IDENTIFIER=x86 Family 6 Model 37 Stepping 2, GenuineIntel

       

       

       

       

       

       

      ---------------  S Y S T E M  ---------------

       

       

      OS: Windows XP Build 2600 Service Pack 3

       

       

      CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht

       

       

      Memory: 4k page, physical 3633132k(906276k free), swap 5560948k(1664932k free)

       

       

      vm_info: Java HotSpot(TM) Client VM (22.1-b02) for windows-x86 JRE (1.7.0_03-b05), built on Feb  3 2012 20:43:37 by "java_re" with unknown MS VC++:1600

       

       

      time: Thu Apr 19 10:47:22 2012

      elapsed time: 472 seconds