Copy link to clipboard
Copied
This is with the latest AIR 4.0 beta, dated 12/17, with "-useLegacyAOT no" on Mac, OS X 10.9.
0 compile-abc 0x0095d728 PrintStackTrace(void*) + 40
1 compile-abc 0x0095dba1 SignalHandler(int) + 449
2 libsystem_platform.dylib 0x9039fdeb _sigtramp + 43
3 libsystem_platform.dylib 0xffffffff _sigtramp + 1875247679
4 compile-abc 0x0005846b halfmoon::Cleaner::simplify(halfmoon::BlockEndInstr*) + 667
5 compile-abc 0x00058fc6 halfmoon::cleanBlocks(halfmoon::Context*, halfmoon::InstrGraph*, halfmoon::Cleaner*) + 166
6 compile-abc 0x0005ab34 halfmoon::removeDeadCode(halfmoon::Context*, halfmoon::InstrGraph*) + 324
7 compile-abc 0x0004ee1c halfmoon::AbcBuilder::visitBlocks(nanojit::Seq<halfmoon::AbcBlock*>*) + 316
8 compile-abc 0x000c0a76 halfmoon::parseAbc(avmplus::MethodInfo*, halfmoon::Lattice*, halfmoon::InfoManager*, nanojit::Allocator&, halfmoon::AbcGraph*, avmplus::Toplevel*, avmplus::AbcEnv*, halfmoon::ProfiledInformation*, halfmoon::Context&) + 182
9 compile-abc 0x000c1788 halfmoon::JitWriter::writeEpilogue(avmplus::FrameState const*) + 216
10 compile-abc 0x00129d3b avmplus::NullWriter::writeEpilogue(avmplus::FrameState const*) + 27
11 compile-abc 0x00183829 avmplus::Verifier::verify(avmplus::CodeWriter*) + 1273
12 compile-abc 0x000053af compile_abc::CompilerCore::emitPoolToModule(compile_abc::PoolInfo&, compile_abc::LLVMModule*) + 927
13 compile-abc 0x00004a80 compile_abc::CompilerCore::compile() + 4496
14 compile-abc 0x0000363f compile_abc::CompilerCore::run(int, char**) + 1471
15 compile-abc 0x00005f62 main + 66
16 compile-abc 0x00002235 start + 53
There's also a lengthy list of program arguments, looks like it's working on ABCs from native extensions. Buried in there is this line as well:
41063 Bus error: 10
Copy link to clipboard
Copied
Hi,
I have tried to reproduce the issue but unable to reproduce it with HelloWorld project .Could you please provide the reproducible steps and command you are using for packaging the app.
Thanks.
Sakshi
Adobe AIR Team
Copy link to clipboard
Copied
Hi,
I'm also getting an error when trying to package an iOS app in ad-hoc mode. I'm using the latest Air Version (4.0.0 / Build 1390) on Windows 8.1 (x64)
Stack dump:
0. Program arguments: C:\Program Files (x86)\FlashDevelop\Tools\ascsdk\lib\aot/bin/compile-abc/compile-abc.exe -mtriple=armv7-apple-ios -filetype=obj -sdk C:\Program Files (x86)\FlashDevelop\Tools\ascsdk\lib\aot/lib/avmglue.abc -fields C:\Program Files (x86)\FlashDevelop\Tools\ascsdk\lib\aot/lib/air-fields.arm-air.txt -O3
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000000.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000100.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000200.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000300.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000400.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000500.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000600.abc
Compilation failed while executing : compile-abc
This is command I use for packaging:
adt -package -target ipa-ad-hoc -useLegacyAOT no -storetype pkcs12 -keystore "cert\bma.p12" -provisioning-profile cert\bma.mobileprovision "dist\bma.ipa" "application.xml" -C bin-ios . -C "icons/ios" .
Thx!
Copy link to clipboard
Copied
first of all - this only happens when useLegacyAOT is "no".
second - this only happens when there are included swfs in a project. i have no issue with projects which don't containt any included swfs. but when i compile projects with included swfs - i receive the same error.
Copy link to clipboard
Copied
Hey, I have found this:
Swf compiled with Flash Pro CS6 with AIR 3.9 SDK selected
No error
ipa is created a working without any problems.
Swf compiled with Flash Develop and Flex 4.6 AIR 3.9 SDK
adt throws this error:
Compilation failed while executing : compile-abc
Swf compiled with Flash Develop and Adobe AIR 4.0 SDK
adt throws this error:
duplicate symbol _traits:com.distriqt.extension.facebookutils.base::ExtensionBas
e$ in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-0_3.o
duplicate symbol _traits:com.distriqt.extension.facebookutils.base::ExtensionBas
e in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-0_3.o
duplicate symbol _traits:com.distriqt.extension.facebookutils::FacebookUtils$ in
:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-1_4.o
duplicate symbol _traits:com.distriqt.extension.facebookutils::FacebookUtils in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-1_4.o
duplicate symbol _traits:com.distriqt.extension.facebookutils.events::FacebookUt
ilsLoginEvent$ in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-2_5.o
duplicate symbol _traits:com.distriqt.extension.facebookutils.events::FacebookUt
ilsLoginEvent in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-2_5.o
duplicate symbol _traits:com.distriqt.extension.testflightsdk.base::ExtensionBas
e$ in:
AOTBuildOutput-0000000000_7.o
com.distriqt.TestFlightSDK-0_0.o
duplicate symbol _traits:com.distriqt.extension.testflightsdk.base::ExtensionBas
e in:
AOTBuildOutput-0000000000_7.o
com.distriqt.TestFlightSDK-0_0.o
duplicate symbol _traits:com.distriqt.extension.testflightsdk::TestFlightSDK$ in
:
AOTBuildOutput-0000000000_7.o
com.distriqt.TestFlightSDK-1_1.o
duplicate symbol _traits:com.distriqt.extension.testflightsdk::TestFlightSDK in:
AOTBuildOutput-0000000000_7.o
com.distriqt.TestFlightSDK-1_1.o
ld: 10 duplicate symbols for architecture armv7
Compilation failed while executing : ld64
Copy link to clipboard
Copied
Hi bill.baldwin,
Could you please provide simiar "Sample Code" written in DailySpinDialogViewMediator/onKeyUp() function in the abc that you have provided because we are not able to disassemble the abc file and guess a sample shell test replicating the issue.
Thanks,
Ankit
email id: anmangli@adobe.com
Copy link to clipboard
Copied
I took a look at the function in question, and it turned out there's an empty switch() statement there, because the case statement inside was conditionally compiled out with CONFIG::DEBUG, like this:
switch ( event.keyCode ) {
CONFIG::DEBUG {
case Keyboard.S:
// do stuff.
}
}
I changed it to wrap the entire switch statement inside CONFIG::DEBUG, and now the app packages fine with "-useLegacyAOT no."
Copy link to clipboard
Copied
Bill,
Thanks for posting about this issue and the progress you made on it.
We had the same stack trace and removing a similar empty switch statement from our code resolved the issue.
Have you registered a bug for this already?
Cheers,
Derek
Copy link to clipboard
Copied
I am getting this error , i dont know how to solve ,please help me
Compilation failed while executing : compile-abc
Copy link to clipboard
Copied
I got the solutions i just update AIR thats it
Copy link to clipboard
Copied
Same error here while compiling for iOS. Tried AIR15, 16 and 17 on a mac with FB 4.7.
Please help.
AIR15 gives this error:
Error occurred while packaging the application:
0 compile-abc 0x00a1cc38 PrintStackTrace(void*) + 40
1 compile-abc 0x00a1d081 SignalHandler(int) + 385
2 libsystem_platform.dylib 0x96ff303b _sigtramp + 43
3 libsystem_platform.dylib 0xffffffff _sigtramp + 1761660911
4 compile-abc 0x0005e221 halfmoon::Cleaner::simplify(halfmoon::BlockEndInstr*) + 641
5 compile-abc 0x0005edc6 halfmoon::cleanBlocks(halfmoon::Context*, halfmoon::InstrGraph*, halfmoon::Cleaner*) + 166
6 compile-abc 0x00060894 halfmoon::removeDeadCode(halfmoon::Context*, halfmoon::InstrGraph*) + 324
7 compile-abc 0x0005407d halfmoon::AbcBuilder::visitBlocks(nanojit::Seq<halfmoon::AbcBlock*>*) + 317
8 compile-abc 0x000d1f98 halfmoon::parseAbc(avmplus::MethodInfo*, halfmoon::Lattice*, halfmoon::InfoManager*, nanojit::Allocator&, halfmoon::AbcGraph*, avmplus::Toplevel*, avmplus::AbcEnv*, halfmoon::ProfiledInformation*, halfmoon::Context&) + 184
9 compile-abc 0x000d2cff halfmoon::JitWriter::writeEpilogue(avmplus::FrameState const*) + 223
10 compile-abc 0x00142ddb avmplus::NullWriter::writeEpilogue(avmplus::FrameState const*) + 27
11 compile-abc 0x001a1ec1 avmplus::Verifier::verify(avmplus::CodeWriter*) + 1281
12 compile-abc 0x00005fd2 compile_abc::CompilerCore::emitPoolToSpilttedModules(compile_abc::PoolInfo&) + 1058
13 compile-abc 0x00004ee5 compile_abc::CompilerCore::compile() + 5429
14 compile-abc 0x00003701 compile_abc::CompilerCore::run(int, char**) + 1473
15 compile-abc 0x00007085 main + 69
16 compile-abc 0x00002235 start + 53
Stack dump:
0. Program arguments: /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/bin/compile-abc/compile-abc -mtriple=armv7-apple-ios -filetype=obj -sdk /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/avmglue.abc -fields /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/air-fields.arm-air.txt -telemetry-sampler -O3 -abc-file-list=/Users/robverdegaal/ jobs/KCO/Peter en de wolf iPad/bin-release-temp/AOT/AOTBuildOutput5374168781229754859.tmp/ABCFilesList.txt
/var/folders/9v/059bqx7143b4n9c55t2v3g540000gn/T/cmd13929359425223980.tmp: line 2: 4417 Segmentation fault: 11 "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/bin/compile-abc/compile-abc" "-mtriple=armv7-apple-ios" "-filetype=obj" "-sdk" "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/avmglue.abc" "-fields" "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/air-fields.arm-air.txt" "-telemetry-sampler" "-O3" "-abc-file-list=/Users/robverdegaal/ jobs/KCO/Peter en de wolf iPad/bin-release-temp/AOT/AOTBuildOutput5374168781229754859.tmp/ABCFilesList.txt"
Compilation failed while executing : compile-abc
Copy link to clipboard
Copied
AIR17 gives this error:
Error occurred while packaging the application:
0 compile-abc-64 0x000000010ad13d08 llvm::sys::PrintStackTrace(__sFILE*) + 40
1 compile-abc-64 0x000000010ad141e4 SignalHandler(int) + 452
2 libsystem_platform.dylib 0x00007fff9208bf1a _sigtramp + 26
3 compile-abc-64 0x000000010b12f1b8 MMgc::heapSpace + 0
4 compile-abc-64 0x000000010a10f64e halfmoon::Cleaner::simplify(halfmoon::BlockEndInstr*) + 526
5 compile-abc-64 0x000000010a110203 halfmoon::cleanBlocks(halfmoon::Context*, halfmoon::InstrGraph*, halfmoon::Cleaner*) + 147
6 compile-abc-64 0x000000010a111d12 halfmoon::removeDeadCode(halfmoon::Context*, halfmoon::InstrGraph*) + 322
7 compile-abc-64 0x000000010a10588c halfmoon::AbcBuilder::visitBlocks(nanojit::Seq<halfmoon::AbcBlock*>*) + 300
8 compile-abc-64 0x000000010a1841a0 halfmoon::parseAbc(avmplus::MethodInfo*, halfmoon::Lattice*, halfmoon::InfoManager*, nanojit::Allocator&, halfmoon::AbcGraph*, avmplus::Toplevel*, avmplus::AbcEnv*, halfmoon::ProfiledInformation*, halfmoon::Context&) + 192
9 compile-abc-64 0x000000010a184f27 halfmoon::JitWriter::writeEpilogue(avmplus::FrameState const*) + 183
10 compile-abc-64 0x000000010a24dd02 avmplus::Verifier::verify(avmplus::CodeWriter*) + 1218
11 compile-abc-64 0x000000010a0b0a92 compile_abc::CompilerCore::emitPoolToSpilttedModules(compile_abc::PoolInfo&) + 978
12 compile-abc-64 0x000000010a0af9a5 compile_abc::CompilerCore::compile() + 4405
13 compile-abc-64 0x000000010a0ae5ea compile_abc::CompilerCore::run(int, char**) + 1242
14 compile-abc-64 0x000000010a0b1fe1 main + 129
15 compile-abc-64 0x000000010a0ad334 start + 52
16 compile-abc-64 0x000000000000000a start + 4126485770
Stack dump:
0. Program arguments: /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/bin/compile-abc/compile-abc-64 -mtriple=arm64-apple-ios -filetype=obj -sdk /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/avmglue.abc -fields /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/air-fields.arm64-air.txt -telemetry-sampler -O3 -abc-file-list=/Users/robverdegaal/ jobs/KCO/Peter en de wolf iPad/bin-release-temp/AOT/AOTBuildOutput6692663040654422787.tmp/ABCFilesList.txt
Copy link to clipboard
Copied
Plus this added to Air 17:
Stack dump:
0. Program arguments: /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/bin/compile-abc/compile-abc -mtriple=armv7-apple-ios -filetype=obj -sdk /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/avmglue.abc -fields /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/air-fields.arm-air.txt -telemetry-sampler -O3 -abc-file-list=/Users/robverdegaal/ jobs/KCO/Peter en de wolf iPad/bin-release-temp/AOT/AOTBuildOutput5277216431890566522.tmp/ABCFilesList.txt
/var/folders/9v/059bqx7143b4n9c55t2v3g540000gn/T/cmd4998387615198028180.tmp: line 2: 4718 Segmentation fault: 11 "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/bin/compile-abc/compile-abc-64" "-mtriple=arm64-apple-ios" "-filetype=obj" "-sdk" "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/avmglue.abc" "-fields" "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/air-fields.arm64-air.txt" "-telemetry-sampler" "-O3" "-abc-file-list=/Users/robverdegaal/ jobs/KCO/Peter en de wolf iPad/bin-release-temp/AOT/AOTBuildOutput6692663040654422787.tmp/ABCFilesList.txt"
/var/folders/9v/059bqx7143b4n9c55t2v3g540000gn/T/cmd8694213217261374572.tmp: line 2: 4716 Segmentation fault: 11 "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/bin/compile-abc/compile-abc" "-mtriple=armv7-apple-ios" "-filetype=obj" "-sdk" "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/avmglue.abc" "-fields" "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/air-fields.arm-air.txt" "-telemetry-sampler" "-O3" "-abc-file-list=/Users/robverdegaal/ jobs/KCO/Peter en de wolf iPad/bin-release-temp/AOT/AOTBuildOutput5277216431890566522.tmp/ABCFilesList.txt"
unexpected failure: null
Copy link to clipboard
Copied
Jesus christ ARE WE GOING TO GET A FIX FOR THIS??? IVE BEEN TRYING TO FIX THIS ERROR FOR 8 FCKING HOURS