Re: Beta 12: Random Crashes
Can you run your game using the XCode menu command : "Run with performance tools / Allocations" ? Thie will open a window showing all the allocations of the game in real time. Tehn check that the number of allocation and memory size does not increase (top left number on the grid). And it give the exact amount of memory used in the game on the iphone.
Re: Beta 12: Random Crashes
Francois amazing with this tool I can measure up to where the game is in the acceptable limit of memory. Thank you very much...
Re: Beta 12: Random Crashes
Kisguri did you get this output from a debug build? It should give more details if you do use debug building.
Re: Beta 12: Random Crashes
Yes, that is from a Debug build, not release.
Re: Beta 12: Random Crashes
i will give that a try tonight Francois and report back
Re: Beta 12: Random Crashes
"Run with performance tools / Allocations" from Xcode is Amazing Tool...
Re: Beta 12: Random Crashes
When you can't see the crash stack trace in the console, can you please take a screenshot of XCode like this?: (the bottom part)
http://andersriggelsen.dk/uploads/crashreport.png
Re: Beta 12: Random Crashes
I will have you walk me through it, will you be available in about 5 hours?
Re: Beta 12: Random Crashes
Here is my Crash -
Debugger stopped.
Program exited with status value:0.
[Session started at 2011-02-28 23:29:22 +0000.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Fri Oct 22 04:12:10 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys001
Loading program into debugger…
sharedlibrary apply-load-rules all
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-1183-58
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
[Switching to thread 11523]
[Switching to thread 11523]
continue
Program received signal: “EXC_BAD_ACCESS”.
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
(gdb)
2 Attachment(s)
Re: Beta 12: Random Crashes
CSV report generated from me running the game on build 15 with the memory allocation attached. For Francois