Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

awayphysics crushs in AIR for IOS #9

Open
ddmsama opened this issue Jun 22, 2012 · 20 comments
Open

awayphysics crushs in AIR for IOS #9

ddmsama opened this issue Jun 22, 2012 · 20 comments
Assignees

Comments

@ddmsama
Copy link

ddmsama commented Jun 22, 2012

awayphysics crushs in AIR for IOS. We think it crushs when running alchemy. Is there any fix? or we just have to wait for alchemy to improve?

@muzerly
Copy link
Member

muzerly commented Jun 24, 2012

yeah, you need wait alchemy2 release

@ghost ghost assigned ringodotnl Mar 1, 2013
@62316e
Copy link

62316e commented May 22, 2013

As i know flasscc is already out. Still its not working on ios. Any reason?

@62316e
Copy link

62316e commented May 22, 2013

TypeError: Error #1009
at awayphysics.dynamics::AWPDynamicsWorld()
at awayphysics.dynamics::AWPDynamicsWorld$/getInstance()

Fails at CModule.startAsync(this);

@muzerly
Copy link
Member

muzerly commented May 23, 2013

Hi, it work on ios, pls use dev branch.

@62316e
Copy link

62316e commented May 23, 2013

Em, i do use dev branch.
Master for 4.0 - will crash on 4.1

@62316e
Copy link

62316e commented May 23, 2013

I've tested on:
iPad 2 (5.1.1)
iPhone 5 (6.1)
with Air 3.7 and 3.8 tried both Asc 2 and flex build
-swf-version=21
-swf-version=20

Black screen everywhere.

@62316e
Copy link

62316e commented May 23, 2013

Now when compiling as ad-hoc i receive

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at adobe.abc.GlobalOptimizer$FrameState.init(GlobalOptimizer.java:9154 )
at adobe.abc.GlobalOptimizer.createBlock(GlobalOptimizer.java:9170)
at adobe.abc.GlobalOptimizer.merge(GlobalOptimizer.java:9217)
at adobe.abc.GlobalOptimizer$InputAbc.readCode(GlobalOptimizer.java:1051 )
at adobe.abc.GlobalOptimizer$InputAbc.readBody(GlobalOptimizer.java:531)
at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:404)
at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:280)
at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:160)
at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcode(AOTCompiler.jav a:329)
at com.adobe.air.ipa.AOTCompiler.GenerateMacBinary(AOTCompiler.java:600)
at com.adobe.air.ipa.IPAOutputStream.compileRootSwf(IPAOutputStream.java :196)
at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:35 5)
at com.adobe.air.ADTPackager.createPackage(ADTPackager.java:65)
at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:165)
at com.adobe.air.ADTEntrypoint.parseArgsAndGo(ADTEntrypoint.java:132)
at com.adobe.air.ipa.PFI.parseArgsAndGo(PFI.java:152)
at com.adobe.air.ADTEntrypoint.run(ADTEntrypoint.java:68)
at com.adobe.air.ipa.PFI.main(PFI.java:112)

@muzerly
Copy link
Member

muzerly commented May 23, 2013

try to disable asc2.0, it should work.

@62316e
Copy link

62316e commented May 23, 2013

I've tried. Nothing works

On Thu, May 23, 2013 at 5:16 PM, Yang Li [email protected] wrote:

try to disable asc2.0, it should work.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-18345908
.

Sent from my gmail.

@muzerly
Copy link
Member

muzerly commented May 23, 2013

do you run on device or simulator?

@62316e
Copy link

62316e commented May 23, 2013

What do you mean simulator? I event cant build

@62316e
Copy link

62316e commented May 23, 2013

Only fast interpreter build works. Which is very slow.
I need ad-hoc or release build. (everybody)

@62316e
Copy link

62316e commented May 23, 2013

Ah, sorry. Wrong thread.
Yeah, with flex build it works on device but only in interpreter build.

Related: #16

@muzerly
Copy link
Member

muzerly commented May 23, 2013

I have not test on device, will test tomorrow.

@62316e
Copy link

62316e commented May 23, 2013

Can you also test release build for ios?

@muzerly
Copy link
Member

muzerly commented May 23, 2013

yes, I will

@62316e
Copy link

62316e commented Jun 15, 2013

In how many years?
23 days passed.

@dtramer
Copy link

dtramer commented Jul 29, 2013

any progress on this muzerly?

@muzerly
Copy link
Member

muzerly commented Jul 30, 2013

Unfortunatly, I'm still not sure what cause this error.

@62316e
Copy link

62316e commented Jul 30, 2013

After some memory size tests looks like there is some stack overflow inside optimizer.
Basically you need to download flex source code and try to compile and debug by your self.

Or you can just comment method-by-method and then you will understand where exactly error happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants