Skip to main content
Known Participant
Jan 21, 2014 5:00 AM UTC
Question

Adobe AIR 4.0 (Release) "-useLegacyAOT no" has cryptic compile-abc error

Got a really cryptic error with the following dump:

MESSAGE: com.gbs.commands::PublishGameCommand - Compile Game Process |  [java] 0  compile-abc   0x0095d728 PrintStackTrace(void*) + 40
[java] 1  compile-abc   0x0095dba1 SignalHandler(int) + 449
[java] 2  libsystem_c.dylib 0x98aae8cb _sigtramp + 43
[java] 3  libsystem_c.dylib 0xffffffff _sigtramp + 1733629791
[java] 4  compile-abc   0x0017053d avmplus::TraitsBindings::findBindingAndDeclarer(avmplus::Multiname const&, avmplus::Traits*&) const + 77
[java] 5  compile-abc   0x00055de4 halfmoon::AbcBuilder::initStmt(unsigned int) + 180
[java] 6  compile-abc   0x00052209 halfmoon::AbcBuilder::visitInstr(unsigned char const*, avmplus::ActionBlockConstants::AbcOpcode, unsigned int, unsigned int, int) + 9017
[java] 7  compile-abc   0x0004f595 halfmoon::AbcBuilder::visitBlock(halfmoon::AbcBlock*) + 469
[java] 8  compile-abc   0x0004ed1f halfmoon::AbcBuilder::visitBlocks(nanojit::Seq<halfmoon::AbcBlock*>*) + 63
[java] 9  compile-abc   0x000c0a76 halfmoon::parseAbc(avmplus::MethodInfo*, halfmoon::Lattice*, halfmoon::InfoManager*, nanojit::Allocator&, halfmoon::AbcGraph*, avmplus::Toplevel*, avmplus::AbcEnv*, halfmoon::ProfiledInformation*, halfmoon::Context&) + 182
[java] 10 compile-abc   0x000c1788 halfmoon::JitWriter::writeEpilogue(avmplus::FrameState const*) + 216
[java] 11 compile-abc   0x00129d3b avmplus::NullWriter::writeEpilogue(avmplus::FrameState const*) + 27
[java] 12 compile-abc   0x00183829 avmplus::Verifier::verify(avmplus::CodeWriter*) + 1273
[java] 13 compile-abc   0x000053af compile_abc::CompilerCore::emitPoolToModule(compile_abc::PoolInfo&, compile_abc::LLVMModule*) + 927
[java] 14 compile-abc   0x00004a80 compile_abc::CompilerCore::compile() + 4496
[java] 15 compile-abc   0x0000363f compile_abc::CompilerCore::run(int, char**) + 1471
[java] 16 compile-abc   0x00005f62 main + 66
[java] 17 compile-abc   0x00002235 start + 53
[java] 18 compile-abc   0x00000009 start + 4294958601
[java] Stack dump:
[java] 0.Program arguments: /Users/lavonwoods/MyDocuments/FlexResources/SDKs/AIR/GBS_Compiler/AIR_4.0/Mac/air_sdk/lib/aot/bin/compile-abc/compile-abc -mtriple=armv7-apple-ios -filetype=obj -sdk /Users/lavonwoods/MyDocuments/FlexResources/SDKs/AIR/GBS_Compiler/AIR_4.0/Mac/air_sdk/lib/aot/lib/avmglue.abc -fields /Users/lavonwoods/MyDocuments/FlexResources/SDKs/AIR/GBS_Compiler/AIR_4.0/Mac/air_sdk/lib/aot/lib/air-fields.arm-air.txt -O3 /Users/lavonwoods/MyDocuments/GameBuilder/Projects/GameBuilderStudio/Tutorials/SampleProjects/HungryHeroTutorialProjects/Step14/HungryHeroDemo/release/AOTBuildOutput5227690264666587172.tmp/ABCFiles/AOTBuildOutput-0000000000.abc

MESSAGE: com.gbs.commands::PublishGameCommand - Compile Game Process |  [java] Compilation failed while executing : compile-abc

MESSAGE: com.gbs.commands::PublishGameCommand - Compile Game Process |  [java] /var/folders/fq/4yn2qtns2wb361mv9pqy60dh0000gn/T/cmd2780040483899292323.tmp: line 2: 10766 Segmentation fault: 11  "/Users/lavonwoods/MyDocuments/FlexResources/SDKs/AIR/GBS_Compiler/AIR_4.0/Mac/air_sdk/lib/aot/bin/compile-abc/compile-abc" "-mtriple=armv7-apple-ios" "-filetype=obj" "-sdk" "/Users/lavonwoods/MyDocuments/FlexResources/SDKs/AIR/GBS_Compiler/AIR_4.0/Mac/air_sdk/lib/aot/lib/avmglue.abc" "-fields" "/Users/lavonwoods/MyDocuments/FlexResources/SDKs/AIR/GBS_Compiler/AIR_4.0/Mac/air_sdk/lib/aot/lib/air-fields.arm-air.txt" "-O3" "/Users/lavonwoods/MyDocuments/GameBuilder/Projects/GameBuilderStudio/Tutorials/SampleProjects/HungryHeroTutorialProjects/Step14/HungryHeroDemo/release/AOTBuildOutput5227690264666587172.tmp/ABCFiles/AOTBuildOutput-0000000000.abc"

Was compiling everything fine with AIR 3.8  before. Only added the "-useLegacyAOT no" flag and changed the default air sdk to 4.0 in the application descriptor. Any ideas on what this may be?

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Known Participant
Jan 21, 2014 5:09 PM UTC
Jan 28, 2014 6:19 AM UTC

Hi,

We are currently investigating the issue.

Thanks for Reporting,

Ankit

Translate
Known Participant
Mar 18, 2014 1:25 AM UTC

Any update on the new iOS compiler working with ASC 2.0? It still throws an erro in the latest beta AIR 13

Translate