Raised This Month: $51 Target: $400
 12% 

some errors after changing fm > engine


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
diamond-optic
Veteran Member
Join Date: May 2005
Old 08-02-2009 , 17:03   some errors after changing fm > engine
Reply With Quote #1

well in light of all the profiling results of engine being slightly faster then fm in most cases, I decided to spend some of my free time changing some of my plugins over from using fakemeta to using engine instead

only problem is now ive been getting quite the increase in crashes (was usually once every few days or so.. to several times a day)

and i wouldnt consider myself a noob when it comes to writing plugins so its not like i didnt really know what i was doing (ive used fm and engine for years, just more often then not i mainly used fm) so im not really sure if its just caused by me screwing something up or what.. Ive gone back thru the plugins i changed, line by line, and cant find anything that looks wrong at all

been getting this (in some cases every 15minutes or so):
Quote:
./hlds_run: line 342: 31964 Segmentation fault $HL_CMD
which from what i gathered, there isnt really much to go on for narrowing the cause of that down...


but this is a new one i dont recall ever seeing up till now:
Quote:
FATAL ERROR (shutting down): Cache_TryAlloc: 3981024 is greater then free hunk
this one seems to happen after the server has been on the same map for a couple hours without changing... dont recall it ever happening before tho, even if the same map was played for 6+ hrs

any ideas? anything that i should be 'careful' about doing thru engine? not sure if maybe i should put the fm versions of these plugins back on and see if it goes back to normal
__________________

Last edited by diamond-optic; 08-02-2009 at 17:06.
diamond-optic is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-02-2009 , 17:31   Re: some errors after changing fm > engine
Reply With Quote #2

I don't think it's because of engine but more how you use it. Is it possible to see one your plugins fm/engine which you are sure it crashes ?
__________________
Arkshine is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 08-02-2009 , 17:36   Re: some errors after changing fm > engine
Reply With Quote #3

Cache_TryAlloc You have to update your server with HLDSUpdateTool.

Good Bye
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
diamond-optic
Veteran Member
Join Date: May 2005
Old 08-02-2009 , 18:32   Re: some errors after changing fm > engine
Reply With Quote #4

Quote:
Originally Posted by AntiBots View Post
Cache_TryAlloc You have to update your server with HLDSUpdateTool.
i havent seen anything about any hl1 engine updates over the past week or two since the last time i ran the update tool.. but ill give it a shot later tonight, cant really hurt to do it i guess


Quote:
Originally Posted by Arkshine View Post
I don't think it's because of engine but more how you use it. Is it possible to see one your plugins fm/engine which you are sure it crashes ?

sure, attached both versions of a plugin that when i switched back to the fm backup copy it stopped crashing every 15 minutes or so.. Not even a really complex plugin either... (the engine version still uses fakemeta for the get/set pdata natives)

and for the most part, the other plugins that i had changed over up till now werent any more complex then this one.. Just real basic, simple changes...
Attached Files
File Type: sma Get Plugin or Get Source (dod_midclip_reload_engine.sma - 606 views - 3.3 KB)
File Type: sma Get Plugin or Get Source (dod_midclip_reload_fm-backup.sma - 598 views - 3.2 KB)
__________________

Last edited by diamond-optic; 08-02-2009 at 18:46.
diamond-optic is offline
DA
Veteran Member
Join Date: Nov 2005
Location: Germany/Münster
Old 08-03-2009 , 09:17   Re: some errors after changing fm > engine
Reply With Quote #5

I've noticed those errors too after I changed some things to engine...
__________________
DA is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-26-2009 , 00:27   Re: some errors after changing fm > engine
Reply With Quote #6

Sorry to bump this, but I've noticed it too. I'm going to look into the engine code sometime and see if I can find any problems with it. In the mean time, I'm going to try FM.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 08-26-2009 , 01:08   Re: some errors after changing fm > engine
Reply With Quote #7

Hawk, who made YOU king of the internet?
Styles is offline
Send a message via AIM to Styles
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-26-2009 , 01:43   Re: some errors after changing fm > engine
Reply With Quote #8

Quote:
Originally Posted by styles View Post
Hawk, who made YOU king of the internet?
what
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 03:39.


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