{"action":"created","issue":{"url":"https://api.github.com/repos/cmangos/issues/issues/914","repository_url":"https://api.github.com/repos/cmangos/issues","labels_url":"https://api.github.com/repos/cmangos/issues/issues/914/labels{/name}","comments_url":"https://api.github.com/repos/cmangos/issues/issues/914/comments","events_url":"https://api.github.com/repos/cmangos/issues/issues/914/events","html_url":"https://github.com/cmangos/issues/issues/914","id":152939212,"number":914,"title":"[Classic] mangosd loading crash","user":{"login":"cooler-SAI","id":812439,"avatar_url":"https://avatars.githubusercontent.com/u/812439?v=3","gravatar_id":"","url":"https://api.github.com/users/cooler-SAI","html_url":"https://github.com/cooler-SAI","followers_url":"https://api.github.com/users/cooler-SAI/followers","following_url":"https://api.github.com/users/cooler-SAI/following{/other_user}","gists_url":"https://api.github.com/users/cooler-SAI/gists{/gist_id}","starred_url":"https://api.github.com/users/cooler-SAI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooler-SAI/subscriptions","organizations_url":"https://api.github.com/users/cooler-SAI/orgs","repos_url":"https://api.github.com/users/cooler-SAI/repos","events_url":"https://api.github.com/users/cooler-SAI/events{/privacy}","received_events_url":"https://api.github.com/users/cooler-SAI/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-04T06:29:22Z","updated_at":"2016-05-04T13:50:43Z","closed_at":null,"body":"Server crash on VS 2013 x64 compile, when mangosd loading, on Loot Loading. The same problem here\r\nhttp://cmangos.net/thread-7427.html\r\n\r\nClient 1.12.1\r\nServer version : https://github.com/cmangos/mangos-classic/commit/6f501dedc751b6acc7a272823f4f70d2fec1b7c9"},"comment":{"url":"https://api.github.com/repos/cmangos/issues/issues/comments/216870699","html_url":"https://github.com/cmangos/issues/issues/914#issuecomment-216870699","issue_url":"https://api.github.com/repos/cmangos/issues/issues/914","id":216870699,"user":{"login":"keyshuwen","id":4241825,"avatar_url":"https://avatars.githubusercontent.com/u/4241825?v=3","gravatar_id":"","url":"https://api.github.com/users/keyshuwen","html_url":"https://github.com/keyshuwen","followers_url":"https://api.github.com/users/keyshuwen/followers","following_url":"https://api.github.com/users/keyshuwen/following{/other_user}","gists_url":"https://api.github.com/users/keyshuwen/gists{/gist_id}","starred_url":"https://api.github.com/users/keyshuwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyshuwen/subscriptions","organizations_url":"https://api.github.com/users/keyshuwen/orgs","repos_url":"https://api.github.com/users/keyshuwen/repos","events_url":"https://api.github.com/users/keyshuwen/events{/privacy}","received_events_url":"https://api.github.com/users/keyshuwen/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T13:50:42Z","updated_at":"2016-05-04T13:50:42Z","body":"@cyberium \r\n\r\non Loot Loading.crash  .\r\n\r\nRevision: * * *\r\nDate 4:5:2016. Time 21:33 \r\n//=====================================================\r\n*** Hardware ***\r\nProcessor: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz\r\nNumber Of Processors: 8\r\nPhysical Memory: 8315328 KB (Available: 4481044 KB)\r\nCommit Charge Limit: 8839616 KB\r\n\r\n*** Operation System ***\r\nWindows 8 (Version 6.2, Build 9200)\r\n\r\n//=====================================================\r\nException code: C0000005 ACCESS_VIOLATION\r\nFault address:  00007FFC8A8D9250 01:0000000000048250 C:\\WINDOWS\\SYSTEM32\\MSVCR120.dll\r\n\r\nRegisters:\r\nRAX:000000007FFFFFFE\r\nRBX:000000000000112F\r\nRCX:000000000000112F\r\nRDX:0000000000000007\r\nRSI:0000000000000000\r\nRDI:0000000000000073\r\nR8: 00007FFC8A890000\r\nR9: 0000000000000000\r\nR10:0000000000000200\r\nR11:00000000FFFFFFFF\r\nR12:000000000014F630\r\nR13:000000000000003C\r\nR14:0000000140591813\r\nR15:0000000000000001\r\nCS:RIP:0033:00007FFC8A8D9250\r\nSS:RSP:002B:00000000001371B0  RBP:001372B0\r\nDS:002B  ES:002B  FS:0053  GS:002B\r\nFlags:00010202\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFC8A8D9250  00000000001374B0  _mbctombb_l+25B0\r\n00007FFC8A8C37E5  0000000000137510  _vsnprintf_l+91\r\n00007FFC8A8C374D  0000000000137550  _vsnprintf+11\r\n000000014008B35A  000000000014F5A0  vutf8printf+3A  d:\\mangos\\cmangos\\core\\src\\shared\\util.cpp line 454\r\n000000014008586E  000000000014F600  Log::outString+8E  d:\\mangos\\cmangos\\core\\src\\shared\\log.cpp line 388\r\n00000001402FB357  000000000014F720  LootStore::LoadLootTable+3E7  d:\\mangos\\cmangos\\core\\src\\game\\lootmgr.cpp line 173\r\n00000001402FAF1A  000000000014F770  LootStore::LoadAndCollectLootIds+1A  d:\\mangos\\cmangos\\core\\src\\game\\lootmgr.cpp line 216\r\n00000001402FB413  000000000014F810  LoadLootTemplates_Creature+53  d:\\mangos\\cmangos\\core\\src\\game\\lootmgr.cpp line 2374\r\n00000001400BB0A9  000000000014F840  LoadLootTables+9  d:\\mangos\\cmangos\\core\\src\\game\\lootmgr.h line 364\r\n00000001400BD6A1  000000000014F960  World::SetInitialWorldSettings+B81  d:\\mangos\\cmangos\\core\\src\\game\\world.cpp line 1087\r\n00000001400776EA  000000000014FD00  Master::Run+16A  d:\\mangos\\cmangos\\core\\src\\mangosd\\master.cpp line 134\r\n0000000140070BF6  000000000014FF20  main+BB6  d:\\mangos\\cmangos\\core\\src\\mangosd\\main.cpp line 201\r\n0000000140082477  000000000014FF50  __tmainCRTStartup+10F  f:\\dd\\vctools\\crt\\crtw32\\dllstuff\\crtexe.c line 626\r\n00007FFCA2958102  000000000014FF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  000000000014FFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA3756D44  00000000001352F0  NtGetContextThread+14\r\n00007FFCA0199F0A  0000000000135320  GetThreadContext+A\r\n00000001400818BE  0000000000135850  WheatyExceptionReport::printTracesForAllThreads+BE  d:\\mangos\\cmangos\\core\\src\\shared\\wheatyexceptionreport.cpp line 281\r\n00000001400809A1  0000000000135EE0  WheatyExceptionReport::GenerateExceptionReport+321  d:\\mangos\\cmangos\\core\\src\\shared\\wheatyexceptionreport.cpp line 380\r\n000000014008120A  0000000000136180  WheatyExceptionReport::WheatyUnhandledExceptionFilter+14A  d:\\mangos\\cmangos\\core\\src\\shared\\wheatyexceptionreport.cpp line 107\r\n00007FFCA01F7E1E  0000000000136280  UnhandledExceptionFilter+1AE\r\n00007FFCA375D998  00000000001362C0  memset+2098\r\n00007FFCA3745B26  0000000000136330  __C_specific_handler+96\r\n00007FFCA3759AED  0000000000136360  __chkstk+FD\r\n00007FFCA36E4FE9  0000000000136A70  RtlImageNtHeaderEx+4B9\r\n00007FFCA3758BFA  00000000001371A0  KiUserExceptionDispatcher+3A\r\n00007FFC8A8D9250  00000000001374B0  _mbctombb_l+25B0\r\n00007FFC8A8C37E5  0000000000137510  _vsnprintf_l+91\r\n00007FFC8A8C374D  0000000000137550  _vsnprintf+11\r\n000000014008B35A  000000000014F5A0  vutf8printf+3A  d:\\mangos\\cmangos\\core\\src\\shared\\util.cpp line 454\r\n000000014008586E  000000000014F600  Log::outString+8E  d:\\mangos\\cmangos\\core\\src\\shared\\log.cpp line 388\r\n00000001402FB357  000000000014F720  LootStore::LoadLootTable+3E7  d:\\mangos\\cmangos\\core\\src\\game\\lootmgr.cpp line 173\r\n00000001402FAF1A  000000000014F770  LootStore::LoadAndCollectLootIds+1A  d:\\mangos\\cmangos\\core\\src\\game\\lootmgr.cpp line 216\r\n00000001402FB413  000000000014F810  LoadLootTemplates_Creature+53  d:\\mangos\\cmangos\\core\\src\\game\\lootmgr.cpp line 2374\r\n00000001400BB0A9  000000000014F840  LoadLootTables+9  d:\\mangos\\cmangos\\core\\src\\game\\lootmgr.h line 364\r\n00000001400BD6A1  000000000014F960  World::SetInitialWorldSettings+B81  d:\\mangos\\cmangos\\core\\src\\game\\world.cpp line 1087\r\n00000001400776EA  000000000014FD00  Master::Run+16A  d:\\mangos\\cmangos\\core\\src\\mangosd\\master.cpp line 134\r\n0000000140070BF6  000000000014FF20  main+BB6  d:\\mangos\\cmangos\\core\\src\\mangosd\\main.cpp line 201\r\n0000000140082477  000000000014FF50  __tmainCRTStartup+10F  f:\\dd\\vctools\\crt\\crtw32\\dllstuff\\crtexe.c line 626\r\n00007FFCA2958102  000000000014FF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  000000000014FFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA37587E4  000000000070FB40  NtWaitForWorkViaWorkerFactory+14\r\n00007FFCA36DB5E8  000000000070FF50  RtlAcquireSRWLockShared+3E28\r\n00007FFCA2958102  000000000070FF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  000000000070FFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA37587E4  000000000080FB40  NtWaitForWorkViaWorkerFactory+14\r\n00007FFCA36DB5E8  000000000080FF50  RtlAcquireSRWLockShared+3E28\r\n00007FFCA2958102  000000000080FF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  000000000080FFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA37587E4  000000000090FB40  NtWaitForWorkViaWorkerFactory+14\r\n00007FFCA36DB5E8  000000000090FF50  RtlAcquireSRWLockShared+3E28\r\n00007FFCA2958102  000000000090FF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  000000000090FFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA3755154  00000000025EFC80  ZwWaitForSingleObject+14\r\n00007FFCA014AADF  00000000025EFD20  WaitForSingleObjectEx+8F\r\n00007FFC8A89744F  00000000025EFD60  ?EnableTracing@Concurrency@@YAJXZ+3AF\r\n00007FFC8A8AEAAA  00000000025EFDC0  ?wait@Concurrency@@YAXI@Z+96\r\n000000014002495A  00000000025EFE20  std::this_thread::sleep_for<__int64,std::ratio<1,1000> >+AA  e:\\microsoft visual studio 12.0\\vc\\include\\thread line 163\r\n00000001400A5D75  00000000025EFE50  MaNGOS::Thread::Sleep+15  d:\\mangos\\cmangos\\core\\src\\shared\\threading.cpp line 137\r\n00000001400A976F  00000000025EFE80  SqlDelayThread::run+3F  d:\\mangos\\cmangos\\core\\src\\shared\\database\\sqldelaythread.cpp line 50\r\n00000001400A5E0D  00000000025EFEB0  std::_LaunchPad<std::_Bind<1,void,void (__cdecl*const)(void * __ptr64),void * __ptr64> >::_Go+1D  e:\\microsoft visual studio 12.0\\vc\\include\\thr\\xthread line 188\r\n00007FFC8A81D24C  00000000025EFEF0  ?_Release@_Pad@std@@QEAAXXZ+6C\r\n00007FFC8A8B4F7F  00000000025EFF20  _beginthreadex+107\r\n00007FFC8A8B5126  00000000025EFF50  _endthreadex+192\r\n00007FFCA2958102  00000000025EFF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  00000000025EFFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA37587E4  00000000026EFB40  NtWaitForWorkViaWorkerFactory+14\r\n00007FFCA36DB5E8  00000000026EFF50  RtlAcquireSRWLockShared+3E28\r\n00007FFCA2958102  00000000026EFF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  00000000026EFFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA3755154  00000000027EFC80  ZwWaitForSingleObject+14\r\n00007FFCA014AADF  00000000027EFD20  WaitForSingleObjectEx+8F\r\n00007FFC8A89744F  00000000027EFD60  ?EnableTracing@Concurrency@@YAJXZ+3AF\r\n00007FFC8A8AEAAA  00000000027EFDC0  ?wait@Concurrency@@YAXI@Z+96\r\n000000014002495A  00000000027EFE20  std::this_thread::sleep_for<__int64,std::ratio<1,1000> >+AA  e:\\microsoft visual studio 12.0\\vc\\include\\thread line 163\r\n00000001400A5D75  00000000027EFE50  MaNGOS::Thread::Sleep+15  d:\\mangos\\cmangos\\core\\src\\shared\\threading.cpp line 137\r\n00000001400A976F  00000000027EFE80  SqlDelayThread::run+3F  d:\\mangos\\cmangos\\core\\src\\shared\\database\\sqldelaythread.cpp line 50\r\n00000001400A5E0D  00000000027EFEB0  std::_LaunchPad<std::_Bind<1,void,void (__cdecl*const)(void * __ptr64),void * __ptr64> >::_Go+1D  e:\\microsoft visual studio 12.0\\vc\\include\\thr\\xthread line 188\r\n00007FFC8A81D24C  00000000027EFEF0  ?_Release@_Pad@std@@QEAAXXZ+6C\r\n00007FFC8A8B4F7F  00000000027EFF20  _beginthreadex+107\r\n00007FFC8A8B5126  00000000027EFF50  _endthreadex+192\r\n00007FFCA2958102  00000000027EFF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  00000000027EFFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA3755154  00000000028EFC80  ZwWaitForSingleObject+14\r\n00007FFCA014AADF  00000000028EFD20  WaitForSingleObjectEx+8F\r\n00007FFC8A89744F  00000000028EFD60  ?EnableTracing@Concurrency@@YAJXZ+3AF\r\n00007FFC8A8AEAAA  00000000028EFDC0  ?wait@Concurrency@@YAXI@Z+96\r\n000000014002495A  00000000028EFE20  std::this_thread::sleep_for<__int64,std::ratio<1,1000> >+AA  e:\\microsoft visual studio 12.0\\vc\\include\\thread line 163\r\n00000001400A5D75  00000000028EFE50  MaNGOS::Thread::Sleep+15  d:\\mangos\\cmangos\\core\\src\\shared\\threading.cpp line 137\r\n00000001400A976F  00000000028EFE80  SqlDelayThread::run+3F  d:\\mangos\\cmangos\\core\\src\\shared\\database\\sqldelaythread.cpp line 50\r\n00000001400A5E0D  00000000028EFEB0  std::_LaunchPad<std::_Bind<1,void,void (__cdecl*const)(void * __ptr64),void * __ptr64> >::_Go+1D  e:\\microsoft visual studio 12.0\\vc\\include\\thr\\xthread line 188\r\n00007FFC8A81D24C  00000000028EFEF0  ?_Release@_Pad@std@@QEAAXXZ+6C\r\n00007FFC8A8B4F7F  00000000028EFF20  _beginthreadex+107\r\n00007FFC8A8B5126  00000000028EFF50  _endthreadex+192\r\n00007FFCA2958102  00000000028EFF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  00000000028EFFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA37587E4  000000000488FB40  NtWaitForWorkViaWorkerFactory+14\r\n00007FFCA36DB5E8  000000000488FF50  RtlAcquireSRWLockShared+3E28\r\n00007FFCA2958102  000000000488FF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  000000000488FFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA37587E4  000000000498FB40  NtWaitForWorkViaWorkerFactory+14\r\n00007FFCA36DB5E8  000000000498FF50  RtlAcquireSRWLockShared+3E28\r\n00007FFCA2958102  000000000498FF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  000000000498FFD0  RtlUserThreadStart+34\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFCA37587E4  0000000004A8FB40  NtWaitForWorkViaWorkerFactory+14\r\n00007FFCA36DB5E8  0000000004A8FF50  RtlAcquireSRWLockShared+3E28\r\n00007FFCA2958102  0000000004A8FF80  BaseThreadInitThunk+22\r\n00007FFCA370C5B4  0000000004A8FFD0  RtlUserThreadStart+34\r\n========================\r\nLocal Variables And Parameters\r\n\r\nCall stack:\r\nAddress   Frame     Function      SourceFile\r\n00007FFC8A8D9250  00000000001374B0  _mbctombb_l+25B0\r\n\r\n00007FFC8A8C37E5  0000000000137510  _vsnprintf_l+91\r\n\r\n00007FFC8A8C374D  0000000000137550  _vsnprintf+11\r\n\r\n000000014008B35A  000000000014F5A0  vutf8printf+3A  d:\\mangos\\cmangos\\core\\src\\shared\\util.cpp line 454\r\npunting on symbol out\r\npunting on symbol str\r\npunting on symbol ap\r\n\tLocal  wchar_t* 'wtemp_buf'\r\n\tLocal  char* 'temp_buf'\r\n\tLocal  unsigned int 'wtemp_len' = 7FF5FFE7BF60\r\n\r\n000000014008586E  000000000014F600  Log::outString+8E  d:\\mangos\\cmangos\\core\\src\\shared\\log.cpp line 388\r\n\tLocal  <user defined> 'this' = 7FF5F9EBB6A0\r\n\tParameter  char* 'str' = FFFFFFFFFFFFFFFE\r\n\tLocal  char* 'ap' = 38EA6\r\n\tLocal  std::lock_guard<std::mutex>\r\n\t\t <user defined>  mutex_type\r\n\t\t\t <user defined>  std::_Mutex_base\r\n\t\t\t\t <user defined>  _Mutex_base\r\n\t\t\t\t <user defined>  _Mutex_base\r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined>  this = 7FF5F9EBB6A0\r\n\t\t\t\t\t int  _Flags = FFFFFFFE\r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t <user defined>  ~_Mutex_base\r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined>  this = 0\r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t <user defined>  operator=\r\n\t\t\t\t <user defined>  lock\r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined>  this = 7FF5F9EBB6A0\r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t <user defined>  try_lock\r\n\t\t\t\t <user defined>  unlock\r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined>  this = 7FF5F9EBB6A0\r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t\t <user defined> \r\n\t\t\t\t <user defined>  native_handle_type = 14055D738\r\n\t\t\t\t <user defined>  native_handle\r\n\t\t\t\t <user defined>  _Mtx = 14055D738\r\n\t\t\t\t <user defined>  __dflt_ctor_closure\r\n\t\t\t\t <user defined>  __vecDelDtor\r\n\t\t\t <user defined>  mutex\r\n\t\t\t <user defined>  mutex\r\n\t\t\t\t <user defined> \r\n\t\t\t\t <user defined> \r\n\t\t\t\t <user defined>  this = 7FF5F9EBB6A0\r\n\t\t\t\t <user defined> \r\n\t\t\t\t <user defined> \r\n\t\t\t <user defined>  operator=\r\n\t\t\t <user defined>  ~mutex\r\n\t\t\t\t <user defined> \r\n\t\t\t\t <user defined> \r\n\t\t\t\t <user defined>  this = 0\r\n\t\t\t\t <user defined> \r\n\t\t\t <user defined>  __vecDelDtor\r\n\t\t <user defined>  lock_guard<std::mutex>\r\n\t\t <user defined>  lock_guard<std::mutex>\r\n\t\t <user defined>  lock_guard<std::mutex>\r\n\t\t\t <user defined> \r\n\t\t\t <user defined> \r\n\t\t\t <user defined>  this = 7FF5F9EBB6A0\r\n\t\t\t <user defined>  _Mtx = FFFFFFFFFFFFFFFE\r\n\t\t\t <user defined> \r\n\t\t\t <user defined> \r\n\t\t <user defined>  ~lock_guard<std::mutex>\r\n\t\t\t <user defined> \r\n\t\t\t <user defined> \r\n\t\t\t <user defined>  this = 7FF5F9EBB6A0\r\n\t\t\t <user defined> \r\n\t\t\t <user defined> \r\n\t\t <user defined>  operator=\r\n\t\t <user defined>  _MyMutex = 14055D738\r\n\t\t <user defined>  __vecDelDtor\r\n\r\n"}}