Server stürzt nach gmx ab

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hey,
    wie der Titel schon sagt hab ich ein Problem :thumbdown:


    Mir ist aufgefallen, dass der Server nur crashed, wenn sich ein Spieler eingeloggt hat.


    Hier mal die Log mit crashdetect:



    Console input: gmx
    [23:36:44] Server wird heruntergefahren...
    [23:36:44] MinuteTimer deaktiviert.
    [23:36:44] [debug] Server crashed due to an unknown error
    [23:36:44] [debug] Native backtrace:
    [23:36:44] [debug] #0 00401700 in ?? () from samp-server.exe
    [23:36:44] [debug] Registers:
    [23:36:44] [debug] EAX: 7bd21764 EBX: 0000fd39 ECX: 04bae888 EDX: 0019fba0
    [23:36:44] [debug] ESI: 66082610 EDI: 00007e9c EBP: 00000000 ESP: 0019fb74
    [23:36:44] [debug] EIP: 00401700 EFLAGS: 00010202
    [23:36:44] [debug] Stack:
    [23:36:44] [debug] ESP+00000000: 00007e9c 6214a880 0040174f 04c17cb8
    [23:36:44] [debug] ESP+00000020: 0019fcf0 00000000 0000fd3a 00000010
    [23:36:44] [debug] ESP+00000040: 000007ff 621aa88c 0019fce4 621168d1
    [23:36:44] [debug] ESP+00000060: 00000429 02711e84 0101f550 00000002
    [23:36:44] [debug] ESP+00000080: 04bbe838 00000000 2b000000 02b700c0
    [23:36:44] [debug] ESP+000000a0: 6214a888 0019fd34 02b70260 02b70000
    [23:36:44] [debug] ESP+000000c0: 00005a62 00001dfc 01fffffe 00000800
    [23:36:44] [debug] ESP+000000e0: 77329cc9 0019fce4 77346a20 9abbbcc1
    [23:36:44] [debug] ESP+00000100: 0019fcc0 0049eef9 00000000 02b71398
    [23:36:44] [debug] ESP+00000120: 3c2c817f 02b70000 0019fce4 02b71398
    [23:36:44] [debug] ESP+00000140: 00000008 02b71410 00000008 76bfdd70
    [23:36:44] [debug] ESP+00000160: 02b71400 76bfdd70 02b7a240 f7cfb0e4
    [23:36:44] [debug] ESP+00000180: 621335d4 0019fd2c 0019fd34 04c17cb8
    [23:36:44] [debug] ESP+000001a0: 02711e8c 02711ea4 00000001 f7cfb174
    [23:36:44] [debug] ESP+000001c0: 00000000 00000000 00000000 00000000
    [23:36:44] [debug] ESP+000001e0: 0019fdb8 62145398 00000001 0019fd88
    [23:36:44] [debug] ESP+00000200: 6d652073 00797470 0000000f 0000000f
    [23:36:44] [debug] ESP+00000220: 0019fd9c f7cfb1d0 72657500 61772079
    [23:36:44] [debug] ESP+00000240: 00000429 0019fe10 62143a30 00000001
    [23:36:44] [debug] ESP+00000260: 61772079 6d652073 00797470 00000000
    [23:36:44] [debug] ESP+00000280: 0019fe1c 6211e3d3 f7cfb208 02b791b8
    [23:36:44] [debug] ESP+000002a0: 62143d98 00000000 76ba6660 00469a66
    [23:36:44] [debug] ESP+000002c0: 000023f0 0019ff80 003b9000 0000401c
    [23:36:44] [debug] ESP+000002e0: 000021d8 02b7a240 656d6167 65646f6d
    [23:36:44] [debug] ESP+00000300: 004ab4a0 0019fe68 0019ff70 0019ff70
    [23:36:44] [debug] ESP+00000320: 0049b4b1 004ab4a0 0019ff70 004ab0e1
    [23:36:44] [debug] ESP+00000340: 02b719d0 00000094 00000006 00000002
    [23:36:44] [debug] ESP+00000360: 00000000 00000000 00000000 00000000
    [23:36:44] [debug] ESP+00000380: 00000000 00000000 00000000 00000000
    [23:36:44] [debug] ESP+000003a0: 00000000 00000000 00000000 00000000
    [23:36:44] [debug] ESP+000003c0: 00000000 00000000 00000000 00000000
    [23:36:44] [debug] ESP+000003e0: 003b9000 00000000 00000000 c0000005
    [23:36:44] [debug] Loaded modules:
    [23:36:44] [debug] 00400000 - 00519000 samp-server.exe
    [23:36:44] [debug] 772d0000 - 7745d000 ntdll.dll
    [23:36:44] [debug] 76b90000 - 76c60000 KERNEL32.DLL
    [23:36:44] [debug] 742b0000 - 74487000 KERNELBASE.dll
    [23:36:44] [debug] 74570000 - 758a3000 SHELL32.dll
    [23:36:44] [debug] 74110000 - 741cd000 msvcrt.dll
    [23:36:44] [debug] 74260000 - 74298000 cfgmgr32.dll
    [23:36:44] [debug] 73e70000 - 73f87000 ucrtbase.dll
    [23:36:44] [debug] 73d10000 - 73d98000 shcore.dll
    [23:36:44] [debug] 76a20000 - 76ade000 RPCRT4.dll
    [23:36:44] [debug] 73cf0000 - 73d10000 SspiCli.dll
    [23:36:44] [debug] 73ce0000 - 73cea000 CRYPTBASE.dll
    [23:36:44] [debug] 75f50000 - 75fa7000 bcryptPrimitives.dll
    [23:36:44] [debug] 75b00000 - 75b43000 sechost.dll
    [23:36:44] [debug] 75d00000 - 75f46000 combase.dll
    [23:36:44] [debug] 76220000 - 767e6000 windows.storage.dll
    [23:36:44] [debug] 73f90000 - 74008000 advapi32.dll
    [23:36:44] [debug] 75cb0000 - 75cf5000 shlwapi.dll
    [23:36:44] [debug] 76020000 - 76042000 GDI32.dll
    [23:36:44] [debug] 75b50000 - 75cae000 gdi32full.dll
    [23:36:44] [debug] 76b10000 - 76b8c000 msvcp_win.dll
    [23:36:44] [debug] 76d20000 - 76e95000 USER32.dll
    [23:36:44] [debug] 76af0000 - 76b06000 win32u.dll
    [23:36:44] [debug] 76ae0000 - 76aee000 kernel.appcore.dll
    [23:36:44] [debug] 76c70000 - 76cb5000 powrprof.dll
    [23:36:44] [debug] 73df0000 - 73e04000 profapi.dll
    [23:36:44] [debug] 732d0000 - 732d8000 WSOCK32.dll
    [23:36:44] [debug] 68470000 - 68494000 WINMM.dll
    [23:36:44] [debug] 75fb0000 - 76016000 WS2_32.dll
    [23:36:44] [debug] 684b0000 - 684d3000 WINMMBASE.dll
    [23:36:44] [debug] 73dc0000 - 73de5000 IMM32.DLL
    [23:36:44] [debug] 10000000 - 1000f000 sscanf.DLL
    [23:36:44] [debug] 72b30000 - 72b44000 VCRUNTIME140.dll
    [23:36:44] [debug] 644c0000 - 644db000 MapAndreas.DLL
    [23:36:44] [debug] 62160000 - 621b1000 crashdetect.DLL
    [23:36:44] [debug] 56ab0000 - 56b19000 MSVCP100.dll
    [23:36:44] [debug] 56b20000 - 56bdf000 MSVCR100.dll
    [23:36:44] [debug] 62110000 - 6215e000 mysql.DLL
    [23:36:44] [debug] 60d10000 - 60ddd000 libmariadb.dll
    [23:36:44] [debug] 64150000 - 6416a000 log-core.dll
    [23:36:44] [debug] 767f0000 - 76972000 CRYPT32.dll
    [23:36:44] [debug] 72b70000 - 72bdd000 MSVCP140.dll
    [23:36:44] [debug] 76c60000 - 76c6e000 MSASN1.dll
    [23:36:44] [debug] 6b390000 - 6b39a000 Secur32.dll
    [23:36:44] [debug] 6d320000 - 6d331000 napinsp.dll
    [23:36:44] [debug] 6d300000 - 6d316000 pnrpnsp.dll
    [23:36:44] [debug] 6d2e0000 - 6d2f3000 NLAapi.dll
    [23:36:44] [debug] 71f20000 - 71f75000 mswsock.dll
    [23:36:44] [debug] 6d6f0000 - 6d784000 DNSAPI.dll
    [23:36:44] [debug] 76210000 - 76217000 NSI.dll
    [23:36:44] [debug] 73840000 - 73870000 IPHLPAPI.DLL
    [23:36:44] [debug] 6d170000 - 6d17c000 winrnr.dll
    [23:36:44] [debug] 6cf10000 - 6cf31000 mdnsNSP.dll
    [23:36:44] [debug] 6d6e0000 - 6d6e8000 rasadhlp.dll
    [23:36:44] [debug] 6d690000 - 6d6de000 fwpuclnt.dll
    [23:36:44] [debug] 72b50000 - 72b69000 bcrypt.dll


    Hat jemand eine Idee? :whistling:

    Mit freundlichen Grüßen,


    Keslo


  • public OnGameModeExit()
    {
    // SONSTIGES //
    print("Server wird heruntergefahren...");


    // MYSQL //
    mysql_close(handle);

    // TIMER BEENDEN //
    KillTimer(MinuteTimer); print("MinuteTimer deaktiviert.");

    // SPIELER SPEICHERN //
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    SaveUserStats(i);
    }
    return 1;
    }


    //edit: Okey, fehler hat sich gezeigt :thumbup:
    Der Fehler lag am Stock SaveUserStats, dort fehlte etwas im MySQL-Abteil.
    Danke dir trotzdem, hast mich ja auf die Idee gebracht dort reinzugucken :saint:

    Mit freundlichen Grüßen,


    Keslo