khamarr3524
-
Posts
11 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Bug Comments posted by khamarr3524
-
-
@Rochet2 I'll try the fix now, I ran raw source in Debug win32 and it compiled no errors. I ran it in debug win32 in VS 2017, and it ran fine no errors, but it had errors as well in Release mode. I've tried generating through the EasyBuild for different target compilers but there are cmake errors for some reason and I haven't worked through them yet.
-
Same thing.
Some stats:
OS: Windows 10 (Current Update)Compiler: MS VS12 2013 (Ultimate)
Core: MaNGOSTWO (fresh pull)
Build Type: Release Win32
Here is the exact error code
Unhandled exception at 0x0061BE06 in mangosd.exe: 0xC00000FD: Stack overflow (parameters: 0x00000001, 0x00902FFC).
and attached are the images of my process through running mangos.exe to the debugger.
Also, these are the lines in the compiler that give the warning.
Spoiler4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::BGEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::BGEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> ElunaUtility.cpp
4> GameObjectHooks.cpp
4> GossipHooks.cpp
4> GroupHooks.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GroupEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GroupEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> GuildHooks.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned __int64>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::CreatureEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned __int64>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::CreatureEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> InstanceHooks.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GuildEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GuildEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> ItemHooks.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GossipEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GossipEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> LuaEngine.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GameObjectEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GameObjectEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> LuaFunctions.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::InstanceEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::InstanceEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> PacketHooks.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::ItemEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::ItemEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> PlayerHooks.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned __int64>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::BGEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GroupEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GuildEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::PlayerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::ServerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::CreatureEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GossipEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GameObjectEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::ItemEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::PacketEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::InstanceEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned __int64>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::BGEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GroupEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::PlayerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GuildEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::CreatureEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::ServerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GossipEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GameObjectEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::PacketEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::ItemEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::InstanceEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned __int64>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::ServerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GuildEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GroupEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::BGEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::PacketEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::CreatureEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GameObjectEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::GossipEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::ItemEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::InstanceEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::PlayerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::VehicleEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned __int64>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::ServerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GuildEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GroupEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::BGEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::PacketEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::CreatureEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GameObjectEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::GossipEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::ItemEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::InstanceEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::PlayerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::VehicleEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> ServerHooks.cpp
4> VehicleHooks.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::ServerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::PacketEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<unsigned int>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::PacketEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::ServerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4> lmarshal.cpp
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::PlayerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::PlayerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::VehicleEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::VehicleEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(299): warning C4717: 'hash_helper::_hash_combine<enum Hooks::ServerEvents>' : recursive on all control paths, function will cause runtime stack overflow
4>f:\code\mangostwo\server\src\modules\eluna\bindingmap.h(275): warning C4717: 'hash_helper::hash<enum Hooks::ServerEvents>' : recursive on all control paths, function will cause runtime stack overflowEdit: This is my BindingMap.h file now after applying your fix.
Spoiler@264 class hash_helper { public: typedef std::size_t result_type; template <typename... T> static inline result_type hash(T const &... t) { result_type seed = 0; _hash_combine(seed, t...); return seed; } template <typename T, typename std::enable_if<std::is_enum<T>::value>::type* = nullptr> static inline result_type hash(T const & t) { return std::hash<typename std::underlying_type<T>::type>()(t); } template <typename T, typename std::enable_if<!std::is_enum<T>::value>::type* = nullptr> static inline result_type hash(T const & t) { return std::hash<T>()(t); } private: static inline void _hash_combine(result_type& seed) { } template <typename H, typename... T> static inline void _hash_combine(result_type& seed, H const & h, T const &... t) { seed ^= hash(h) + 0x9e3779b9 + (seed << 6) + (seed >> 2); _hash_combine(seed, t...); } };
Edit2: MaNGOSZero builds no problem, have not tested MaNGOSOne
Edit3: MaNGOSTwo builds and runs correctly when disabling Eluna in the EasyBuild.
Recursive on all paths, will cause stack overflow
-
-
-
-
-
in Eluna
Posted
@Rochet2 The fix worked. Compiled in release no recursive errors and mangos.exe works as intended. Thanks for looking into this!