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

Crash & Accelerator Log


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kriax
Senior Member
Join Date: Apr 2012
Old 02-27-2015 , 09:28   Crash & Accelerator Log
Reply With Quote #1

Hello,

I updated one of my plugins and I crash ...
When I slay my server crash for no reason, I coded and recoded my plugin but I always come to the same points.

The problem is that giving the source is complicated. My plug is flexible and extends 18 SMX file.

I can not find the cause of the crash, so I look for something that could save the result.
I discovered Accelerator and so I install and I not really understand what that mean, https://crash.limetech.org/fyk7ynj2fxm3

Any idea?

Thank you.

Last edited by Kriax; 02-27-2015 at 09:28.
Kriax is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 02-27-2015 , 10:36   Re: Crash & Accelerator Log
Reply With Quote #2

Get the source of the version of sm you're running and take a look at the particular code the trace is pointing you to. Best would be to update sm so you don't have to browse the repo's history.
Also:
When does the crash occur? What does your plugin do at that point? Plus, source of said plugin?
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.

Last edited by Dr. Greg House; 02-27-2015 at 10:36.
Dr. Greg House is offline
Kriax
Senior Member
Join Date: Apr 2012
Old 02-27-2015 , 11:23   Re: Crash & Accelerator Log
Reply With Quote #3

I also thought that it came from SM but not, I put 1.6.4, 1.6.3 and 1.6.2 and I crash anyway ..
I conducted several test, the crash will do when the round ends.

In this code:

Code:
public Event_RoundEnd(Handle:event, const String:name[], bool:dontBroadcast)
{
   FlashTimer_RoundEnd ();

   g_bRoundStart = false;
   g_bRoundEnd = true;

   g_Murder = g_Accomplice = g_Cop = -1;

   if (g_iRound> = g_iConfig [CONFIG_MAX_ROUND])
         CreateTimer (4.0, Timer_ChangeMap)

   for (new i = 1; i <= MaxClients; i ++)
        if (Client_IsValid (i))
             g_Score [i] = Murder_GetClientScore (i);
}
I do not understand too where have the problem.
I as a conflict between two plugins .. I'm deactivate / reactivate all my plugins bah it cracheras in several conditions.

There are no means to accurately log the error that crash do?
Kriax is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 02-27-2015 , 11:37   Re: Crash & Accelerator Log
Reply With Quote #4

Quote:
Originally Posted by Kriax View Post
I also thought that it came from SM but not[...]
That's not what I said.
I said that you need to follow the stack trace to find out where SM crashes/what you're doing wrong in your plugin.
Also, idk if you actually want help. While you posted some code, it seems to call other stuff you're not showing us on two occasions. That way, no one can do the work for you.
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.

Last edited by Dr. Greg House; 02-27-2015 at 11:38.
Dr. Greg House 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 20:15.


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