View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-08-2014 , 17:22   Re: SourceMod 1.6 released!
#55

I'm seeing some weird errors popping up with SM 1.6. For instance, I just saw this:

PHP Code:
L 07/08/2014 16:19:04: [SMPlugin encountered error 10Invalid instruction
L 07
/08/2014 16:19:04: [SMDisplaying call stack trace for plugin "prophunt.smx":
L 07/08/2014 16:19:04: [SM]   [0]  Line 932C:\Projects\SourceMod\plugins\prophunt\addons\sourcemod\scripting\prophunt.sp::ForceSwitchTeams() 
Line 932 is this:

Code:
	if (ShouldSwitchTeams())
which is a method call that returns a bool defined slightly farther down.

I should probably note that this is in a DHooks GameRules callback, since I've been seeing issues with DHooks GameRules callbacks crashing the server on shutdown.

Edit: Also seeing Invalid Memory Access periodically pop up also on function calls.

I shouldn't have to mention that these were working fine under SM 1.5.4's last builds.

Edit 2: This seemed to start when I set "DisableJIT" "yes" in core.cfg when trying to trace down issues with DHooks and forgot to switch it back.

Moral of the story?
Don't set DisableJIT "yes"
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-11-2014 at 16:46.
Powerlord is offline