iTGB error GDB: Program received signal: "EXC_BAD_ACCESS".
by Carlos G. Varela · in iTorque 2D · 08/01/2009 (8:03 am) · 26 replies
After successful compilation...(16 hours after... : )) ) when already installed on the iphone and trying to run xcode say: GDB: Program received signal: "EXC_BAD_ACCESS". The program freeze on the GG iTGB initial image.
I did can install and test the BehaviorShooter demo game, both with and without components, using SDK 3.0, I need to assign the target OS to device 3.0 in order to do that, the only way, in may case.
When I did try to the same with KartKit I did receive this error.
iTGB 1.2
Which is the correct way in order to have a game on the iphone with SDK 3.0 right now???
Thanks,
Varela
I did can install and test the BehaviorShooter demo game, both with and without components, using SDK 3.0, I need to assign the target OS to device 3.0 in order to do that, the only way, in may case.
When I did try to the same with KartKit I did receive this error.
iTGB 1.2
Which is the correct way in order to have a game on the iphone with SDK 3.0 right now???
Thanks,
Varela
About the author
10+ years IT Consultant, please see http://carlos.varela.com http://www.idealius.com/blog
Recent Threads
#22
08/17/2009 (1:26 pm)
Its only say on the iPhone / iPodTouch: "Error - Failed to initialize game, shutting down"
#23
if you do by starting the editor you would end with incompatible scripts again as you built Torque Game Builder without the script change
08/17/2009 (5:09 pm)
do you generate the DSO by using TGBGame?if you do by starting the editor you would end with incompatible scripts again as you built Torque Game Builder without the script change
#24
08/17/2009 (7:01 pm)
Yes I did it.
#25
08/25/2009 (1:48 pm)
Some of the info in this thread should be in an FAQ somewhere. Specifically the stuff about the xcode project and the xcode_iphone project needing the same options set or the dso files producedaren't the right ones for the iPhone app . That certainly explains one of the problems I've been having!
#26
12/27/2009 (11:56 am)
this thread helps me a lot, thanks.
Torque Owner Carlos G. Varela
idealius.com/blog
First, Thanks for your fast response!
I does not want my money, I just want I products that I paid work, thats simple!
I am really very tired, spending 20 days all day compiling and compiling, man I am to do the same and dont see any that can work. I am lost with this products.
I did order this products in order to work, not to make a refund, I really want to work with your product, but its impossible!
I did compile the xcode project with sdk 2.2.1 too.
I did compile iTGB and TGBGame with these options:
Torque Game Builder.app
__MACOSX__
TORQUE_DISABLE_MEMORY_MANAGER
USE_COMPONENTS
PUAP_SCRIPT_CHANGE
PUAP_OPTIMIZE
TGBGame.app
__MACOSX__
TORQUE_DISABLE_MEMORY_MANAGER
USE_COMPONENTS
TORQUE_PLAYER
PUAP_SCRIPT_CHANGE
PUAP_OPTIMIZE
I am using the iPhoneTest sample project.
I did run the CleanDSO.command, located at shooter sample and after that I did copy the TGBGame.app into this iPhoneTest project's folder, did run the TGBGame.app and go to xcode project.
I did delete and add the main.cs, common and game files and folders, using option two of adding existing files.
I did delete the build folder too.
I did clean all targets, and just build and start or debug the target optimize_script, device ipod touch 2.2.1 and steel the same error.
The only diffence into debug and release, is that with release are 2 error message on the device, the fisrt is that can't open the main.cs file and the second that can't start. On debug configuration just the second message, after that the xcode say the:
EXC_BAD_ACCESS ERROR
filestringTable.cc
line 103
walk = &buckets[key % numBuckets];
I did try too with:
Torque Game Builder.app
__MACOSX__
TORQUE_DISABLE_MEMORY_MANAGER
USE_COMPONENTS
TGBGame.app
__MACOSX__
TORQUE_DISABLE_MEMORY_MANAGER
USE_COMPONENTS
TORQUE_PLAYER
Using the first TGB target only and the same error, some times show the splash screen and sometimes does not.
I did download a fresh copy of iTGB Mac today and nothing.
Thanks and Regards,
Varela