SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 17/08/2016, 11:54 AM   #261
ReshiramZekrom
Big Clucker
 
ReshiramZekrom's Avatar
 
Join Date: May 2012
Location: Bari, Italy
Posts: 124
Reputation: 14
Default Re: 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 
__________________
ReshiramZekrom is offline   Reply With Quote
Old 17/08/2016, 01:26 PM   #262
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,530
Reputation: 552
Default Re: Performance profiler

Are you using call_graph? If yes, try disabling it, I think I had some similar issues with it.
Misiur is offline   Reply With Quote
Old 04/12/2016, 08:35 AM   #263
iLearner
Guest
 
Posts: n/a
Default Re: Performance profiler

It did not create any file when i gmxed server, tho it said profilling .... etc
  Reply With Quote
Old 04/12/2016, 09:55 AM   #264
iLearner
Guest
 
Posts: n/a
Default Re: Performance profiler

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 With Quote
Old 30/12/2016, 05:18 PM   #265
~Error
Big Clucker
 
~Error's Avatar
 
Join Date: Nov 2011
Location: Kongeriket Norge
Posts: 79
Reputation: 5
Default Re: Performance profiler

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
__________________
Viva La PAWN!
~Error is offline   Reply With Quote
Old 05/04/2017, 09:12 PM   #266
Tamer
High-roller
 
Tamer's Avatar
 
Join Date: Nov 2011
Location: Turkey
Posts: 1,183
Reputation: 169
Default Re: Performance profiler

This plugin used to show execution times for all functions but now it's just the main callbacks, what am I doing wrong?
__________________
The three stages of truth:

- Ridicule.
- Violent opposition.
- Acceptance.


Quote:
The greatest hypnotist on the planet Earth is an oblong box in the corner of the room. It is constantly telling us what to believe is real. If you can persuade people that what they see with their eyes is what there is to see you've got them. you know because they'll laugh in your face of an explanation that portrays the biggest picture of what's happening... and they have.

Last edited by Tamer; 06/04/2017 at 08:57 PM.
Tamer is offline   Reply With Quote
Old 06/09/2018, 04:13 PM   #267
Nubik
Big Clucker
 
Nubik's Avatar
 
Join Date: May 2013
Location: $location
Posts: 54
Reputation: 4
Default Re: Performance profiler

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
Nubik is offline   Reply With Quote
Old 06/09/2018, 07:45 PM   #268
xeeZ
Huge Clucker
 
Join Date: Feb 2013
Posts: 319
Reputation: 382
Default Re: Performance profiler

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.
xeeZ 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
Timers performance Zamaroht Scripting Help 5 30/08/2012 10:29 AM
Bad performance on a great PC Juan Dover Client Support 20 13/02/2011 08:34 PM
Performance issues gamer931215 Everything and Nothing 3 26/08/2010 10:54 PM
SQL performance Dabombber Help Archive 7 24/09/2009 04:49 PM
9400 GT - GTA:SA Performance rafay Everything and Nothing 14 09/06/2009 05:23 PM


All times are GMT. The time now is 12:57 PM.


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