Raised This Month: $ Target: $400
 0% 

Stack error on HAM_SUPERCEDE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-12-2009 , 13:25   Stack error on HAM_SUPERCEDE
Reply With Quote #1

I have a strange error in a plugin, only happen few times a week.
Anybody have any clue on the reason ?

Code:
SZ_GetSpace: overflow on netchan->message
SZ_GetSpace: overflow on netchan->message
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 5: memory access 
L 06/12/2009 - 20:17:11: [AMXX]    [0] comp_zkz_misc.sma::Player_Killed (line 273)
L 06/12/2009 - 20:17:11: [AMXX] Displaying debug trace (plugin "kz_misc.amxx")
L 06/12/2009 - 20:17:11: [AMXX] Run time error 3: stack error 
SZ_GetSpace: overflow on netchan->message
SZ_GetSpace: overflow on netchan->message
L 06/12/2009 - 20:17:11: FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Spectator Buffer
FATAL ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Spectator Buffer
Line 273 highlighted.
Code:
public Player_Killed(id, iKiller) {     if( IsPlayer(id) && fm_cs_get_user_team(id) == TEAM_CT )     {         message_begin(MSG_ONE_UNRELIABLE, gmsgDeathMsg, _, id)         write_byte(id)         write_byte(id)         write_byte(1)         write_string("knife")         message_end()         message_begin(MSG_ONE_UNRELIABLE, gmsgScoreAttrib, _, id)         write_byte(id)         write_byte(0)         message_end()         ExecuteHamB(Ham_Spawn, id)         return HAM_SUPERCEDE     }     return HAM_IGNORED }
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 06-12-2009 , 13:55   Re: Stack error on HAM_SUPERCEDE
Reply With Quote #2

The players are not getting killed on spawn?
__________________
joaquimandrade is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-12-2009 , 14:01   Re: Stack error on HAM_SUPERCEDE
Reply With Quote #3

Seems that it makes the server crash, so i can't tell what happens in-game.
Thought about a special case where the game would try to kill the player again and again.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 06-12-2009 , 14:03   Re: Stack error on HAM_SUPERCEDE
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
Seems that it makes the server crash, so i can't tell what happens in-game.
Thought about a special case where the game would try to kill the player again and again.
I mean, if there is some problems with spawn points (or something) that makes the players get killed on spawn. Because I think that that problem exists because of something like infinite recursion.
__________________
joaquimandrade is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-12-2009 , 14:04   Re: Stack error on HAM_SUPERCEDE
Reply With Quote #5

I see, gonna check spawns on that map.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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 13:55.


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