Worldserver Has Stopped Working - No Reason

Greetings,

I had my server working fine for a while but in this morning when I tried to start it, the worldserver just goes into “Has Stopped Working” with no log.

Here’s a screenshot:

What actually may cause that?

[ATTACH]1377._xfImport[/ATTACH]

Compile in Debug mode and check if there’s a crashlog in the Crashes folder.

​I got this:

[ATTACH]1378._xfImport[/ATTACH]

Check if you are linking against the correct libmysql.lib

I copied libmysql.lib from SQL Server again and now even the Authserver crashes… What shall I do?

I copied libmysql.lib from SQL Server again and now even the Authserver crashes… What shall I do?

http://community.trinitycore.org/topic/11538-worldauth-server-appcrash-c0000374/

Downgrade MySQL 5.7 to 5.6.

I had 5.6 and downgraded to 5.5 and still the same problem. And yes, I copy & pasted the new MySQLEAY.Dll file after every install.

There’s no [COLOR= rgb(82, 82, 82)]MySQLEAY.Dll.

This might help: https://github.com/TrinityCore/TrinityCore/issues/15068

I mean libmysql.dll, sorry. Still getting problems.

Debugging:

MSV: Unhandled exception at 0x0000000077574102 (ntdll.dll) in Authserver.exe: 0xC0000374: A heap has been corrupted (parameters: 0x00000000775EB4B0).

‘Authserver.exe’ (Win32): Loaded ‘C:\Users\Lucian\Desktop\The Great Hunt\The Great Hunt - Project\Authserver.exe’. Module was built without symbols.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\ntdll.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel32.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\KernelBase.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\advapi32.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcrt.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\sechost.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\rpcrt4.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Users\Lucian\Desktop\The Great Hunt\The Great Hunt - Project\libmysql.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\secur32.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\sspicli.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\ws2_32.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\nsi.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Users\Lucian\Desktop\The Great Hunt\The Great Hunt - Project\libeay32.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\user32.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\lpk.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\usp10.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcr120.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcp120.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\mswsock.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\dbghelp.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\imm32.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\msctf.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\nlaapi.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\NapiNSP.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\pnrpnsp.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\dnsapi.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\winrnr.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\rasadhlp.dll’. Cannot find or open the PDB file.
‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\WSHTCPIP.DLL’. Cannot find or open the PDB file.
The thread 0x14f0 has exited with code 0 (0x0).
Unhandled exception at 0x0000000077574102 (ntdll.dll) in Authserver.exe: 0xC0000374: A heap has been corrupted (parameters: 0x00000000775EB4B0).

‘Authserver.exe’ (Win32): Loaded ‘C:\Windows\System32\wship6.dll’. Cannot find or open the PDB file.

I’ve compiled everything in 64bit. I made sure I have the right dlls, also checked them.

I’ve tried to reinstall different MySQL servers and get the DLLs and so on but the problem still persist.

Lol, I’ve changed the compatibility mode to Windows Vista and now it’s working, may I ask why?

Krang: What MySQL version do you have installed?

I’ve tried with MySQL 5.6, 5.5 and 5.1, all in 64 bits.

I’ve tried to copy 32bit / 64bit for all versions and still same results.

Ok, however what matters is the libmysql.lib which is chosen by CMake (which you should override).

How?

And why does it works if I make the Authserver / Worldserver compatibility mode to Windows Vista?

http://collab.kpsn.org/pages/viewpage.action?pageId=12714432

I tried that, still getting the “Has Stopped Working” error.

Greetings.

Okay, I managed to fix this. Let me explain how, in case others meet the same issue.

  1. First, I’ve uninstalled all MySQL programs and installed 5.5 MySQL.

  2. Now, open the CMake (CMake-GUI).

  3. Check Grouped & Advanced. (You can find them near search option / add entry).

  4. Drop-down MySQL.

  5. Make sure the paths are correct.

  6. Configure & Generate.

  7. Rebuild the core.

I have no idea why, but I guess there were broken paths.