C++ API many crash reports

Post here your questions about the C++ API for SFS2X

Moderators: Lapo, Bax, MBagnati

tyagunov
Posts: 9
Joined: 08 Dec 2016, 12:39

C++ API many crash reports

Postby tyagunov » 10 Mar 2017, 07:56

Hi,
we have latest C++ Smarfox API inside game client for iOS and Android. We found that API is not stable. We have many crash reports from crashlytics from our users.

My question is: these problems only at C++ API and we should move to native iOS / Android API?

1. ipv6 force config not worked it's worked only if set directly at smartfox class (found in test at ipv6 network)
2. disable BlueBox not worked too. Smartfox tried connect by Bluebox anyway (making 400 threads and crash check attached screenshots)
3. BlueBox has many crashes. (we sent crash reports by email week ago)

P.S. We have full license for one server.

Regards,
Andrey
Attachments
Screen Shot 2017-03-10 at 10.37.16.jpg
(246.9 KiB) Not downloaded yet
Screen Shot 2017-03-10 at 10.36.46.jpg
(217.78 KiB) Not downloaded yet
Screen Shot 2017-03-10 at 10.32.50.jpg
(245.43 KiB) Not downloaded yet
User avatar
Lapo
Site Admin
Posts: 19759
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: C++ API many crash reports

Postby Lapo » 10 Mar 2017, 08:55

Hi Andrey,
thanks for reporting. We're currently working on the list you have sent. Unfortunately reproducing these issues in C++ requires a significant amount of work, due to testing and reproducing on the specific platforms.

As regards your question about stability, C++ is the latest addition to our family of API and the complexity of porting and running on a wide number of runtimes certainly makes it harder to provide full test coverage on all platforms.

With this said we have a good number of clients working on C++ projects and have tested a good selection of apps with no outstanding issues or particular stability problems.

To finish answering your question, native Objective-C and Java API are perfectly stable.

We'll investigate the issues you have described and report back.
Lapo
--
gotoAndPlay()
...addicted to flash games
tyagunov
Posts: 9
Joined: 08 Dec 2016, 12:39

Re: C++ API many crash reports

Postby tyagunov » 10 Mar 2017, 09:54

Hi, Lapo

Thank you for you answer. We will think about move to native libs. And send more crashreports C++ API for your information.

Regards,
Andrey
User avatar
Lapo
Site Admin
Posts: 19759
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: C++ API many crash reports

Postby Lapo » 11 Mar 2017, 09:55

As regards this issue:
2. disable BlueBox not worked too. Smartfox tried connect by Bluebox anyway (making 400 threads and crash check attached screenshots)

It's not clear how this could happen. Especially the numerous thread count. It sounds like you're calling multiple times the "Connect" method or something like that...

Can you please explain under which circumstances does this happen exactly?

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests