★ TouchArcade needs your help. Click here to support us on Patreon.

Really ticked off with an invisible bug eating my insides.

05-19-2010, 12:02 AM
#1
Joined: Jul 2009
Location: Victoria BC
Posts: 1,170
Really ticked off with an invisible bug eating my insides.

My star game Str8ts has a bug. Four developers later the bug still haunts the app. I am so sick and tired of this bug that I need to fumigate it out of my life.
Really need someone to figure out what is causing the game to exit and go back to the page with all the app icons. When a player gets kicked out of one of the four levels the other 3 levels are still at their disposal. This bug happens to less than 5 % of customers and has been really hard to re-create.

We just released the perfect patch 1.8 and I am getting a few reports of the same incident,

Who is really good at spotting a bug and fixing such an issue? Str8ts is going to be featured in a lot of additional major newspapers and I really need the app to work perfectly.

Who is the best? Please identify yourselves.

STR8TS , STR8TS 6X6 , DOMINO DICE , PUZZLE DICE,
CAVEMAN TEST, 1 TO 25, SUDOKU+STR8TS, ZARTE, ABSORB WATER, YOU, TIME SHEET (PHOTO VERIFIED),Office Alarm, Travel weather, dock clock,
05-19-2010, 12:25 AM
#2
Joined: Nov 2008
Location: Munich, Germany
Posts: 754
Send a message via Skype™ to mobile1up
Quote:
Originally Posted by Syndicated Puzzles View Post
My star game Str8ts has a bug. Four developers later the bug still haunts the app. I am so sick and tired of this bug that I need to fumigate it out of my life. Really need someone to figure out what is causing the game to exit and go back to the page with all the app icons. When a player gets kicked out of one of the four levels the other 3 levels are still at their disposal. This bug happens to less than 5 % of customers and has been really hard to re-create.
i could be the basic culprits:

- memory overrun/underrun
- word/dword alignment issues

classic issues like this are definitely pointer and memory related. for buffer overrun/underrun there are tools you can use, memwatch is one, you do not need it in your final version - but helps with development and word/dword alignment is common for reading unaligned values that ARM simply cannot handle

unfortunately; these bugs typically require some time to find.. a good code review will do it, depends on the quality of the code as well. do you have some funky pointer code in there somewhere?

contact me via PM - i've been writing C code for well over 15 years now, i've seen it all *g*

// Aaron Ardiri
Mobile 1UP is a proud indie developer - support us!
developer of Caveman / Caveman HD and GW Series

05-19-2010, 12:52 AM
#3
Joined: Jul 2009
Location: Victoria BC
Posts: 1,170
Aaron will send you a PM shortly. Thanks!

STR8TS , STR8TS 6X6 , DOMINO DICE , PUZZLE DICE,
CAVEMAN TEST, 1 TO 25, SUDOKU+STR8TS, ZARTE, ABSORB WATER, YOU, TIME SHEET (PHOTO VERIFIED),Office Alarm, Travel weather, dock clock,
05-19-2010, 01:57 AM
#4
Joined: Oct 2009
Posts: 249
do you have zombies enabled in XCode?

Helped me a lot to find crashes.

Start your engines gentlemen, Vector Rally is out!

---
Twitter: http://twitter.com/VectorRally
05-19-2010, 04:58 AM
#5
Have you downloaded the Crash Reports from iTunes Connect? Our dev team seem to find those helpful in pinpointing some issues.
05-19-2010, 06:06 AM
#6
Joined: Nov 2008
Location: Munich, Germany
Posts: 754
Send a message via Skype™ to mobile1up
Quote:
Originally Posted by Astraware View Post
Have you downloaded the Crash Reports from iTunes Connect? Our dev team seem to find those helpful in pinpointing some issues.
these are only valuable if you keep your build meta data/files for each version - if you clean your project, you may not be able to define the exact symbol data but definitely these could help in the investigation.

// Aaron Ardiri
Mobile 1UP is a proud indie developer - support us!
developer of Caveman / Caveman HD and GW Series
05-19-2010, 07:38 AM
#7
Quote:
Originally Posted by mobile1up View Post
these are only valuable if you keep your build meta data/files for each version - if you clean your project, you may not be able to define the exact symbol data but definitely these could help in the investigation.
Regardless of this they show call stack information (at least for my builds) which can often give you a decent shot at ascertaining whats happening and why ..
05-19-2010, 01:04 PM
#8
Joined: Jan 2009
Location: San Francisco, CA
Posts: 207
Quote:
Originally Posted by Marc Vaughan View Post
Regardless of this they show call stack information (at least for my builds) which can often give you a decent shot at ascertaining whats happening and why ..
That's correct - these actually helped me diagnose some nasty & sporadic bug happening on some particular device and OS...

Want some great and funny Tips? Check Amazing Tips (Full + Lite) in the App Store
More info @ http://bitwiseops.com/AmazingTips/
☞ Become a Fan or @Twitter to get new tips every day!
Bitwise Operations, LLC
05-19-2010, 01:18 PM
#9
Joined: Jul 2009
Location: Zgrunturos and San Francisco
Posts: 595
I concur that Crash Logs are pretty helpful even if you don't have the matching symbol set.

Any other common things done that seem to induce the crash? I'm curious ... and pretty good at bug squishing...

Go to where the basketball court and arcade go 1 on 1 with Hoops Madness!
05-19-2010, 02:11 PM
#10
Joined: Nov 2008
Location: Munich, Germany
Posts: 754
Send a message via Skype™ to mobile1up
Quote:
Originally Posted by mobileben View Post
I concur that Crash Logs are pretty helpful even if you don't have the matching symbol set. Any other common things done that seem to induce the crash? I'm curious ... and pretty good at bug squishing...
i looked at it; found a common set of conditions when it crashes in the logs; pin-pointed it down to a single function which calls the routine that throws an exception. seems to be a range error which should be pretty simple to fix. issue is; its a complicated piece of code - would need to spend more time on it to figure out what the original developer was trying to do

// Aaron Ardiri
Mobile 1UP is a proud indie developer - support us!
developer of Caveman / Caveman HD and GW Series

Last edited by mobile1up; 05-19-2010 at 02:57 PM.