Zeex / samp-plugin-profiler

Performance profiler plugin for SA-MP server
http://forum.sa-mp.com/showthread.php?t=271129
BSD 2-Clause "Simplified" License
46 stars 8 forks source link

I have this error, I would like to resolve it. #38

Closed MatheusAgL closed 3 years ago

MatheusAgL commented 3 years ago

I have this error, I would like to resolve it.


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[22:22:08] language = ""  (string)
[22:22:08] 
[22:22:08] Server Plugins
[22:22:08] --------------
[22:22:08]  Loading plugin: crashdetect.so
[22:22:08]   CrashDetect plugin 4.20
[22:22:08]   Loaded.
[22:22:08]  Loading plugin: sscanf.so
[22:22:08] 

[22:22:08]  ===============================

[22:22:08]       sscanf plugin loaded.     

[22:22:08]         Version:  2.10.2        

[22:22:08]    (c) 2020 Alex "Y_Less" Cole  

[22:22:08]  ===============================

[22:22:08]   Loaded.
[22:22:08]  Loading plugin: streamer.so
[22:22:08] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[22:22:08]   Loaded.
[22:22:08]  Loading plugin: mysql.so
[22:22:08]  >> plugin.mysql: R41-4 successfully loaded.
[22:22:08]   Loaded.
[22:22:08]  Loading plugin: log-core.so
[22:22:08]   Plugin does not conform to architecture.
[22:22:08]   Failed.
[22:22:08]  Loading plugin: mapandreas.so
[22:22:08]   Loaded.
[22:22:08]  Loaded 5 plugins.

[22:22:08] 
[22:22:08] Filterscripts
[22:22:08] ---------------
[22:22:08]   Loaded 0 filterscripts.

[22:22:09]   Filterscript '../scriptfiles/callbackfix.amx' loaded.
[22:22:09] [debug] Long callback execution detected (hang or performance issue)
[22:22:09] [debug] AMX backtrace:
[22:22:09] [debug] #0 0001f540 in Opcode:UnrelocateOpcode (Opcode:opcode=-147677621) at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\samp-plugin-crashdetect-ff05b5\..\..\amx_assembly\opcode.inc:830
[22:22:09] [debug] #1 000260e8 in CodeScanRunFastPrescan (&proc=@01d1ae50 -5900220, &nextaddr=@01d1ae4c -5904724, searchFuncAddr=131536) at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\samp-plugin-crashdetect-ff05b5\..\..\amx_assembly\codescan.inc:827
[22:22:09] [debug] #2 0002655c in bool:CodeScanRunFast (csState[CodeScanner:164]=@01d1b66c, searchFuncAddr=131536) at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\samp-plugin-crashdetect-ff05b5\..\..\amx_assembly\codescan.inc:866
[22:22:09] [debug] #3 00028468 in AddressofResolve () at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\samp-plugin-crashdetect-ff05b5\..\..\amx_assembly\addressof_jit.inc:130
[22:22:09] [debug] #4 00028aec in public AMX_OnCodeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Coding\y_va\..\..\YSI_Core\y_core\y_thirdpartyinclude.inc:367
[22:22:09] [debug] #5 00018d14 in public Debug_OnCodeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_amx_impl.inc:206
[22:22:09] [debug] #6 00018668 in public ScriptInit_OnCodeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_debug_impl.inc:644
[22:22:09] [debug] #7 00017f1c in ScriptInit_CallOnCodeInit (bool:jit=false) at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_scriptinit_impl.inc:392
[22:22:09] [debug] #8 000181fc in public SSCANF_OnGameModeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\YSI-Includes\YSI_Data\y_foreach\..\..\YSI_Core\y_core\y_scriptinit_impl.inc:588
[22:22:09] [debug] #9 000117a4 in public FIXES_OnGameModeInit ()  at C:\Users\Pichau\Desktop\SA-MP\dependencies\.resources\sscanf-019253\sscanf2.inc:222
[22:22:09] [debug] #10 00004c0c in public OnGameModeInit () at C:\Users\Pichau\Desktop\SA-MP\dependencies\sa-mp-fixes\fixes.inc:6689
[22:22:27] MapFix by Nexius v4.2.1 loaded (include version).
[22:22:27]  
[22:22:27] --------------------------------------
[22:22:27]  Anticheat Nex-AC carregado!
[22:22:27]  Anticheat versão: 1.9.53
[22:22:27]  Autor: Nexius (PT-BR by NicK_)
[22:22:27] --------------------------------------

[22:22:28] << CASAS >>: 501 casas foram carregadas.
[22:22:28] FAMÍLIAS: 0 famílias carregadas!
[22:22:28] [Baús]: 409 caixas de itens foram carregadas...
[22:22:29] [Lixeira]: 20 lixeiras foram carregadas...
[22:22:29] [PORTAO]: 757 portoes foram carregados...
[22:22:29] Musica login: http://www.brasilplaystart.com.br/sounds/musica_login.mp3
[22:22:29] >    Concessionária          : 70 Carros
[22:22:29] >    Fazendas                : 14 Carregadas
[22:22:29] Reading File: blank
[22:22:29] Reading File: ArquivosBPS/Props/Empresas/businesses.txt
[22:22:29] Reading File: ArquivosBPS/Props/Empresas/banks.txt
[22:22:29] >    Comércios               : 84 Carregados
[22:22:29] >    Organizações            : 35 Carregadas
[22:22:29] >    Pasta Contas            : ArquivosBPS/Contas/%s.ini
[22:22:29] >    Senha Admin             : bpsfoda
[22:22:29] [SPRAY]: 99 spray tags foram carregadas...
[22:22:29]  
[22:22:29] >                por: dimmy_scarface e Theus_Crazzy
[22:22:29] -------------------------------------------------------------------------------------------
[22:22:29] 
GameMode Brasil New Start | carregada com sucesso!
[22:22:29] Number of vehicle models: 103
[22:22:29] DETRAN: 77 vagas do pátio foram carregadas
Zeex commented 3 years ago

Sorry, but it has nothing to do with the profiler plugin, also it's not an error, crashdetect just tells you that some function is slow. You can disable it via long_call_time option in server.cfg, see https://github.com/Zeex/samp-plugin-crashdetect#configuration for more info.

MatheusAgL commented 3 years ago

It really helped! However, I need to find out what to do to solve this problem soon.