|
Post by Space Borders on May 8, 2015 3:08:37 GMT -5
|
|
|
Post by Clinkzbone on May 8, 2015 7:54:59 GMT -5
I regret to inform you that I am still experiencing crashes when docking on 4x speed. And I still can't find any crash logs. Very odd.
|
|
|
Post by Clinkzbone on May 8, 2015 8:01:31 GMT -5
Actually, it's not just on 4x speed. My game insists on crashing whenever I dock, regardless of circumstances.
|
|
|
Post by Clinkzbone on May 8, 2015 8:04:22 GMT -5
"all crashes (or at least most of them), are related to a new limitation on threading in more recent versions of iOS"
Do you happen to know exactly what iOS version these changes took place in? Maybe that's the cause of the problem? No backwards compatability?
|
|
|
Post by Clinkzbone on May 8, 2015 8:28:59 GMT -5
Also found this possible explanation for the lack of crash logs: "Sometimes, if an app runs the system very rapidly out of memory, an application will crash without leaving a crash log." From discussions.apple.com/thread/2411887From 2010, so rather outdated, but I was looking for anything remotely useful. Also, attached are the two most recent logs I have that are labeled AE. Those labeled SpaceBorders date back to 2013, and so are irrelevant. Looking through the logs I don't think they're the correct ones, but you can have a look. AE_2014-08-02-100335_Justins-iPhone.crash (28.59 KB) AE_2014-08-08-183732_Justins-iPhone.crash (28.53 KB)
|
|
|
Post by Space Borders on May 8, 2015 9:14:31 GMT -5
I regret to inform you that I am still experiencing crashes when docking on 4x speed. And I still can't find any crash logs. Very odd. Hm, that's a real "downer". Actually, it's not just on 4x speed. My game insists on crashing whenever I dock, regardless of circumstances. Does that mean always, or just often? "all crashes (or at least most of them), are related to a new limitation on threading in more recent versions of iOS" Do you happen to know exactly what iOS version these changes took place in? Maybe that's the cause of the problem? No backwards compatability? Well it's mainly in iOS 8, however, this couldn't be the problem anymore, since I have moved the docking procedure to the main thread. Also, I'm testing on an iOS 8.1 iPod5G, an iOS 7.1.2 iPhone4 as well as an iOS 4.3.3 iPad2, none of which are crashing. Perhaps it's related to the particular version of iOS7 you are using (but only perhaps, so for now we should assume it is not). Also found this possible explanation for the lack of crash logs: "Sometimes, if an app runs the system very rapidly out of memory, an application will crash without leaving a crash log." From discussions.apple.com/thread/2411887From 2010, so rather outdated, but I was looking for anything remotely useful. Also, attached are the two most recent logs I have that are labeled AE. Those labeled SpaceBorders date back to 2013, and so are irrelevant. Looking through the logs I don't think they're the correct ones, but you can have a look. What this would imply is poor memory management. Since I always test the game for any leaks using the provided profiling tools, this is highly unlikely. Also, the memory usage is always in the range of 60 - 70Mb and stays that way, even after many hours of gameplay. I could imagine this on an iPod4G, but on an iPhone5S with 1GB, that's difficult to accept. So memory really shouldn't be the issue here. Unfortunately the old logs will indeed not help much. Let's try to narrow this issue down some more. Do crashes only occur while docking, or are you experiencing them during other situations as well? Thanks for all your patience. 
|
|
|
Post by Clinkzbone on May 8, 2015 10:11:56 GMT -5
So far I have experienced a crash every time i have tried to dock a ship, including the mining drone and mothership fighter. I played through a couple missions without any problems, so long as I didn't dock any ships.
|
|
|
Post by Clinkzbone on May 8, 2015 10:16:22 GMT -5
Just crashed the game on 4X speed, while my screen was focused over an enemy ship that was under mothership suppression fire, had flares around it and had my 32 fighters swarming it.
|
|
|
Post by Space Borders on May 8, 2015 10:47:02 GMT -5
So far I have experienced a crash every time i have tried to dock a ship, including the mining drone and mothership fighter. I played through a couple missions without any problems, so long as I didn't dock any ships. Hm OK, this is really odd. Can you tell me whether the game crashes, once a ship has basically reached the center of the mothership, or while it is still moving towards it (in reverse).
|
|
|
Post by Space Borders on May 8, 2015 11:19:50 GMT -5
OK, there is one more thing I didn't consider here and it might be very important. All my test devices have a 32bit architecture, but I've added 64bit support to version 2.1.4. Since you're iPhone has a 64bit architecture, there might be a connection. Let me remove 64bit support and see what happens.
|
|
|
Post by Space Borders on May 8, 2015 12:13:21 GMT -5
Have posted a new beta with 64bit support removed. Let me know if there is any difference.
|
|
|
Post by Clinkzbone on May 8, 2015 22:28:07 GMT -5
The new beta is a success.
Removal of 64bit support fixed the problem. Have experienced no crashing so far with it. The SFX spam crash mentioned in my earlier post is also fixed.
|
|
|
Post by Space Borders on May 9, 2015 2:36:51 GMT -5
It's very good to hear that. Now we have narrowed the problem down further, however this is not a solution. Apple requires you to add 64bit support to your apps. So what I'm starting to believe is that it might be iOS7 + 64bit. I've come across many forum threads by developers, describing that their app crashes after adding 64bit support under iOS7. What seems to further support this possibility, is that derezz619 also has a 64bit device, but running iOS8. According to him, he experienced very few crashes and that was before I started moving things to the main thread, for additional stability. This is obviously just a guess and the best thing would be to test it. I totally understand, if you don't want to upgrade though.
|
|
|
Post by Clinkzbone on May 9, 2015 4:08:39 GMT -5
Damn it Apple! *flips table*
Fine...I'll update to iOS 8.
|
|
|
Post by Space Borders on May 9, 2015 4:40:06 GMT -5
Remember though, there is no 100% guarantee that this will solve the issue, it's just a theory at most.
|
|