SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 18/06/2019, 12:15 AM   #1
ManGoe
Huge Clucker
 
ManGoe's Avatar
 
Join Date: Jan 2014
Location: In your heart.py
Posts: 346
Reputation: 28
Default Server crashes for unknown reason

Here is logs

Code:
[19:56:33] [zcmd] [Terrence_Brown]:spec 
[19:56:35] OnVehicleSpawn::vehicleid - called (total triggers: 12, total finishes:11
[19:56:35] OnVehicleSpawn::vehicleid - called FIRST_IF_X13 (total triggers: 12, total finishes:11
[19:56:35] OnVehicleSpawn::vehicleid - called FIRST_IF_X14 (total triggers: 12, total finishes:11
[19:56:35] OnVehicleCrash::vehicleid - finished with total finishes: 12 and started with 12
[19:56:35] [debug] Server crashed due to an unknown error
[19:56:35] [debug] Native backtrace:
[19:56:35] [debug] #0 f72f58b6 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so
[19:56:35] [debug] #1 f72ed120 in _ZN18CrashDetectHandler20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so
[19:56:35] [debug] #2 f72ed886 in _ZN18CrashDetectHandler20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so
[19:56:35] [debug] #3 f72edf96 in _ZN18CrashDetectHandler7OnCrashERKN2os7ContextE () in plugins/crashdetect.so
[19:56:35] [debug] #4 f72f4f82 in ?? () in plugins/crashdetect.so
[19:56:35] [debug] #5 f76ddb20 in __kernel_rt_sigreturn () in linux-gate.so.1
[19:56:35] [debug] #6 081fbd68 in ?? ()
[19:56:35] [debug] #7 080ad0c8 in ?? () in ./sampsvr-port_2802
[19:56:35] [debug] #8 080aee47 in ?? () in ./sampsvr-port_2802
[19:56:35] [debug] #9 080aef02 in ?? () in ./sampsvr-port_2802
[19:56:35] [debug] #10 080aa13a in ?? () in ./sampsvr-port_2802
[19:56:35] [debug] #11 f7337a63 in __libc_start_main () in /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:56:35] [debug] Registers:
[19:56:35] [debug] EAX: f5cfd5f4 EBX: f432b008 ECX: 08356338 EDX: 08341a58
[19:56:35] [debug] ESI: 0000000d EDI: 08c71d38 EBP: ff99cc28 ESP: ff99cc20
[19:56:35] [debug] EIP: 081fbd68 EFLAGS: 00210286
[19:56:35] [debug] Stack:
[19:56:35] [debug] ESP+00000000: f4207980 ff99cd10 ff99ce48 080ad0c8
[19:56:35] [debug] ESP+00000020: 08243d98 ff99ccbc f3fe86ce f3fff3c0
[19:56:35] [debug] ESP+00000040: 0835e118 08356338 ff99cca8 00f7683a
[19:56:35] [debug] ESP+00000060: bf7e54f4 3d601490 3dccc551 ff99ccc0
[19:56:35] [debug] ESP+00000080: ff99cd10 081fbd68 ff99ccc8 080a6449
[19:56:35] [debug] ESP+000000a0: f40100cf 90bf7e54 513d6014 073dccc5
[19:56:35] [debug] ESP+000000c0: fcc4d2a3 e441520b 4839b69b 16b64e64
[19:56:35] [debug] ESP+000000e0: c4447a00 415144e2 f3fff3c0 081d2bd0
[19:56:35] [debug] ESP+00000100: 09491800 09491804 ff99cdf8 f75a2438
[19:56:35] [debug] ESP+00000120: 6f6e6e61 65636e75 00000000 00000000
[19:56:35] [debug] ESP+00000140: ff99cdd0 f7417332 004edb01 00000000
[19:56:35] [debug] ESP+00000160: 7753268c 00139daa ff99ce48 f74c7000
[19:56:35] [debug] ESP+00000180: 081fbd68 08159db3 ff99ce48 f5c88d2d
[19:56:35] [debug] ESP+000001a0: f75c7d47 f5c363e6 f5c889bb f5c54c7a
[19:56:35] [debug] ESP+000001c0: 00000000 00000000 00000017 081fa950
[19:56:35] [debug] ESP+000001e0: 00000002 f4253f10 f72be450 f72b7533
[19:56:35] [debug] ESP+00000200: 00000000 00543fe4 00000000 d199ce58
[19:56:35] [debug] ESP+00000220: 081fbd68 08159db3 ff99ce68 080aee47
[19:56:35] [debug] ESP+00000240: 081fbd68 08159c36 ff99ce98 080aef02
[19:56:35] [debug] ESP+00000260: 081a29f4 00000000 00000000 004c4b40
[19:56:35] [debug] ESP+00000280: 081fbd68 08159db3 00000006 08159dcd
[19:56:35] [debug] ESP+000002a0: ff99cedc f7641b66 f76a9000 f760ce63
[19:56:35] [debug] ESP+000002c0: 00010000 00001e61 00000032 0160d1fb
[19:56:35] [debug] ESP+000002e0: f76a9000 f76a9000 f76aa5c0 f75b5a05
[19:56:35] [debug] ESP+00000300: 080494b0 f76aa7a4 f74c7d84 f76aa460
[19:56:35] [debug] ESP+00000320: 00000000 00000000 00000000 00000000
[19:56:35] [debug] ESP+00000340: 00000000 00000000 00000000 00000000
[19:56:35] [debug] ESP+00000360: 00000000 00000000 00000000 00000000
[19:56:35] [debug] ESP+00000380: 00000000 00000000 00000000 00000000
[19:56:35] [debug] ESP+000003a0: f74c73c4 f76ff000 0815072b f74c7000
[19:56:35] [debug] ESP+000003c0: 00000001 ff99d074 ff99d07c f76ed33a
[19:56:35] [debug] ESP+000003e0: 080494b0 f74c7000 00000000 00000000
[19:56:35] [debug] Loaded modules:
[19:56:35] [debug] 00000000 - 00187f43 sampsvr-port_2802
[19:56:35] [debug] f76dd000 - f76ddc5a linux-gate.so.1
[19:56:35] [debug] f76ca000 - f76cc81b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[19:56:35] [debug] f76ad000 - f76c7d2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[19:56:35] [debug] f752e000 - f76b74e8 /usr/lib/i386-linux-gnu/libstdc++.so.6
[19:56:35] [debug] f74e8000 - f752cb43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[19:56:35] [debug] f74cb000 - f74e73c4 /lib/i386-linux-gnu/libgcc_s.so.1
[19:56:35] [debug] f731e000 - f74d322f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:56:35] [debug] f76de000 - f76ff4e0 /lib/ld-linux.so.2
[19:56:35] [debug] f72d6000 - f731a3ac plugins/crashdetect.so
[19:56:35] [debug] f72b2000 - f72d504f plugins/SKY.so
[19:56:35] [debug] f724d000 - f72b1e8a plugins/regex.so
[19:56:35] [debug] f715a000 - f72501e9 plugins/discord-connector.so
[19:56:35] [debug] f712c000 - f714fd32 /usr/lib/log-core.so
[19:56:35] [debug] f70cd000 - f712d254 /usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0
[19:56:35] [debug] f76cf000 - f76d609f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[19:56:35] [debug] f6f00000 - f70e3b2c /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0
[19:56:35] [debug] f6671000 - f667c3ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[19:56:35] [debug] f666a000 - f666e97b /lib/i386-linux-gnu/i686/cmov/libnss_dns.so.2
[19:56:35] [debug] f6652000 - f666a2fb /lib/i386-linux-gnu/i686/cmov/libresolv.so.2
[19:56:35] [debug] f6641000 - f66509b4 plugins/sscanf.so
[19:56:35] [debug] f4d5c000 - f5104ac7 plugins/mysql_static.so
[19:56:35] [debug] f5c0e000 - f5cff803 plugins/YSF.so
[19:56:35] [debug] f521a000 - f5301b50 plugins/pawncmd.so
[19:56:35] [debug] f3f43000 - f400139a plugins/streamer.so
[19:56:35] [debug] f6635000 - f663e918 plugins/whirlpool.so
[19:56:35] [debug] f7156000 - f7157f70 plugins/nativechecker.so

PHP Code:
public OnVehicleSpawn(vehicleid)
{
    
_counter++;
    
printf("OnVehicleSpawn::vehicleid - called (total triggers: %d, total finishes:%d"_counter_counter_finish);

    
/*if(IsValidDynamic3DTextLabel(DonatorCallSign[vehicleid]))
    {
        DestroyDynamic3DTextLabel(DonatorCallSign[vehicleid]);
        printf("OnVehicleSpawn::vehicleid - called FIRST_IF (total triggers: %d, total finishes:%d", _counter, _counter_finish);
        DonatorCallSign[vehicleid] = Text3D:INVALID_3DTEXT_ID;
        printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X1 (total triggers: %d, total finishes:%d", _counter, _counter_finish);
    }*/
    
if(adminVehicle{vehicleid})
    {
        
DestroyVehicleEx(vehicleid);
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X2 (total triggers: %d, total finishes:%d"_counter_counter_finish);
        
adminVehicle{vehicleid} = false;
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X3 (total triggers: %d, total finishes:%d"_counter_counter_finish);
    }
    if(
IsValidDynamicObject(vehicleSiren[vehicleid]))
    {
        
DestroyDynamicObject(vehicleSiren[vehicleid]);
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X4 (total triggers: %d, total finishes:%d"_counter_counter_finish);
        
vehicleSiren[vehicleid] = INVALID_OBJECT_ID;
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X5 (total triggers: %d, total finishes:%d"_counter_counter_finish);
    }
    if(
IsValidDynamic3DTextLabel(vehicleCallsign[vehicleid]))
    {
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X6 (total triggers: %d, total finishes:%d"_counter_counter_finish);
        
DestroyDynamic3DTextLabel(vehicleCallsign[vehicleid]);
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X7 (total triggers: %d, total finishes:%d"_counter_counter_finish);
        
vehicleCallsign[vehicleid] = Text3D:INVALID_3DTEXT_ID;
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X8 (total triggers: %d, total finishes:%d"_counter_counter_finish);
    }


    if((
VehicleInfo[vehicleid][vID] > && VehicleInfo[vehicleid][vOwnerID] > 0) || (VehicleInfo[vehicleid][vGang] >= 0))
    {
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X9 (total triggers: %d, total finishes:%d"_counter_counter_finish);
        
ReloadVehicle(vehicleid);
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X10 (total triggers: %d, total finishes:%d"_counter_counter_finish);
        if(
VehicleInfo[vehicleid][vGang] >= 0)
        {
            
vehicleFuel[vehicleid] = 100;
            
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X11 (total triggers: %d, total finishes:%d"_counter_counter_finish);

        }
    }
    else
    {
         if(
VehicleInfo[vehicleid][vID] > && VehicleInfo[vehicleid][vHealth] > 300.0)
         {
            
SetVehicleHealth(vehicleidVehicleInfo[vehicleid][vHealth]);
            
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X12 (total triggers: %d, total finishes:%d"_counter_counter_finish);
         }

        
vehicleFuel[vehicleid] = 100;
        
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X13 (total triggers: %d, total finishes:%d"_counter_counter_finish);
    }

    
vehicleStream[vehicleid][0] = 0;
    
printf("OnVehicleSpawn::vehicleid - called FIRST_IF_X14 (total triggers: %d, total finishes:%d"_counter_counter_finish);    
    
_counter_finish++;

    
printf("OnVehicleCrash::vehicleid - finished with total finishes: %d and started with %d"_counter_counter_finish);
    return 
1;

i'm trying to fix this bug from a week now can't find a solution. everytime it crashes after onvehiclespawn.
__________________

ManGoe is offline   Reply With Quote
Old 19/06/2019, 05:22 AM   #2
FelipeAndres
Huge Clucker
 
FelipeAndres's Avatar
 
Join Date: Feb 2015
Location: Chile
Posts: 267
Reputation: 20
Default Re: Server crashes for unknown reason

check mysql log error
__________________
SuperDanova Freeroam: samp.superdanova.com:8888
SuperDanova RolePlay: rp.superdanova.com:7777
FelipeAndres is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Server crashes no reason maximthepain Scripting Help 2 19/07/2014 10:19 AM
Server crashes for no reason? jNkk Scripting Help 7 25/12/2012 11:33 PM
Server Crashes for no reason mhamadsaleh Server Support 7 19/12/2011 09:59 PM
Server Crashes without reason Evoturk Server Support 0 08/09/2010 06:44 PM
Server crashes unknown reason Jimmyhead521 Help Archive 1 30/12/2009 11:55 PM


All times are GMT. The time now is 08:05 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.