I’m building a Game and until last friday it was working on both the Ipad and iphone, as well as on the xcode simulator and the corona simulator. But as of today of friday i get a new error to pop up when i build it to the device. I get the following for my error log.
Incident Identifier: 87CC8C48-1FB0-4B81-A3E5-58E786208A1B
CrashReporter Key: 0465f71c0a832d082068b7f3e82bfe05ef80976b
Hardware Model: iPad1,1
Process: Eyes2.0 [18072]
Path: /var/mobile/Applications/0C59E3A7-F49C-4AC3-854D-AE470ABF5ED3/Eyes2.0.app/Eyes2.0
Identifier: Eyes2.0
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-06-11 15:52:17.314 -0400
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x8badf00d
Highlighted Thread: 0
Application Specific Information:
com.marvelapps.eyes failed to launch in time
Elapsed total CPU time (seconds): 1.630 (user 1.630, system 0.000), 8% CPU
Elapsed application CPU time (seconds): 0.362, 2% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem\_kernel.dylib 0x3584c628 \_\_semwait\_signal + 24
1 libsystem\_c.dylib 0x349f9b1a nanosleep + 138
2 Eyes2.0 0x0014df32 0xed000 + 397106
3 Eyes2.0 0x0013d9fe 0xed000 + 330238
4 Eyes2.0 0x0014aa58 0xed000 + 383576
5 Eyes2.0 0x0013db14 0xed000 + 330516
6 Eyes2.0 0x0013764e 0xed000 + 304718
7 Eyes2.0 0x001420b6 0xed000 + 348342
8 Eyes2.0 0x0013d9fe 0xed000 + 330238
9 Eyes2.0 0x00149fac 0xed000 + 380844
10 Eyes2.0 0x0013db14 0xed000 + 330516
11 Eyes2.0 0x00137772 0xed000 + 305010
12 Eyes2.0 0x0014ad3c 0xed000 + 384316
13 Eyes2.0 0x0013dd44 0xed000 + 331076
14 Eyes2.0 0x0013774a 0xed000 + 304970
15 Eyes2.0 0x00159d36 0xed000 + 445750
16 Eyes2.0 0x0015071e 0xed000 + 407326
17 Eyes2.0 0x0016b2ec 0xed000 + 516844
18 Eyes2.0 0x001004fc 0xed000 + 79100
19 Eyes2.0 0x0010079e 0xed000 + 79774
20 Eyes2.0 0x0010091e 0xed000 + 80158
21 UIKit 0x32f0eca4 -[UIApplication \_callInitializationDelegatesForURL:payload:suspended:] + 1176
22 UIKit 0x32f087d6 -[UIApplication \_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 402
23 UIKit 0x32ed6abc -[UIApplication handleEvent:withNewEvent:] + 1004
24 UIKit 0x32ed6560 -[UIApplication sendEvent:] + 48
25 UIKit 0x32ed5f34 \_UIApplicationHandleEvent + 5820
26 GraphicsServices 0x334c8224 PurpleEventCallback + 876
27 CoreFoundation 0x357aa51c \_\_CFRUNLOOP\_IS\_CALLING\_OUT\_TO\_A\_SOURCE1\_PERFORM\_FUNCTION\_\_ + 32
28 CoreFoundation 0x357aa4be \_\_CFRunLoopDoSource1 + 134
29 CoreFoundation 0x357a930c \_\_CFRunLoopRun + 1364
30 CoreFoundation 0x3572c49e CFRunLoopRunSpecific + 294
31 CoreFoundation 0x3572c366 CFRunLoopRunInMode + 98
32 UIKit 0x32f07864 -[UIApplication \_run] + 544
33 UIKit 0x32f04cce UIApplicationMain + 1074
34 Eyes2.0 0x000efe84 0xed000 + 11908
35 Eyes2.0 0x000efe3c 0xed000 + 11836
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem\_kernel.dylib 0x3583c3a8 kevent + 24
1 libdispatch.dylib 0x33b6fea4 \_dispatch\_mgr\_invoke + 708
2 libdispatch.dylib 0x33b6fbc2 \_dispatch\_mgr\_thread + 30
Thread 2 name: WebThread
Thread 2:
0 libsystem\_kernel.dylib 0x3583c004 mach\_msg\_trap + 20
1 libsystem\_kernel.dylib 0x3583c1fa mach\_msg + 50
2 CoreFoundation 0x357aa3ec \_\_CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x357a9124 \_\_CFRunLoopRun + 876
4 CoreFoundation 0x3572c49e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3572c366 CFRunLoopRunInMode + 98
6 WebCore 0x37472c9c \_ZL12RunWebThreadPv + 396
7 libsystem\_c.dylib 0x349f572e \_pthread\_start + 314
8 libsystem\_c.dylib 0x349f55e8 thread\_start + 0
Unknown thread crashed with unknown flavor: 5, state\_count: 1
I’m not sure where to look since everytime i look it points to lack of memory, but it worked before friday and i haven’t added ANY new images, in fact i’ve made them all smaller in an attempt to fix this. The main function is just a director piece that points to my menu. which looks like this.
[code]
module(…, package.seeall)
function new()
local gameNetwork = require “gameNetwork”
–_G.loggedIntoGC = false
loggedIntoGC = false
local localGroup = display.newGroup()
local background = display.newImageRect(“Menu/menubackground.png”, display.contentWidth,display.contentHeight )
background.x = display.contentWidth / 2; background.y = display.contentHeight / 2;
localGroup:insert(background)
local NewGame2P = display.newImageRect (“Menu/menunewgame.png”, 200,65)
NewGame2P.x = display.contentWidth / 2
NewGame2P.y = 90
localGroup:insert(NewGame2P)
local BtnAcheive = display.newImageRect (“Menu/menuachievments.png”,180,45)
BtnAcheive.x = 120
BtnAcheive.y = 285
localGroup:insert(BtnAcheive)
local BtnLeader = display.newImageRect (“Menu/menuleaderboards.png”,180,45)
BtnLeader.x = 360
BtnLeader.y = 285
localGroup:insert(BtnLeader)
local NewGameCPU = display.newImageRect (“Menu/menunewgamepc.png”,150,60)
NewGameCPU.x = display.contentWidth / 2
NewGameCPU.y = 175
localGroup:insert(NewGameCPU)
local Instructions = display.newImageRect (“Menu/menuinstructions.png”,180,45)
Instructions.x = display.contentWidth / 2
Instructions.y = 235
localGroup:insert(Instructions)
–print(“displayed menu images”)
local function PressLocal (event)
if event.phase == “ended” then
director:changeScene (“LocalGame”,“downFlip”)
end
end
NewGame2P:addEventListener (“touch”, PressLocal)
local function Instruct (event)
if event.phase == “ended” then
director:changeScene (“Instructions”, “downFlip”)
end
end
Instructions:addEventListener (“touch”, Instruct)
local function PressAch (event)
if event.phase == “ended” and loggedIntoGC then
gameNetwork.show( “achievements”, { listener=dismissCallback } )
end
end
BtnAcheive:addEventListener (“touch”, PressAch)
local function PressLeader (event)
if loggedIntoGC then gameNetwork.show( “leaderboards”, { leaderboard = {timeScope=“Week”}, listener=dismissCallback } )
end
end
BtnLeader:addEventListener (“touch”, PressLeader)
function initCallback( event )
if event.data then
loggedIntoGC = true
else
loggedIntoGC = false
end
end
print(“started Gamecenter”)
– function to listen for system events
function onSystemEvent( event )
if event.type == “applicationStart” then
gameNetwork.init( “gamecenter”, initCallback )
return true
end
end
Runtime:addEventListener( “system”, onSystemEvent )
return localGroup
end
[/code] [import]uid: 149275 topic_id: 27379 reply_id: 327379[/import]