[Plugin] Performance profiler

None knows why I got those errors when I start the gamemode with the Profiler plugin?

PHP Code:
[12:46:31]   Filterscript 'skinchanger.amx' loaded.
[
12:46:31] [debugServer crashed while executing IusGOLD.amx
[12:46:31] [debugAMX backtrace:
[
12:46:31] [debugNative backtrace:
[
12:46:31] [debug#0 5a8a64c2 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#1 5a8a6c56 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#2 5a8a2456 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#3 5a89ff82 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#4 65018b28 in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#5 650109c7 in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#6 6501631a in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#7 64e84509 in ?? () from plugins\streamer.DLL
[12:46:31] [debug#8 5a8a6d2b in ?? () from plugins\profiler.DLL
[12:46:31] [debug#9 5a8a2f7e in ?? () from plugins\profiler.DLL
[12:46:31] [debug#10 5a89ffca in ?? () from plugins\profiler.DLL
[12:46:31] [debug#11 0047441e in ?? () from samp-server.exe
[12:46:31] [debug#12 004010b6 in ?? () from samp-server.exe
[12:46:31] [debug#13 650162ca in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#14 5a8a6c45 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#15 5a8a2456 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#16 5a89ff82 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#17 65018b28 in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#18 650109c7 in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#19 6501631a in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#20 64e84509 in ?? () from plugins\streamer.DLL
[12:46:31] [debug#21 5a8a6d2b in ?? () from plugins\profiler.DLL
[12:46:31] [debug#22 5a8a2f7e in ?? () from plugins\profiler.DLL
[12:46:31] [debug#23 5a89ffca in ?? () from plugins\profiler.DLL
[12:46:31] [debug#24 0046f504 in ?? () from samp-server.exe
[12:46:31] [debug#25 75492f73 in ?? () from C:\Windows\system32\SHELL32.dll
[12:46:31] [debug#26 4c4f4773 in ?? () from samp-server.exe
[12:46:31] [debug#27 6d612e44 in ?? () from samp-server.exe 
Reply

Are you using call_graph? If yes, try disabling it, I think I had some similar issues with it.
Reply

It did not create any file when i gmxed server, tho it said profilling .... etc
Reply

Edit: server crashes at:

Quote:

[10:48:49] [profiler] Dumping profiling statistics for filterscripts/knpc

Thats just an example ^^ crashes everytime i unload a fs, or gmx the server.
Reply

Quote:
Originally Posted by iLearner
View Post
Edit: server crashes at:



Thats just an example ^^ crashes everytime i unload a fs, or gmx the server.
Same
Reply

This plugin used to show execution times for all functions but now it's just the main callbacks, what am I doing wrong?
Reply

Why using profiler_callgraph 1 and profiler_callgraphformat dot crashing the server

Code:
20:06:37] [debug] Server crashed while executing gm.amx
[20:06:37] [debug] Native backtrace:
[20:06:37] [debug] #0 6c745492 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #1 6c745d0c in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #2 6c74128b in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #3 6c73bb3a in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #4 004746be in ?? () in samp-server.exe
[20:06:37] [debug] #5 004010b6 in ?? () in samp-server.exe
[20:06:37] [debug] #6 6cbadc92 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #7 6c745c15 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #8 6c740816 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #9 6c73baf2 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #10 6cbb5318 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #11 6cba97cc in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #12 6cbadcf4 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #13 6c9f4b39 in ?? () in plugins\streamer.DLL
[20:06:37] [debug] #14 6c745cfb in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #15 6c74128b in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #16 6c73bb3a in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #17 004746be in ?? () in samp-server.exe
[20:06:37] [debug] #18 004010b6 in ?? () in samp-server.exe
[20:06:37] [debug] #19 6cbadc92 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #20 6c745c15 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #21 6c740816 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #22 6c73baf2 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #23 6cbb5318 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #24 6cba97cc in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #25 6cbadcf4 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #26 6c9f4b39 in ?? () in plugins\streamer.DLL
[20:06:37] [debug] #27 6c745cfb in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #28 6c74128b in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #29 6c73bb3a in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #30 0046f654 in ?? () in samp-server.exe
[20:06:37] [debug] #31 65646f6d in ?? () in samp-server.exe
[20:06:37] [debug] #32 6f6f2f73 in ?? () in samp-server.exe
[20:06:37] [debug] #33 6d612e66 in ?? () in samp-server.exe
[20:06:37] [debug] Registers:
[20:06:37] [debug] EAX: 02909df0 EBX: 02909e20 ECX: 00000000 EDX: 00000000
[20:06:37] [debug] ESI: 048e4d48 EDI: 02909dfc EBP: 6f6f2f73 ESP: 00515c08
[20:06:37] [debug] EIP: 6d612e66 EFLAGS: 00210202
Reply

Yeah, there is apparently some bug in the call graph feature that causes crashes like this, but I haven't been able to reproduce it. If you have an example gamemode that has this bug feel free to share.
Reply

[19:38:56] [profiler] Attached profiler to gamemodes/gamemode
[19:38:56] AMX (152316584) loaded
[19:38:56] [profiler] Started profiling gamemodes/gamemode

It's attached to the gamemode but it is not creating any log file or whatsoever? What could be the issue?

Centos7.2 0.3.7-R2
Reply

Quote:
Originally Posted by fatlirmorina
View Post
[19:38:56] [profiler] Attached profiler to gamemodes/gamemode
[19:38:56] AMX (152316584) loaded
[19:38:56] [profiler] Started profiling gamemodes/gamemode

It's attached to the gamemode but it is not creating any log file or whatsoever? What could be the issue?

Centos7.2 0.3.7-R2
The same thing happens to me, does anyone know why? It doesn't work even on Windows
Reply

Quote:
Originally Posted by tslatas
View Post
The same thing happens to me, does anyone know why? It doesn't work even on Windows
For Windows, do not click on X button. Type exit in console.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)