Jump to content

khamarr3524

Members
  • Posts

    11
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Bug Comments posted by khamarr3524

  1. 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.

    Spoiler

    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(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 overflow

    Edit: 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.

    Capture.PNG

    Capture.PNG

    Capture.PNG

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use