question

Ashley sands avatar image
Ashley sands asked

PlayFab Party Crash on iOS when relaunching the app.

Currently we are experiencing a crash on iOS when relaunching the app, using the 1.8.0 release.

Every think works fine on the first launch, however after terminating and relaunching the app, it crashes shortly after initializing the party library.

Stack trace:

 0   libsystem_kernel.dylib            0x00000001bcad6bbc __pthread_kill + 8 (:-1)
 1   libsystem_pthread.dylib           0x00000001dd260854 pthread_kill + 208 (pthread.c:1668)
 2   libsystem_c.dylib                 0x000000018d60b6ac abort + 124 (abort.c:118)
 3   libsystem_malloc.dylib            0x00000001941369d8 malloc_vreport + 548 (malloc_printf.c:183)
 4   libsystem_malloc.dylib            0x0000000194136b88 malloc_report + 60 (malloc_printf.c:192)
 5   libsystem_malloc.dylib            0x000000019411cd00 free + 284 (malloc.c:1963)
 6   libc++.1.dylib                    0x000000019a7dd07c std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string() + 32 (new:245)
 7   PlayFabParty                      0x000000010b51d4e0 std::__1::_MetaBase<(__is_exactly_cpp17_input_iterator<gsl::details::span_iterator<gsl::span<unsigned char const, -1l>, false> >::value) || (!(__libcpp_string_gets_noexcept_iterator<gsl::details::s... + 72 (string:2475)
 8   PlayFabParty                      0x000000010b51ceb4 BumblelionHttpPlugin::OnWebRequestCompleted(void*, unsigned short, ResponseHeaderSet&, gsl::span<unsigned char const, -1l> const&) + 240 (BumblelionHttpPlugin.cpp:192)
 9   PlayFabParty                      0x000000010b51ab98 HttpRequest::TryComplete(WebRequestManagerCallbacks*) + 148 (WebRequestIOSImpl.cpp:54)
 10  PlayFabParty                      0x000000010b51ae74 WebRequestManagerImpl::DoWork() + 108 (WebRequestIOSImpl.cpp:127)
 11  PlayFabParty                      0x000000010b51a870 WebRequestManager::DoWork() + 16 (WebRequest.cpp:30)
 12  PlayFabParty                      0x000000010b51cd54 BumblelionHttpPlugin::Update() + 100 (BumblelionHttpPlugin.cpp:161)
 13  PlayFabParty                      0x000000010b3d5038 PlayFabInternal::PlayFabClientInstanceAPI::Update() + 72 (PlayFabClientInstanceApi.cpp:52)
 14  PlayFabParty                      0x000000010b333fd4 PlayFabServiceManagerImpl::DoWork() + 128 (PlayFabServiceManagerImpl.cpp:2023)
 15  PlayFabParty                      0x000000010b32d3e4 PlayFabServiceManagerForClient::DoWork() + 16 (PlayFabServiceManager.cpp:35)
 16  PlayFabParty                      0x000000010b03c6c8 NetworkManager::DoWork() + 116 (NetworkManager.cpp:1894)
 17  PlayFabParty                      0x000000010b038fac NetworkManager::ThreadProc() + 88 (NetworkManager.cpp:1851)
 18  PlayFabParty                      0x000000010b038a10 NetworkManager::StaticThreadProc(void*) + 84 (NetworkManager.cpp:989)
 19  PlayFabParty                      0x000000010b269c68 StaticThreadProc(std::__1::shared_ptr<BumblelionThreadInfo>) + 192 (BumblelionThread.cpp:211)
 20  PlayFabParty                      0x000000010b26b544 decltype(std::__1::forward<unsigned int (*)(std::__1::shared_ptr<BumblelionThreadInfo>)>(fp)(std::__1::forward<std::__1::shared_ptr<BumblelionThreadInfo> >(fp0))) std::__1::__invoke<unsigned int (*... + 36 (type_traits:3694)
 21  PlayFabParty                      0x000000010b26b4fc void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, unsigned int (*)(std::__1::shared_ptr<BumblelionThreadInfo>), ... + 44 (thread:286)
 22  PlayFabParty                      0x000000010b26b208 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, unsigned int (*)(std::__1::shared_ptr<Bumblelio... + 76 (thread:297)
 23  libsystem_pthread.dylib           0x00000001dd256348 _pthread_start + 116 (pthread.c:891)
 24  libsystem_pthread.dylib           0x00000001dd254948 thread_start + 8 (:-1)
sdks
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Neils Shi avatar image Neils Shi commented ·

Have you tested our party demo? If not, you can give it a try to see if the problem persists.

0 Likes 0 ·
Ashley sands avatar image Ashley sands Neils Shi commented ·

Hi, thanks for your response!

We have not tried to build the iOS party demo and wont be able to due to time constraints.

We have supplied you with a stack trace of the crashing thread, which shows it's originating from the within the iOS framework BumblelionHttpPlugin.

We have found that the only version of the party framework that does not crash is version 1.0.3

1 Like 1 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.