I've updated the library to 1.2.2 and the issue seems fixed!
Thanks for the update.
Jonas
Search found 10 matches
- 28 Nov 2013, 22:21
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: UDPController SIGABRT
- Replies: 11
- Views: 14522
- 20 Nov 2013, 19:11
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: UDPController SIGABRT
- Replies: 11
- Views: 14522
Re: UDPController SIGABRT
Thanks for the update. Same issue on both the device and the simulator. Some more info: 2013-11-20 10:37:44.683 DevProject[11447:a0b] [SFS - INFO]UDP Handshake written: Binary Size: 36 80 00 21 12 00 04 00 01 69 05 00 00 00 00 00 00 ..!.....i....... 00 01 00 01 75 04 00 00 00 1a 00 01 63 02 01 00 .....
- 19 Nov 2013, 22:41
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: UDPController SIGABRT
- Replies: 11
- Views: 14522
UDPController SIGABRT
Hi, We want to update our iOS SFS library from 1.1.5 to 1.2.1 but we are running into a problem. The UDPController crashes when trying to connect. The attachment shows the crash. This is our setup: - (void)initializeSF { _smartFox = [SmartFox2XClient smartFoxWithDebugMode:NO delegate:self]; [_smartF...
- 03 Mar 2013, 18:23
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: Can't decode an SFSObject. Byte data is insufficient
- Replies: 13
- Views: 20737
Re: Can't decode an SFSObject. Byte data is insufficient
Thanks for the quick reply! Great service!
We'll do some testing this week and we'll try to find a scenario where it always crashes.
We'll also give you some more details about how many messages are being sent and what there size are.
Thanks!
Jonas
We'll do some testing this week and we'll try to find a scenario where it always crashes.
We'll also give you some more details about how many messages are being sent and what there size are.
Thanks!
Jonas
- 03 Mar 2013, 05:13
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: Can't decode an SFSObject. Byte data is insufficient
- Replies: 13
- Views: 20737
Re: Can't decode an SFSObject. Byte data is insufficient
Our QC team is currently testing our app intensively and we are seeing that 85% of the crashes are happening because of an exception thrown by the smartfox library. We are seeing 2 different types of exceptions: Type 1: Can't decode an SFSObject. Byte data is insufficient. Size: 0 byte(s) (happens 4...
- 20 Feb 2013, 19:32
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: Can't decode an SFSObject. Byte data is insufficient
- Replies: 13
- Views: 20737
Re: Can't decode an SFSObject. Byte data is insufficient
Ok, thanks. We get that error quiet a lot when we are developing our game and because we use the debug it crashes constantly. It doesn't crash when we make a release build (just like Apple says in that documentation "reserved for programmer error only"). So I guess there is no solution for...
- 20 Feb 2013, 04:45
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: Can't decode an SFSObject. Byte data is insufficient
- Replies: 13
- Views: 20737
Re: Can't decode an SFSObject. Byte data is insufficient
Well that is just the general try catch structure. The question is more, where do you place that code?
Is the main the only place where you can catch that error? Isn't it too late then already?
Is the main the only place where you can catch that error? Isn't it too late then already?
- 19 Feb 2013, 06:06
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: Can't decode an SFSObject. Byte data is insufficient
- Replies: 13
- Views: 20737
Re: Can't decode an SFSObject. Byte data is insufficient
Ok thanks. I've reading the documentation as well but I couldn't find anything about catching an exception that is thrown by the smartfox library.
- 14 Feb 2013, 06:24
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: Can't decode an SFSObject. Byte data is insufficient
- Replies: 13
- Views: 20737
Re: Can't decode an SFSObject. Byte data is insufficient
We are still running into the same problem. If we want to catch this error where would we place our try catch blocks? Is there a way to gracefully catch errors that are thrown by smartfox? Currently our application crashes completly when smartfox throws an error because the exception goes all the wa...
- 16 May 2012, 02:02
- Forum: SFS2X iPhone / iPad / OSX API
- Topic: Discard UDP packet
- Replies: 12
- Views: 17940
Re: Discard UDP packet
Hi, I have been following this discussing since Jan posted it. I have the same problem. It's really annoying because I have to restart my SFServer all the time. Could you release a next version of the OSX API in the near future? This bug has been reported on the 5th of April (almost a month and a ha...