After updating the iphone OS to 4.0, the game is crashing

Post here all your questions related with the SmartFoxServer iPhone API

Moderators: Lapo, Bax

jeeteshb
Posts: 7
Joined: 24 Jun 2010, 08:33
Location: India
Contact:

After updating the iphone OS to 4.0, the game is crashing

Postby jeeteshb » 30 Jun 2010, 12:46

Hi,

We are developing a multiplayer game on Iphone using navigation based controller application and smartfoxserver. The game is running perfectly fine on Xcode 3.2.2 but after upgrading the Xcode to 3.2.3 and iphone OS to 4.0 the game is crashing on the Main Menu with error:

Once or twice it happens that the game has gone inside without error....... but otherwise every time it is crashing on the main menu after showing the developer/logo screens.

gdb:
2010-06-30 18:38:30.611 predatordrone[6793:207] Reachability Flag Status: -R ------d localWiFiStatusForFlags
2010-06-30 18:38:30.613 predatordrone[6793:207] Reachable to Wifi
2010-06-30 18:38:30.615 predatordrone[6793:207] Reachability Flag Status: -R -----l- networkStatusForFlags
2010-06-30 18:38:30.615 predatordrone[6793:207] Reachable to Wifi
2010-06-30 18:38:30.630 predatordrone[6793:207] Reading
2010-06-30 18:38:30.632 predatordrone[6793:207] SmartFoxiPhoneClient:init
2010-06-30 18:38:30.633 predatordrone[6793:207] INFSmartFoxiPhoneClient:setupMessageHandlers
2010-06-30 18:38:30.634 predatordrone[6793:207] INFSmartFoxSysHandler:initWithParams sfs:<INFSmartFoxiPhoneClient: 0x830e8b0>
2010-06-30 18:38:30.634 predatordrone[6793:207] INFSmartFoxiPhoneClient:addMessageHandler key:sys handler:INFSmartFoxSysHandler
2010-06-30 18:38:30.635 predatordrone[6793:207] INFSmartFoxiPhoneClient:addMessageHandler key:xt handler:INFSmartFoxExtHandler
2010-06-30 18:38:30.641 predatordrone[6793:207] INFSmartFoxiPhoneClient::loadConfig
2010-06-30 18:38:30.668 predatordrone[6793:207] INFSmartFoxiPhoneClient:connect ipAdr:10.42.63.80 port:9339
2010-06-30 18:38:30.668 predatordrone[6793:207] INFSmartFoxiPhoneClient:initialize isLogOut:0
2010-06-30 18:38:31.078 predatordrone[6793:207] AddRunningClient starting device on non-zero client count
2010-06-30 18:38:32.551 predatordrone[6793:207] Event type: EventOpenCompleted
2010-06-30 18:38:32.552 predatordrone[6793:207] Event type: EventOpenCompleted
2010-06-30 18:38:32.553 predatordrone[6793:207] INFSmartFoxiPhoneClient:handleSocketConnection
2010-06-30 18:38:32.554 predatordrone[6793:207] INFSmartFoxiPhoneClient:send action:verChk fromRoom:0 message:<ver v='154' />
2010-06-30 18:38:32.554 predatordrone[6793:207] INFSmartFoxiPhoneClient:makeXmlHeader
2010-06-30 18:38:32.556 predatordrone[6793:207] INFSmartFoxiPhoneClient:closeHeader
2010-06-30 18:38:32.557 predatordrone[6793:207] INFSmartFoxiPhoneClient:writeToSocket data:<msg t='sys'><body action='verChk' r='0'><ver v='154' /></body></msg> len:70
2010-06-30 18:38:32.560 predatordrone[6793:207] WRITE - Creating a new buffer
2010-06-30 18:38:32.561 predatordrone[6793:207] Event type: EventHasSpaceAvailable
2010-06-30 18:38:32.562 predatordrone[6793:207] WRITE - Written directly to outStream len:70
2010-06-30 18:38:32.563 predatordrone[6793:207] Event type: EventHasSpaceAvailable
2010-06-30 18:38:32.564 predatordrone[6793:207] WRITE - No data to send
2010-06-30 18:38:32.714 predatordrone[6793:207] Event type: EventHasBytesAvailable
2010-06-30 18:38:32.715 predatordrone[6793:207] Read directly from inStream len:92
2010-06-30 18:38:32.716 predatordrone[6793:207] INFSmartFoxiPhoneClient:handleMessage
2010-06-30 18:38:32.717 predatordrone[6793:207] INFSmartFoxiPhoneClient:xmlReceived
2010-06-30 18:38:32.922 predatordrone[6793:207] Event type: EventHasBytesAvailable
2010-06-30 18:38:32.924 predatordrone[6793:207] Read directly from inStream len:54
2010-06-30 18:38:32.925 predatordrone[6793:207] INFSmartFoxiPhoneClient:handleMessage
2010-06-30 18:38:32.926 predatordrone[6793:207] INFSmartFoxiPhoneClient:xmlReceived
2010-06-30 18:38:32.927 predatordrone[6793:207] INFSmartFoxSysHandler:handleMessage msgObj:<msg t='sys'><body action='apiOK' r='0'></body></msg>
2010-06-30 18:38:32.928 predatordrone[6793:207] INFSmartFoxSysHandler:handleApiOK
2010-06-30 18:38:32.930 predatordrone[6793:207] Id -1
Program received signal: “EXC_BAD_ACCESSâ€
Game Developer
Jeetesh Bhoria
User avatar
Lapo
Site Admin
Posts: 20043
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 01 Jul 2010, 14:36

Thanks for reporting... I don't know why but I was expecting it :? :roll:
We haven't tested yet with the latest OS 4.0.
We'll play with it next week and see what they have broken :P
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “iPhone Objective-C API”

Who is online

Users browsing this forum: No registered users and 1 guest