Random crash when ExitGames::Common::MemoryManagement::deallocateArray

Options
Hi,
I am currently using the version Photon-iOS-Sdk_v4-1-0-4 for C++. I've got random crash on ExitGames::Common::MemoryManagement::deallocateArray for below Incidents.
Could anyone know how to fix it?

----------------------Incidents 1-----------------------------

Crashed: com.apple.main-thread
0 libcoretls_cfhelpers.dylib 0x220000007b (Missing)
1 4DGame 0x1000cc550 void ExitGames::Common::MemoryManagement::deallocateArray(ExitGames::Common::JString const*) (Allocate.h:328)
2 4DGame 0x1002c2094 ExitGames::Common::Object::cleanup(void const*, unsigned int) + 200348
3 4DGame 0x1002c1ebc ExitGames::Common::Object::~Object() + 199876
4 4DGame 0x1002c1998 ExitGames::Common::JVector::operator=(ExitGames::Common::JVector const&) + 198560
5 4DGame 0x1002c14e4 ExitGames::Common::Hashtable::operator=(ExitGames::Common::Hashtable const&) + 197356
6 4DGame 0x1001fb508 ExitGames::LoadBalancing::RoomOptions::setCustomRoomProperties(ExitGames::Common::Hashtable const&) (RoomOptions.cpp:95)
7 4DGame 0x1000c6d88 ExitGames::LoadBalancing::Client::opCreateRoom(ExitGames::Common::JString const&, ExitGames::LoadBalancing::RoomOptions const&) (Client.cpp:477)

---------------------Incidents 2----------------------------------
Crashed: com.apple.main-thread
0 4DGame 0x100171f6c void ExitGames::Common::MemoryManagement::deallocateArray(ExitGames::Common::JString const*) (Allocate.h:328)
1 4DGame 0x10036017c ExitGames::Common::Object::cleanup(void const*, unsigned int) + 199928
2 4DGame 0x10035ffa4 ExitGames::Common::Object::~Object() + 199456
3 4DGame 0x100164798 void ExitGames::Common::Hashtable::put(ExitGames::Common::Object const&, ExitGames::Common::Object const&) (Hashtable.h:76)
4 4DGame 0x1001646d4 ExitGames::LoadBalancing::Internal::Utils::stripKeysWithNullValues(ExitGames::Common::Hashtable const&) (Utils.cpp:35)
5 4DGame 0x100343514 ExitGames::LoadBalancing::MutableRoom::mergeCustomProperties(ExitGames::Common::Hashtable const&, bool) (MutableRoom.cpp:78)
6 4DGame 0x1003435dc ExitGames::LoadBalancing::MutableRoom::addCustomProperties(ExitGames::Common::Hashtable const&, bool) (MutableRoom.cpp:85)



Comments

  • Kaiserludi
    Options
    Hi @charlesso.

    Please try to reproduce this with one of our demos and have a look at what your game code is doing differently from the demos.