[FIXED] iTorque2D not starting in device
by Pedro Vicente · in iTorque 2D · 08/21/2011 (10:46 pm) · 4 replies
everything was running fine, then suddenly I start getting this error log and the app freezes at the splash screen (running from XCode) or exits (from device, iPhone4)
XCode 4.1, OS X Lion, iTorque 1.4.1
XCode 4.1, OS X Lion, iTorque 1.4.1
Quote:
sharedlibrary apply-load-rules all
target remote-mobile /tmp/.XcodeGDBRemote-328-39
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 11779 thread 0x0]
[Switching to process 11779 thread 0x0]
Initial Command Line
0 : /var/mobile/Applications/A78965C0-036E-4FDC-B9C3-7C5580C19D06/Life.app/Life
Merged Command Line
0 : /var/mobile/Applications/A78965C0-036E-4FDC-B9C3-7C5580C19D06/Life.app/Life
performing mainInit()
System & Processor Information:
iPhone version: 0
CarbonLib version: 0
Physical RAM: 128MB
Logical RAM: 128MB
ARM 1176, 412 Mhz
FPU detected
Math Init:
Installing Standard C extensions
Setting $platform to iphone4
Input Init:
[]Input::enable.
Video Init:
Accelerated OpenGL display device detected.
Initializing chunk mappings...
o 'TEXT' maps to TextChunk
o 'SCHK' maps to UnknownChunk
o 'SCHK' maps to SimChunk
Binding server port to default IP
#2
More details: it happens both on device and simulator, both iphone and ipad.
I am using a modified engine version and a modified default template, but everything was running fine until now.
This is not the actual project that gives the error, but similar.
Torque Minimal Template -- Part 5. Levels and sound
The only thing that changed was that I have been adding several t2dImageMapDatablock instances to the file "datablocks.cs".
I noticed that in the default template image datablocks are handled differently. Could this be an issue?
Will do some tests regarding this and will let you know.
08/22/2011 (7:30 am)
Yes, iOS SDK 4.3.More details: it happens both on device and simulator, both iphone and ipad.
I am using a modified engine version and a modified default template, but everything was running fine until now.
This is not the actual project that gives the error, but similar.
Torque Minimal Template -- Part 5. Levels and sound
The only thing that changed was that I have been adding several t2dImageMapDatablock instances to the file "datablocks.cs".
I noticed that in the default template image datablocks are handled differently. Could this be an issue?
Will do some tests regarding this and will let you know.
#3
08/22/2011 (8:22 am)
I'll check out the project you linked. If something pops out at me, I'll let you know.
#4
that said, the images were not that many, so there may be more to this.
08/22/2011 (2:36 pm)
this apparently was too many t2dImageMapDatablock instances loaded at start; I now use ipad/iphone specific instantiation and the problem does not happen anymore;that said, the images were not that many, so there may be more to this.
Employee Michael Perry
ZombieShortbus