Raised This Month: $7 Target: $400
 1% 

Stack error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 07-17-2007 , 02:36   Stack error
Reply With Quote #1

Is there any good way to track down the bug in the code if I can see such debug trace only:
Quote:
Originally Posted by Aiwa View Post
Code:
L 07/14/2007 - 19:08:54: Info (map "cs_militia_cz") (logfile "error_071407.log")
L 07/14/2007 - 19:08:54: [AMXX] Displaying debug trace (plugin "sniperlimit.amxx")
L 07/14/2007 - 19:08:54: [AMXX] Run time error 3: stack error
It happened only on 2 servers and I cannot reproduce it on my PC.
What are the common reasons to appear such error?
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
djmd378
Senior Member
Join Date: Sep 2004
Old 07-17-2007 , 03:30   Re: Stack error
Reply With Quote #2

Stack errors are usually due to lots of memory usage. Or if you use engclient_cmd(id, "drop") on a bot, it would cause this too.
__________________
djmd378 is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 07-17-2007 , 06:09   Re: Stack error
Reply With Quote #3

to debug this: binlog
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-17-2007 , 15:45   Re: Stack error
Reply With Quote #4

how do you implement that? sorry n00b speaking. Cause I get this sometimes with my plugins, and I want to know how to debug them too....
do you add this after the plugins name in plugin.ini similar to the way you enable debug? And if you can you place debug AND binlog there?
__________________
DO NOT PM me about avp mod.
Rolnaaba is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 07-17-2007 , 17:31   Re: Stack error
Reply With Quote #5

You can find it here:

http://www.amxmodx.org/downloads.php - AMX Mod X Binary Logging Utils

itīs a metamod plugin, see notes.txt inside.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
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

Forum Jump


All times are GMT -4. The time now is 06:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode