Skip to main content
Known Participant
April 3, 2013
Question

adt compilation failing with AIR 3.6

  • April 3, 2013
  • 1 reply
  • 2139 views

Just moved to AIR 3.6 Seeing the following error

Compilation is failing with the following error:-

compile.adt:

     [java] #

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

     [java] #

     [java] #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000001802d790e, pid=3212, tid=2768

     [java] #

     [java] # JRE version: 7.0_17-b02

     [java] # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode windows-amd64 compressed oops)

     [java] # Problematic frame:

     [java] # C  [llvm.dll+0x2d790e]  Java_llvm_llvmJNI_SWIGSCEVUpcast+0x279c4e

The stack-trace shows as:-

llvm.llvmJNI.GetElementPtrInst_Create__SWIG_5(JLllvm/Value;JLllvm/Value_vector;Ljava/lang/String;)J

J  sun.reflect.GeneratedMethodAccessor5.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

J  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

J  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

J  adobe.abc.LLVMEmitter$BasicBlock.addInstruction(Ljava/lang/Class;[Ljava/lang/Object;)Lllvm/Instruction;

J  adobe.abc.LLVMEmitter$BasicBlock.addGetElementPtr(Lllvm/Value;Ljava/util/List;)Lllvm/GetElementPtrInst;

J  adobe.abc.LLVMEmitter$MethodEmitter.getSlotAddress(Ladobe/abc/LLVMEmitter$BasicBlock;Ladobe/abc/Typeref;ILllvm/Value;)Lllvm/Value;

J  adobe.abc.LLVMEmitter$MethodEmitter.emitSetSlot(Ladobe/abc/LLVMEmitter$BasicBlock;Ladobe/abc/Expr;)V

j  adobe.abc.LLVMEmitter$MethodEmitter.emitBlock(Ladobe/abc/Block;Ladobe/abc/LLVMEmitter$MethodEmitter$DebugState;)V+9723

J  adobe.abc.LLVMEmitter$MethodEmitter.emit()Ladobe/abc/LLVMEmitter$Function;

J  adobe.abc.LLVMEmitter.emitMethods(Ladobe/abc/GlobalOptimizer$Abc;Ljava/util/Collection;Ljava/util/Map;Ljava/util/Map;)V

J  adobe.abc.LLVMEmitter.emit(Ladobe/abc/GlobalOptimizer$InputAbc;Ladobe/abc/GlobalOptimizer$Abc;[BLjava/util/Map;Ljava/lang/String;)Lllvm/Constant;

j  adobe.abc.LLVMEmitter.processABCs(Ljava/util/List;Ljava/util/List;Ljava/util/Map;)V+389

j  adobe.abc.LLVMEmitter.generateBitcode(Ladobe/abc/LLVMEmitterOptions;Ljava/lang/Boolean;)Lllvm/Module;+645

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

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

v  ~StubRoutines::call_stub

Seems to work fine when packaging within Flash Builder 4.7, but I need the command line to work for automated builds.

Any ideas on eliminating or working around this error?

This topic has been closed for replies.

1 reply

dm1985Author
Known Participant
April 3, 2013

tried with ipa-ad-hoc & ipa-test with both compiler options 'opimize' set to true & false but everytime getting the same error.

Pahup
Adobe Employee
Adobe Employee
April 4, 2013

Do you mean it was working fine previously (AIR 3.5) ? Would it be possible for you to share the swf/xml/assets? Please consider opening up a bug @ bugbase.adobe.com and share the bug number here for reference.

Thanks for reporting.

-Pahup

dm1985Author
Known Participant
April 8, 2013

Hi Pahup,

I meant to say when I do export release build from Flash Builder 4.7. It works fine. I am using the air sdk 3.6 http://www.adobe.com/devnet/air/air-sdk-download.html.

But when I try to do it in command line using adt & flex sdk 4.6  it gives the above error (Using the same air sdk.3.6 ). Can you provide me any workaround for this? I need to use the commandline for our automated build (using air sdk 3.6 with action script compiler 2.0).

Thanks,