Bug 35557 - Cant create a real-time multiplayer room using Google Plus and Play Game Services for iOS 1.7.1.6
Summary: Cant create a real-time multiplayer room using Google Plus and Play Game Serv...
Status: RESOLVED NORESPONSE
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Israel Soto [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-11-04 18:25 UTC by Iain Smith
Modified: 2016-05-13 23:28 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Iain Smith 2015-11-04 18:25:22 UTC
I am using the Google Plus and Play Game Services for iOS version 1.7.1.6 component from the xamarin component store. 
When I create a real-time multiplayer room once logged in using this code:


			LauncherController.SharedInstance.PresentRealTimeInvite (1, 1);



 I get the following error:

libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: condition_variable::timed wait: mutex not locked: Operation not permitted
2015-11-04 17:06:29.216 ProjectR.Touch[6760:3788074] critical: 
Native stacktrace:

2015-11-04 17:06:29.270 ProjectR.Touch[6760:3788074] critical:  0   ProjectR.Touch                      0x00bf4105 mono_handle_native_sigsegv + 240
2015-11-04 17:06:29.270 ProjectR.Touch[6760:3788074] critical:  1   libsystem_platform.dylib            0x39aa785f _sigtramp + 42
2015-11-04 17:06:29.270 ProjectR.Touch[6760:3788074] critical:  2   libsystem_pthread.dylib             0x39aabb47 pthread_kill + 62
2015-11-04 17:06:29.271 ProjectR.Touch[6760:3788074] critical:  3   libsystem_c.dylib                   0x399a3f41 abort + 108
2015-11-04 17:06:29.271 ProjectR.Touch[6760:3788074] critical:  4   libc++abi.dylib                     0x389a67dd __cxa_bad_cast + 0
2015-11-04 17:06:29.271 ProjectR.Touch[6760:3788074] critical:  5   libc++abi.dylib                     0x389bf66b <redacted> + 214
2015-11-04 17:06:29.271 ProjectR.Touch[6760:3788074] critical:  6   libobjc.A.dylib                     0x391ef0bd <redacted> + 228
2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  7   libc++abi.dylib                     0x389bce17 <redacted> + 78
2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  8   libc++abi.dylib                     0x389bc5f5 <redacted> + 0
2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  9   libc++.1.dylib                      0x3899f565 _ZNSt3__120__throw_system_errorEiPKc + 180
2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  10  libc++.1.dylib                      0x389606dd _ZNSt3__118condition_variable15__do_timed_waitERNS_11unique_lockINS_5mutexEEENS_6chrono10time_pointINS5_12system_clockENS5_8durationIxNS_5ratioILx1ELx1000000000EEEEEEE + 40
2015-11-04 17:06:29.272 ProjectR.Touch[6760:3788074] critical:  11  ProjectR.Touch                      0x00aa5b2b _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 339702
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  12  ProjectR.Touch                      0x00b2f73d _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 903944
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  13  ProjectR.Touch                      0x00a174ef _ZN3gpg12GameServices12IsAuthorizedEv + 30858
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  14  ProjectR.Touch                      0x00a17b3d _ZN3gpg12GameServices12IsAuthorizedEv + 32472
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  15  ProjectR.Touch                      0x009d2655 _ZN3gpg18AchievementManager8FetchAllENS_10DataSourceERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_8functionIFvRKNS0_16FetchAllResponseEEEE + 282648
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  16  ProjectR.Touch                      0x009d24cb _ZN3gpg18AchievementManager8FetchAllENS_10DataSourceERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_8functionIFvRKNS0_16FetchAllResponseEEEE + 282254
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  17  ProjectR.Touch                      0x009d2215 _ZN3gpg18AchievementManager8FetchAllENS_10DataSourceERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_8functionIFvRKNS0_16FetchAllResponseEEEE + 281560
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  18  ProjectR.Touch                      0x00a67af1 _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 85692
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  19  ProjectR.Touch                      0x00a6783b _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 84998
2015-11-04 17:06:29.273 ProjectR.Touch[6760:3788074] critical:  20  ProjectR.Touch                      0x00a6b0a9 _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 99444
2015-11-04 17:06:29.274 ProjectR.Touch[6760:3788074] critical:  21  ProjectR.Touch                      0x00a503cb _ZNK3gpg12ScoreSummary18CurrentPlayerScoreEv + 1846
2015-11-04 17:06:29.274 ProjectR.Touch[6760:3788074] critical:  22  ProjectR.Touch                      0x00b47589 _ZN3gpg27TurnBasedMultiplayerManagerD1Ev + 1001812
2015-11-04 17:06:29.274 ProjectR.Touch[6760:3788074] critical:  23  libsystem_pthread.dylib             0x39aaac7f <redacted> + 138
2015-11-04 17:06:29.275 ProjectR.Touch[6760:3788074] critical:  24  libsystem_pthread.dylib             0x39aaabf3 _pthread_start + 110
2015-11-04 17:06:29.275 ProjectR.Touch[6760:3788074] critical:  25  libsystem_pthread.dylib             0x39aa8a08 thread_start + 8
2015-11-04 17:06:29.275 ProjectR.Touch[6760:3788074] critical: 
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Think it is related to this issue https://github.com/playgameservices/play-games-plugin-for-unity/issues/275

Seems to be fixed tho in 1.4.1 of the C++ SDK does this component use the iOS SDK?

"This is fixed in the latest plugin and C++ SDK. You'll need version 0.9.20 of the unity plugin and version 1.4.1 or higher of the C++ SDK. The C++ SDK for iOS contains the headers for Objective-C so feel free to try it out too!"

I also tried out the beta NuGet package, but it has the same problem. https://www.nuget.org/packages/Xamarin.Google.iOS.PlayGames
Comment 1 Israel Soto [MSFT] 2015-12-03 21:58:39 UTC
Iain,

Yes, the latest version of G.PlayGames has the C++ SDK v2.0, but the binding is only using the Obj-C headers.

Can you create an Isolated test case where we can reproduce the error, please? And thanks in advance.

Israel Soto.
--
Comment 2 Israel Soto [MSFT] 2015-12-03 22:00:34 UTC
Oh, FYI

We already deprecated the Google Plus and Play Games Services component. We now released the Google Play Games for iOS component:

http://components.xamarin.com/view/googleiosplaygames

Greetings,
Israel Soto.
Comment 3 Israel Soto [MSFT] 2016-05-13 23:28:03 UTC
Closing this bug due to no response from customer.