My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 247: iOS app crashes on GC
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Aug 2013


 
Reported by gaudrea...@gmail.com, Aug 14, 2013
I am building an NME app and testing on an iPad with iOS 6.1.3
The application will run normally for a while, but will eventually crash. 
There seems to be no way to reproduce this reliably.

What is the expected output? What do you see instead?
The game should proceed normally. The game will freeze, but music will continue to play for a single loop since it is on another thread. CPU utilization will drop to almost 0% for the game's main thread.

What version of the product are you using? On what operating system?
Xcode 4.6
NME 3.5.5
hxcpp 3.0.1

Please provide any additional information below.

I've attached a screenshot of the call stack during the freeze-up.


Screen Shot 2013-08-14 at 11.03.26 AM.png
464 KB   View   Download
Aug 16, 2013
#1 gaudrea...@gmail.com
This appears to be a deadlock. I am looking into what structures I am using that may not be thread-safe.
Aug 17, 2013
#2 gaudrea...@gmail.com
I think this is a problem with IntHash:

My main thread stack on deadlock:

0   libsystem_kernel.dylib        	0x3b5fd0fc __psynch_mutexwait + 24
1   libsystem_c.dylib             	0x3b546124 pthread_mutex_lock + 388
2   Arcade                        	0x004d9512 hx::InternalFinalizer::InternalFinalizer(hx::Object*) + 34
3   Arcade                        	0x004d94e6 hx::InternalFinalizer::InternalFinalizer(hx::Object*) + 6
4   Arcade                        	0x004dc7ca __int_hash_create() + 150
5   Arcade                        	0x004caa96 IntHash_obj::__new() + 38

Xcode 4.6
NME 3.5.5
hxcpp 3.0.1
iOS 6.3.1
Aug 22, 2013
Project Member #3 gameh...@gmail.com
Hi,
I think I have fixed this deadlock now.
Status: Fixed

Powered by Google Project Hosting