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

[SOLVED][CS:GO] Segmentation Fault


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
valio_skull
Senior Member
Join Date: Jan 2013
Location: at home
Old 01-01-2016 , 13:14   [SOLVED][CS:GO] Segmentation Fault
Reply With Quote #1

Hello, my server worked fine until it started crashing and I don't know why...
PHP Code:
Segmentation fault
Add 
"-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Fri Jan 1 18
:29:08 EET 2016Server restart in 10 seconds 
It usually crashes when I'm terrorist (furien, this is a furien mod server) and I get killed by a CT with an weapon...
Metamod:
PHP Code:
meta list
  [
01SourceMod (1.7.3-dev+5272by AlliedModders LLC
  
[02CS Tools (1.7.3-dev+5272by AlliedModders LLC
  
[03SDK Tools (1.7.3-dev+5272by AlliedModders LLC
  
[04SDK Hooks (1.7.3-dev+5272by AlliedModders LLC
meta version
Metamod
:Source version 1.10.7-dev
Compiled on
Sep 10 2015
Plugin 
interface version15:14
SourceHook version
5:5
http
://www.metamodsource.net/
meta
Metamod
:Source Menu
usage
meta <command>
  
credits About Metamod:Source
  
list    - List plugins
  version 
Version information 
Sourcemod:
PHP Code:
SourceMod 1.7.3-dev+5272by AlliedModders LLC
To see running plugins
type "sm plugins"
To see creditstype "sm credits"
Visit http://www.sourcemod.net/ 
It worked fine until last time when I updated some plugins and added new ones.
I renamed "addons" folder into "addons_old" and it doesn't crash anymore.
Can someone explain what exactly "Segmentation Fault" is and what can cause it ? So I'll know what part of the plugins I modified did that. Thanks!
__________________

Last edited by valio_skull; 01-03-2016 at 06:08. Reason: solved
valio_skull is offline
Deathknife
Senior Member
Join Date: Aug 2014
Old 01-01-2016 , 14:20   Re: [CS:GO] Segmentation Fault
Reply With Quote #2

You should list your plugins as well (sm plugins).
I know memory leaks can cause Segmentation fault, perhaps any unclosed handles etc.

Last edited by Deathknife; 01-01-2016 at 14:21. Reason: typo
Deathknife is offline
valio_skull
Senior Member
Join Date: Jan 2013
Location: at home
Old 01-02-2016 , 05:29   Re: [CS:GO] Segmentation Fault
Reply With Quote #3

Quote:
Originally Posted by Deathknife View Post
You should list your plugins as well (sm plugins).
I know memory leaks can cause Segmentation fault, perhaps any unclosed handles etc.
Every single plugin is edited by me, so I don't see how that could help you.
Note that it worked before with the same plugins, but I just edited some of them.
I want to know what does "Segmentation Fault" means so I'll know what causes it from my plugins.
Hmm...unclosed handles...that sucks, I'll try to find what is wrong with my plugins. BUT the error says something about debug, can I actually stop the automatic restart to see what's happening ?
__________________
valio_skull is offline
4bdul
AlliedModders Donor
Join Date: Dec 2011
Location: United Kingdom
Old 01-02-2016 , 07:09   Re: [CS:GO] Segmentation Fault
Reply With Quote #4

Use this: https://forums.alliedmods.net/showthread.php?t=146644

And post your crash report.
__________________
4bdul is offline
valio_skull
Senior Member
Join Date: Jan 2013
Location: at home
Old 01-02-2016 , 12:59   Re: [CS:GO] Segmentation Fault
Reply With Quote #5

Quote:
Originally Posted by 4bdul View Post
Use this: https://forums.alliedmods.net/showthread.php?t=146644

And post your crash report.
PHP Code:
Wrote minidump to: /home/z2zmaddoxx/188.212.106.29-27015/cs_go/csgo/addons/sourcemod/data/dumps/517a5524-16b0-9843-7407bbef-50945716.dmp
Segmentation fault
Add 
"-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat Jan 2 19
:38:54 EET 2016Server restart in 10 seconds 
BUT the "dumps" folder is empty...lol wtf !?
__________________
valio_skull is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-02-2016 , 13:39   Re: [CS:GO] Segmentation Fault
Reply With Quote #6

The crash will have been uploaded to Throttle after the server was restarted - assuming you followed the instructions and set your SteamID, login to crash.limetech.org and find it on your dashboard.
__________________
asherkin is offline
valio_skull
Senior Member
Join Date: Jan 2013
Location: at home
Old 01-02-2016 , 14:35   Re: [CS:GO] Segmentation Fault
Reply With Quote #7

Quote:
Originally Posted by asherkin View Post
The crash will have been uploaded to Throttle after the server was restarted - assuming you followed the instructions and set your SteamID, login to crash.limetech.org and find it on your dashboard.
PHP Code:
/**
 * This file is used to set various options that are important to SourceMod's core.
 * If this file is missing or an option in this file is missing, then the default values will be used.
 */
"Core"
{
    
/**
     * This option determines if SourceMod logging is enabled.
     *
     * "on"        - Logging is enabled (default)
     * "off"    - Logging is disabled
     */
    
"Logging"        "on"
    
    
/**
     * This option determines how SourceMod logging should be handled.
     *
     * "daily"    - New log file is created for each day (default)
     * "map"    - New log file is created for each map change
     * "game"    - Use game's log files
     */
    
"LogMode"        "daily"
    
    
/**
     * Language that multilingual enabled plugins and extensions will use to print messages.
     * Only languages listed in languages.cfg are valid.
     *
     * The default value is "en"
     */
    
"ServerLang"    "en"
    
    
/**
     * String to use as the public chat trigger.  Set an empty string to disable.
     */
    
"PublicChatTrigger"        "!"
    
    
/**
     * String to use as the silent chat trigger.  Set an empty string to disable.
     */
    
"SilentChatTrigger"        "/"
    
    
/**
     * If a say command is a silent chat trigger, and is used by an admin, 
     * but it does not evaluate to an actual command, it will be displayed 
     * publicly.  This setting allows you to suppress accidental typings.
     *
     * The default value is "no".  A value of "yes" will supress.
     */
    
"SilentFailSuppress"    "no"
    
    
/**
     * Password setinfo key that clients must set.  You must change this in order for
     * passwords to work, for security reasons.
     */
    
"PassInfoVar"            "_password"
    
    
/**
     * Specifies the sound that gets played when an item is selected from a menu.
     */
    
"MenuItemSound"            "buttons/button14.wav"

    
/**
     * Specifies the sound that gets played when an "Exit" button is selected 
     * from a menu.
     */
    
"MenuExitSound"            "buttons/combine_button7.wav"
    
    
/**
     * Specifies the sound that gets played when an "Exit Back" button is selected 
     * from a menu.  This is the special "Back" button that is intended to roll back
     * to a previous menu.
     */
    
"MenuExitBackSound"        "buttons/combine_button7.wav"

    
/**
     * Enables or disables whether SourceMod reads a client's cl_language cvar to set 
     * their language for server-side phrase translation.
     *
     * "on"        - Translate using the client's language (default)
     * "off"    - Translate using default server's language
     */
    
"AllowClLanguageVar"        "On"

    
/**
     * Enables or Disables SourceMod's automatic gamedata updating.
     *
     * The default value is "no". A value of "yes" will block the Auto Updater.
     */
    
"DisableAutoUpdate"            "no"

    
/**
     * If set to yes, a successful gamedata update will attempt to restart SourceMod.
     * SourceMod is unloaded and reloaded, and the map is changed to the current map.
     * Since gamedata updates occur when the server loads, impact should be minimal.
     * But to be safe, this option is disabled by default.
     */
    
"ForceRestartAfterUpdate"    "no"

    
/**
     * URL to use for retrieving update information.
     * SSL is not yet supported.
     */
    
"AutoUpdateURL"                "http://update.sourcemod.net/update/"

    
/**
     * Whether to show debug spew.  
     * Currently this will log details about the gamedata updating process.
     */
    
"DebugSpew"                    "no"
    
    
/**
     * If set to yes, SourceMod will validate steamid auth strings with the Steam backend before giving out admin access.
     * This can prevent malicious users from impersonating admins with stolen Steam apptickets.
     * If Steam is down, admins will not be authenticated until Steam comes back up.
     * This option increases the security of your server, but is still experimental.
     */
    
"SteamAuthstringValidation"    "yes"
    
    
/**
     * Enables or disables whether SourceMod blocks known or potentially malicious plugins from loading.
     * It is STRONGLY advised that this is left enabled, there have been cases in the past with plugins that
     * allow anyone to delete files on the server, gain full rcon control, etc.
     *
     * "yes"    - Block malware or illegal plugins from loading (default)
     * "no"        - Warn about malware or illegal plugins loading
     */
    
"BlockBadPlugins"    "yes"

    
/**
     * If a plugin takes too long to execute, hanging or freezing the game server in the process, 
     * SourceMod will attempt to terminate that plugin after the specified timeout length has
     * passed. You can disable this feature by setting the value to "0".
     */
    
"SlowScriptTimeout"    "8"
    "MinidumpAccount"    "STEAM_0:0:88987967"

That's my core.cfg, what is wrong with it ? I don't see any crash
__________________
valio_skull is offline
valio_skull
Senior Member
Join Date: Jan 2013
Location: at home
Old 01-03-2016 , 06:10   Re: [SOLVED][CS:GO] Segmentation Fault
Reply With Quote #8

-SOLVED-
I placed the last backup, replaced my last plugins and tested it with a bot.
Segmentation Fault does no longer appear.
Thanks for all your replies
__________________
valio_skull 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 11:59.


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