Android game crashes during screen transitions

126 views
Skip to first unread message

il...@doubleduck.co

unread,
Jul 31, 2013, 12:18:31 PM7/31/13
to haxe...@googlegroups.com
Hey,

We have a game developed with NME that crashes without any explanation during screen transitions.
When moving from one screen to another (removing a sprite with many children of it's own and adding a new sprite with many children of it's own) the game crashes.
This doesn't occur every transition, but it is consistent in terms of every 4 times for device A, every 6 times for device B and so on.

The only error we see in logcat is:
"Consumer closed input channel or an error occurred.  events=0x9"
and that our process has died.

It also doesn't seem to crash at the exact same point each time (debugging traces show that it reaches different parts of the code each crash).

The same game runs smoothly on iOS.

Has anyone encountered a similar issue? Any ideas?

Thanks,
Ilai

Achmad Aulia Noorhakim

unread,
Jul 31, 2013, 12:59:53 PM7/31/13
to haxe...@googlegroups.com
    "Consumer closed input channel or an error occurred.  events=0x9"

Audio problem? How do you handle your audio/sound? Might want to try disabling audio and see what happen.


--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Achmad Aulia Noorhakim

unread,
Jul 31, 2013, 1:01:43 PM7/31/13
to haxe...@googlegroups.com
Forget what I said, I don't know what I'm talking about :(. Sorry

Hugh

unread,
Aug 1, 2013, 1:50:28 AM8/1/13
to haxe...@googlegroups.com
Hi,
Sounds like it might be something to do with the "on removed from stage"event, possibly on a null object.
Try compiling with the -debug flag to see id there are any "null object references" in the log.

Hugh

il...@doubleduck.co

unread,
Aug 1, 2013, 3:28:47 AM8/1/13
to haxe...@googlegroups.com
Hey Hugh,

Thanks, but even when I compile with "-debug" I see no new error messages and nothing regarding null object reference.
I also removed any "destroy" overrides we had, just in case, but the issue remains.

Ilai

Rocks Wang

unread,
Aug 1, 2013, 9:54:07 AM8/1/13
to haxe...@googlegroups.com
Are you using multi-threading in the app?

在 2013年8月1日星期四UTC+8上午12时18分31秒,il...@doubleduck.co写道:
Reply all
Reply to author
Forward
0 new messages