Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /home/cstrike/cstrike.dynamicbits.com/flyspray/includes/class.tpl.php on line 552 FS#10 : molotov_cocktail.amxx crashes the server when molotov_give command is used

CS 1.6 Server (chicago.dynamicbits.com)

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /home/cstrike/cstrike.dynamicbits.com/flyspray/includes/class.tpl.php on line 552

Most scripts, plugins, etc. running on our server that differ from the official versions will be available via SVN at some point.

SVN: http://cstrike.dynamicbits.com/svn/viewvc.cgi/svn/

Tasklist

FS#10 - molotov_cocktail.amxx crashes the server when molotov_give command is used

Attached to Project: CS 1.6 Server (chicago.dynamicbits.com)
Opened by Andy (DynamicBits) - Saturday, 16 August 2008, 08:22 GMT
Last edited by Andy (DynamicBits) - Thursday, 27 November 2008, 08:27 GMT
Task Type Bug Report
Category AMXX Plugin
Status Closed
Assigned To Andy (DynamicBits)
Operating System Linux
Severity High
Priority Normal
Reported Version Current
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

From hlds_l.log:

L 08/16/2008 - 00:04:16: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(2) g_g(2)
L 08/16/2008 - 00:04:17: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(3) g_g(2)
L 08/16/2008 - 00:04:17: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(3) g_g(3)
L 08/16/2008 - 00:04:17: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(5) g_g(2)
L 08/16/2008 - 00:04:17: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(3) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(5) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(3) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(4) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(4) g_g(3)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(4) g_g(4)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(1) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(2) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(4) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(5) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(2) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(3) g_g(2)
L 08/16/2008 - 00:04:18: [molotov_cocktail.amxx] [MC] random_fire ent(112) i(4) g_g(2)
CadillacRockBox : changerace
L 08/16/2008 - 00:04:25: [molotov_cocktail.amxx] [MC] cmd_MolotovGive
L 08/16/2008 - 00:04:25: [molotov_cocktail.amxx] [MC] cmd_MolotovGive Arg1[0](@all) Arg1[1](all)
email debug.log to linux@valvesoftware.com
Sat Aug 16 00:04:29 CDT 2008: Server restart in 10 seconds

I have seen this happen occasionally with dozens of cocktails being thrown, but never immediately after the molotov_give command was used.

This task depends upon

Closed by  Andy (DynamicBits)
Thursday, 27 November 2008, 08:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  In the past month, I have seen no evidence that this is not fixed.
Comment by Andy (DynamicBits) - Saturday, 11 October 2008, 22:55 GMT
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /home/cstrike/cstrike.dynamicbits.com/flyspray/includes/class.tpl.php on line 552

It looks like the timing of molotov_give was coincidental. This particular crash was probably the standard crash that has been observed for a while now. I believe the general crashing problem may be fixed once and for all, because:

  1. molotov_give was fixed (As of 3.20RC2)
  2. All tasks are now properly reset in event_new_round (As of 3.20RC3)

Loading...