crash in demo_typeSupport on MacOSX-Sdk_v4-1-5-0 c++

Options
benitosub
benitosub
edited January 2017 in Native
Hi,

I wanted to check out custom type support so I built demo_iMac_typeSupport but it crashes as soon as a second player connects and joins the room, right after receiving the first custom data.

I'm running OSX 10.10.4 / Xcode 7 in case this matters. Here's the call stack after the crash:

#0 0x0000000100020411 in ExitGames::Common::ToString::toString(bool) const at /Development/egp/trunkCopy2/Common-cpp/src/ToString.cpp:74
#1 0x000000010001bbb5 in ExitGames::Common::Object::toStringHelper(ExitGames::Common::Object const&, ExitGames::Common::JString&, bool, bool) at /Development/egp/trunkCopy2/Common-cpp/src/Object.cpp:594
#2 0x000000010001b38e in ExitGames::Common::Object::toString(ExitGames::Common::JString&, bool) const at /Development/egp/trunkCopy2/Common-cpp/src/Object.cpp:530
#3 0x000000010001759a in ExitGames::Common::Hashtable::toString(ExitGames::Common::JString&, bool) const at /Development/egp/trunkCopy2/Common-cpp/src/Hashtable.cpp:194
#4 0x000000010002042e in ExitGames::Common::ToString::toString(bool) const at /Development/egp/trunkCopy2/Common-cpp/src/ToString.cpp:74
#5 0x000000010001b9d3 in ExitGames::Common::Object::toStringHelper(ExitGames::Common::Object const&, ExitGames::Common::JString&, bool, bool) at /Development/egp/trunkCopy2/Common-cpp/src/Object.cpp:585
#6 0x000000010007232c in ExitGames::Common::Dictionary::toString(ExitGames::Common::JString&, bool) const at /Users/benitosub/downloads/Photon-MacOSX-Sdk_v4-1-5-0/LoadBalancing-cpp/../Common-cpp/inc/Dictionary.h:251
#7 0x000000010002042e in ExitGames::Common::ToString::toString(bool) const at /Development/egp/trunkCopy2/Common-cpp/src/ToString.cpp:74
#8 0x000000010002b568 in ExitGames::Photon::EventData::toString(bool, bool) const at /Development/egp/trunkCopy2/Photon-cpp/src/EventData.cpp:66
#9 0x000000010006caf7 in ExitGames::LoadBalancing::Client::onEvent(ExitGames::Photon::EventData const&) at /Users/benitosub/Downloads/Photon-MacOSX-Sdk_v4-1-5-0/LoadBalancing-cpp/src/Client.cpp:1247
#10 0x000000010005c1d7 in ExitGames::Photon::Internal::PeerBase::deserializeEvent(unsigned char*, bool, int) at /Development/egp/trunkCopy2/Photon-cpp/src/Internal/PeerBase.cpp:626
#11 0x000000010005b4a5 in ExitGames::Photon::Internal::PeerBase::deserializeOperation(unsigned char*, int) at /Development/egp/trunkCopy2/Photon-cpp/src/Internal/PeerBase.cpp:514
#12 0x0000000100052e83 in ExitGames::Photon::Internal::EnetPeer::dispatchIncomingCommands() at /Development/egp/trunkCopy2/Photon-cpp/src/Internal/EnetPeer.cpp:468
#13 0x000000010005958b in ExitGames::Photon::Internal::PeerBase::service(bool) at /Development/egp/trunkCopy2/Photon-cpp/src/Internal/PeerBase.cpp:194
#14 0x000000010002e25b in ExitGames::Photon::PhotonPeer::service(bool) at /Development/egp/trunkCopy2/Photon-cpp/src/PhotonPeer.cpp:174
#15 0x000000010006322b in ExitGames::LoadBalancing::Client::service(bool) at /Users/benitosub/Downloads/Photon-MacOSX-Sdk_v4-1-5-0/LoadBalancing-cpp/src/Client.cpp:477
#16 0x000000010000a9e9 in CPhotonLib::run() at /Users/benitosub/Downloads/Photon-MacOSX-Sdk_v4-1-5-0/Demos/demo_typeSupport/src/Photon_lib.cpp:88
#17 0x000000010001364f in TypeSupportApplication::run(UIListener*) at /Users/benitosub/Downloads/Photon-MacOSX-Sdk_v4-1-5-0/Demos/demo_typeSupport/src/TypeSupportApplication.cpp:12
#18 0x0000000100009e80 in main at /Users/benitosub/Downloads/Photon-MacOSX-Sdk_v4-1-5-0/Demos/demo_typeSupport/src/StdIO_main.cpp:6

Other demos not using custom types seem to work fine, any idea what could be wrong here?

Cheers!

Comments