PDA

View Full Version : /hlds_run: line 321: 7373 Segmentation fault $HL_CMD


chp'
04-27-2009, 20:39
Can you explain or help me solve this? :|

8088
04-28-2009, 21:07
That's not much information you're giving.

Try updating HLDS. Make sure you're running Metamod's latest version (which currently is 1.19). Add -debug to your start up line and search on Google with some keywords from the debug log.

chp'
04-28-2009, 22:29
That's not much information you're giving.

Try updating HLDS. Make sure you're running Metamod's latest version (which currently is 1.19). Add -debug to your start up line and search on Google with some keywords from the debug log.

Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 18:05:14 Oct 24 2008 (4383)

AMXX 1.8.1.3746
MM v1.19p32

When I used these and it never happened, I noticed that started after the last update of STEAM.

pegro
05-11-2009, 08:10
same here

./hlds_run: line 321: 4260 Segmentation fault $HL_CMD

xPaw
05-15-2009, 11:52
I am having this problem too :\

./hlds_run: line 321: 3219 Segmentation fault $HL_CMD

----------------------------------------------
CRASH: Fri May 15 17:42:38 CEST 2009
Start Line: ./hlds_amd -game cstrike -pingboost 2 -tos -noixp +maxplayers 32 +map deathrun_insane +port 27038
----------------------------------------------
does anyone knows how to solve that?

last hlds update, last amxx and metamod...

Junka
05-15-2009, 13:42
Latest HLDS update caused that, try with Debian or Ubuntu OS.

chp'
05-15-2009, 18:21
Even using Debian still having this problem.

=(

Junka
05-15-2009, 19:05
Oh crap, did you try to disable metamod?

Or try using MM v1.19 and not 1.19p

chp'
05-15-2009, 19:15
Even without metamod turned the problem still persists, already tested with both Metamods.


Previously after a crash the server restart normally, it always happens now. :down:

bluechester
05-15-2009, 22:23
same here. my server crashes all the time when i got alot of people on. which makes me said D:

Junka
05-16-2009, 05:39
Hmm, did you try to delete all executables in hlds_l folder (or however you named it) and ran hldsupdatetool?

chp'
05-16-2009, 13:26
Ja erased everything and did a new installation using hldsupdatetool and still the problem persists, I noticed that this problem only happens with people running on LINUX.

TwinRraZzorR
05-16-2009, 16:16
some tips are on this page
http://www.unknownworlds.com/forums/lofiversion/index.php/t60422.html
hope it's helpful !

P4rD0nM3
05-19-2009, 15:41
I'm also having that problem with the latest update. I guess...-autoupdate has it problems sometimes.

zilakz
05-27-2009, 12:13
Hello

I have been having these problems as well on my with with diffrent segmentation error.

I noticed that my auto amxmodx installer from my server provider missed to give out information about plugins.ini located in the metamod folder.
Make sure you have done this step!

http://wiki.amxmodx.org/Installing_AMX_Mod_X_Manually#Configure

And set the comamnds:
for windows:
win32 addons/amxmodx/dlls/amxmodx_mm.dll
or for linux:
linux addons/amxmodx/dlls/amxmodx_mm_i386.so

If you dont know if your server provider host a linux or windows server ASK THEM! its very important you get it right!

mine had the sign ";" in front of the line, after removing the sign ";" in front of the line, the segment error dissapeard.
I'm gonng test run my server now and update this thread if my server still goes down and do weird things.

Question:
Can AmxModx run without metamod?
maybe on another mod that maybe is more adapet for linux servers, since i heard the segment problems are mostly happening on linux servers.

just asking.

EDIT!!!!
These segment errors is caused my haveing amxmodx installed i figured out.
I'm nost sure if its bound to AMXmodX or just simply the metamod plugin itself.
If this dont help do this:

1. Remove everything and ask for a fresh install without metamod and amx enabled and see if you get the error (possebly not)
2. Install Metamod "ONLY". (See if the error comes up.)
3. install maxmodX with metamod allready installed.

If the problem comes up at point 1, the its your server provider fault.
If the problem comes up at point 2, its metamod who causes it.
and if it's point 3, its AMX.

IMPORTANT!
Before going to step 2 run the server atleast 24H, same when your on step 3 befor going to step 4.

The segment errors seams to come at random time's.
So make sure 100% you are sure its not caused by point 1 or 2 before moving on to point 3!

(post your results)

P4rD0nM3
05-30-2009, 19:05
Hey if you look at the error it says on line 312.

This is what's on 321...

run() {
# Runs the steam update and server
# Loops if RESTART is set
# Debugs if server failure is detected
# Note: if RESTART is not set then
# 1. DEBUG is set then the server is NOT exec'd
# 2. DEBUG is not set the the server is exec'd

if test -n "$RESTART" ; then
echo "Auto-restarting the server on crash"

#loop forever
while true
do
# Update if needed
update

# Run the server
$HL_CMD
retval=$?
if test $retval -eq 0 && test -z "$AUTO_UPDATE"; then
break; # if 0 is returned then just quit
fi

debugcore $retval

echo "`date`: Server restart in $TIMEOUT seconds"

# don't thrash the hard disk if the server dies, wait a little
sleep $TIMEOUT
done # while true
else
# Update if needed
update

# Run the server
if test "$DEBUG" -eq 0; then
# debug not requested we can exec
exec $HL_CMD
else
# debug requested we can't exec
$HL_CMD
debugcore $?
fi
fi
}


If you delete steam in yoru dir it'll solve it. But then you have to manually update your servers from now on.

This only happens on my KZ, Surf, Scoutzknivez servers...

zilakz
05-31-2009, 14:34
intressting.
Found thise amusing tho:
"Don't thrash the hard disk if the server dies, wait a little
sleep $TIMEOUT"

chp'
06-18-2009, 19:19
Someone who has Linux servers running CS could tell me which distribution and version of linux are using?


Linux version 2.6.18-6-amd64 (Debian 2.6.18.dfsg.1-24etch2) ([email protected]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Tue May 5 08:01:28 UTC 2009
I made several attempts, reinstall everything and still the error still happening, even without metamod and amxmodX the error still happens.

A temporary solution was put "-debug" at the boot server, but this is not a pleasant solution.

What is CS server on linux without problem like this?


/hlds_run: line 321: 7373 Segmentation fault $HL_CMD
This problem only happens when the server fails or and restarted.

fang
06-19-2009, 13:21
Had this issue as well. Delete all the maps in your maps folder and re-use hldsupdatetool. If that doesn't fix you might have to just reinstall the server :|

Mlk27
06-19-2009, 19:33
Looks like to me that this only happen to Linux hlds..

vittu
06-26-2009, 01:50
This may help some of you, if you're running a 64Bit system and Debian:
http://forums.steampowered.com/forums/showpost.php?p=10309782&postcount=2


Don't know if it will fix the issue but might be worth a try...

chp'
06-26-2009, 11:58
I tried but not worked with me, if someone can post here telling.

B3n
06-28-2009, 18:43
I used to have this problem. I disabled my bots (Pod Bot MM) and now it doesn't happen.

Ejziponken
06-30-2009, 09:11
Hey, do you use Deathrun by any chance? I do and xPawn do and we both have the problem..

chp'
06-30-2009, 15:07
This problem is happening on all my servers.

BioHazard
DeathRun
GunGame
DeathMatch

Ejziponken
06-30-2009, 15:59
This problem is happening on all my servers.

BioHazard
DeathRun
GunGame
DeathMatch




Any plugins you use on all those servers?

chp'
06-30-2009, 18:22
Independent of the server plugin has always displays the error.

Ejziponken
07-01-2009, 19:12
did the new steamupdate help? :P

Steam Client


Add D3D9Ex support for the in-game overlay (for ArmA 2)
Fix unneeded assert/mdmp creation when Steam connection falls back to TCP
Fix lobbies/chats trying to update metadata while disconnected from Steam servers
View available downloadable content link on game's DLC tab now goes to game's DLC page in store
Fix a potential memory leak with lots of friends notifications being triggered while a full screen window has covered the desktop
Add a limit of queued friends notifications to show of no more than sixteen
Fix a potential case of dropping input events in the in-game overlay
Improved overlay compatibility with OSD from recent versions of RivaTuner
Fixed Cloud sync issues when in offline mode
Fixed filtering by a mod in the server browser making it unable to retrieve servers from the master server

8088
07-01-2009, 21:49
How would a client update help solving issues with a server?

One
09-28-2009, 17:40
lol the same problem & nothing here can help me out :))

could anyone solve this shit?

KadiR
09-29-2009, 03:15
post your plugins.ini

One
09-29-2009, 07:02
huh? my mplugins.ini ? i just ask why? without metamod is the same error there oO or you mean my amx ini ? =))

here you got both. + liblist
game "Counter-Strike"
url_info "www.counter-strike.net"
url_dl ""
version "1.6"
size "184000000"
svonly "0"
secure "1"
type "multiplayer_only"
cldll "1"
hlversion "1111"
nomodels "1"
nohimodel "1"
mpentity "info_player_start"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"
trainmap "tr_1"
metamod
linux addons/amxmodx/dlls/amxmodx_mm_i386.soamxx
galileo.amxx
new_style_rank.amxx
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
;imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
nextmap.amxx ; displays next map in mapcycle
;mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
miscstats.amxx ; bunch of events announcement for Counter-Strike
stats_logging.amxx ; weapons stats logging (CSX Module required!)
amxmod_compat.amxx ; AMX Mod backwards compatibility layer
playerinfo.amxx ; zeigt info vom spieler an
Ts.amxx ; teamspeak verbiender
allchat.amxx ; all chat
loading_music2.amxx ; mukke laden @ connect
dontsayips.amxx ; keine werbung
advanced_spec.amxx ; say /spec
unlimited_money.amxx ; unlimited geld
mutemenu.amxx ; mute
maprank2time.amxx ; vote for map
randomskies.amxx ; zufall himmels
jedigrab.amxx ; Grab
sank_sounds.amxx ; Sank sounds
magic_marker.amxx ; Paint
IconsColorChanger.amxx ; Icons farben
in_game_ads.amxx debug ; werbung
Vexd_Disco.amxx ; disco& there are more plugins. example plugins-de_dust2.ini
amx_super.amxx ; amxsuper
droppedbombdefuse.amxx ; defusing the dropped bomb
customflashlight.amxx ; farbige taschenlampe
fallschirm.amxx ; fallschirm
realnadedrops.amxx ; granaten droppen
grenade_trail.amxx ; trail von granatten
GHW_Weapon_Replacement.amxx ; weapon model replacer
eim.amxx ; Heilen
sillyc4.amxx ; silly bomb
flashbang_remote_control.amxx ; no teamflash
sniperlimit.amxx ; limit awppost your plugins.ini

so you see its not a problem of metamod or somthing else. VALVE SUX

or you need server.cfg too ? :D

KadiR
09-29-2009, 13:18
I used new_style_rank.amxx & the HL error came, I disabled it.., now my server runs clearly, try to disabling & test it..

One
09-29-2009, 15:07
I used new_style_rank.amxx & the HL error came, I disabled it.., now my server runs clearly, try to disabling & test it..
//new_style_rank.amxx

ok let we try :P

One
09-29-2009, 18:08
haha

L 09/30/2009 - 00:05:09: World triggered "Round_Start"
L 09/30/2009 - 00:05:36: Server cvar "amx_nextmap" = "fy_poolparty"
L 09/30/2009 - 00:05:38: Server cvar "mp_timelimit" = "14.999999"
Database pruning successful, data older than 30 days was removed
./hlds_run: line 321: 21762 Segmentation fault $HL_CMD

KadiR
09-30-2009, 13:44
find out yourself by enabling them one at a time.

One
09-30-2009, 15:32
find out yourself by enabling them one at a time.
same problem without metamod too oO 4get my plugins. steams problem & not any mods

One
10-02-2009, 17:06
run() {
# Runs the steam update and server
# Loops if RESTART is set
# Debugs if server failure is detected
# Note: if RESTART is not set then
# 1. DEBUG is set then the server is NOT exec'd
# 2. DEBUG is not set the the server is exec'd

if test -n "$RESTART" ; then
echo "Auto-restarting the server on crash"

#loop forever
while true
do
# Update if needed
update

# Run the server
$HL_CMD
retval=$?
if test $retval -eq 0 && test -z "$AUTO_UPDATE"; then
break; # if 0 is returned then just quit
fi

debugcore $retval

echo "`date`: Server restart in $TIMEOUT seconds"

# don't thrash the hard disk if the server dies, wait a little
sleep $TIMEOUT
done # while true
else
# Update if needed
update

# Run the server
if test "$DEBUG" -eq 0; then
# debug not requested we can exec
exec $HL_CMD
else
# debug requested we can't exec
$HL_CMD
debugcore $?
fi
fi
}


so has anyone any ideas how to fix this ? there must be any lines which crashs the server.

One
10-17-2009, 20:32
just wanted to report that there is a new error :P

Database pruning successful, data older than 30 days was removed
./hlds_run: line 321: 8570 Segmentation fault $HL_CMD
./hlds_run: line 189: debug.cmds: Permission denied
./hlds_run: line 190: debug.cmds: Permission denied
./hlds_run: line 191: debug.cmds: Permission denied
./hlds_run: line 192: debug.cmds: Permission denied
./hlds_run: line 193: debug.log: Permission denied
./hlds_run: line 194: debug.log: Permission denied
./hlds_run: line 195: debug.log: Permission denied

X-5173
10-17-2009, 22:01
I'm having the same line 321 segmentation fault problem... server doesn't auto restart.
Using debian 2.6.26-2-686-bigmem kernel.

bluechester
10-19-2009, 01:04
I'm having the same line 321 segmentation fault problem... server doesn't auto restart.
Using debian 2.6.26-2-686-bigmem kernel.
Running ubuntu 9.04, the reason I chose it is because I never get segmentation faults on it. Never, the server restarts on crash flawlessly.

Thrill
11-16-2009, 14:07
segment fault 24/7 here too, wont auto-restart at all, have to manually restart my server each time, it's extremely annoying... -.-

KadiR
11-29-2009, 11:36
Has someone got a solution? :(

X-5173
11-30-2009, 21:53
From what I've heard on other forums try using this in hlds_run:
DEBUG=""

didn't try it because I stopped having these problems after using this script (http://forums.alliedmods.net/showthread.php?p=823941#post823941).

valtin
01-27-2010, 20:03
if this problem is not solved yet .. i try to help.
If you are using firewall and running your server on linux, try to open with tail -f /var/log/messages the start the server, lock at the tail and see what ports are blocked, put them to tpc/udp in - out .
Problem:
Hlds trying to update and have no acces to the ports, then results the error.
After a week with this error i find this problem and solved in this way :)

I hope that was helpful.
Sorry for my bad bad english hope you understand :).

One
01-28-2010, 14:56
if this problem is not solved yet .. i try to help.
If you are using firewall and running your server on linux, try to open with tail -f /var/log/messages the start the server, lock at the tail and see what ports are blocked, put them to tpc/udp in - out .
Problem:
Hlds trying to update and have no acces to the ports, then results the error.
After a week with this error i find this problem and solved in this way :)

I hope that was helpful.
Sorry for my bad bad english hope you understand :).
lol?
all ports are free on my root. so asked my provider too and the same. forget it. it has nothing to do with ports.

[DE]

chat verlauf :

irgendwie ergibt das keinen sinn oder?

^bnL . 20:51:12
doch

kann schon stimmen

One . 20:51:30

sind die ports net alle frei ?

^bnL . 20:51:39

bei uns schon


Patrick 20:51:44

joa sind alle


One . 20:51:54

weil bei mir sind zb. alle ports automatisch frei ( ubuntu )


Patrick 20:51:51

macht wohl irgendwas falsch :p


One 20:52:12

na ok dann das stimmt net


Patrick 20:53:28

^^

mut2nt
01-28-2010, 17:59
So...what is the solution for this error? i don't want that script.. anyone?

wariorman
01-29-2010, 05:08
that aint a script -__-

KadiR
01-30-2010, 13:53
I am getting this error sometimes:

./hlds_run: line 321: 25984 Segmentation fault $HL_CMD


It also doesn't restart my server, when autoupdate is on..
And I've got it at:

DEBUG=""

xPaw
01-31-2010, 04:12
It's just server crash, it just writes error messages because it can't continue running... It's not something "specific"

wariorman
01-31-2010, 04:24
yes, try to see some plugins if they r the fault

KadiR
01-31-2010, 06:11
It's just server crash, it just writes error messages because it can't continue running... It's not something "specific"

And how did you fix it?

@ wariorman:

It happens also without Metamod!:|

One
01-31-2010, 06:52
idk why the server will crash but as i postet in our forum ( gameserver provider forum ) i got many feedbacks that this works with debug="" and our customers have no crashes anymore.
i mean you could just test it, if this not helps, just do make a backup of the file and upload it again.


FILE TO EDIT = HLDS_RUN

SpokY
01-31-2010, 06:59
i hate this fu**** problem...
my provider says reinstall your root-server its a os mistake.. so we must reinstall our root-server -.-
but what is the best?
Linux Debian 5.0 32 (32 Bit)
or
Linux Debian 5.0 64 (64 Bit)...

One
01-31-2010, 07:09
haha use 64 bit. but you can just install 32 bit servers :P i cant remember to saw a 64 bit steam server.

bluechester
02-05-2010, 01:03
i hate this fu**** problem...
my provider says reinstall your root-server its a os mistake.. so we must reinstall our root-server -.-
but what is the best?
Linux Debian 5.0 32 (32 Bit)
or
Linux Debian 5.0 64 (64 Bit)...

There is actually no difference once you install 32libs on the 64bit OS. But I would go with 32bit to be stable, but it all depends on your hardware. If you have more than 10 gigs of ram, then go with 64bit.

SpokY
02-06-2010, 21:28
year but i have install 64 bit now.. runs perfectly from the performenc but this shit error... dont fixed never.. hate this -.-"
steam must fix that let us spam to steam support :D

P4rD0nM3
02-06-2010, 21:59
It's not a Steam issue, it's a HLDS issue.

KadiR
02-07-2010, 05:35
It's not a Steam issue, it's a HLDS issue.

Steam can still fix that issue.

SpokY
02-11-2010, 13:13
but why there dont do it o0...
i have told it now to steam..

-=3JIou-TaTaPuH=-
02-12-2010, 09:51
idk why the server will crash but as i postet in our forum ( gameserver provider forum ) i got many feedbacks that this works with debug="" and our customers have no crashes anymore.
i mean you could just test it, if this not helps, just do make a backup of the file and upload it again.

Where I should put debug="" ???? could U explain step by step plz

KadiR
02-12-2010, 11:06
Where I should put debug="" ???? could U explain step by step plz

This still doesn't work for this issue, it has todo with the AutoStart of the server, so you're in a wrong topic.

@ SpokY:

Please tell us if you got any useful answer.:wink:

SpokY
02-12-2010, 13:02
@KadiR
yes, of course. ;)

but thats new on hlds -.-"

f41c8000-f41d1000 r-xp 00000000 08:02 39157768 /emul/ia32-linux/lib/libnss_files-2.7.so
f41d1000-f41d3000 rwxp 00008000 08:02 39157768 /emul/ia32-linux/lib/libnss_files-2.7.so
f41d3000-f4210000 r-xp 00000000 08:02 30640584 /root/gameserver/Rats/libtier0_s.so
f4210000-f4212000 rwxp 0003c000 08:02 30640584 /root/gameserver/Rats/libtier0_s.so
f4212000-f4219000 rwxp f4212000 00:00 0
f4219000-f4944000 r-xp 00000000 08:02 30640588 /root/gameserver/Rats/steamclient.so
f4944000-f495f000 rwxp 0072a000 08:02 30640588 /root/gameserver/Rats/steamclient.so
f495f000-f4982000 rwxp f495f000 00:00 0
f4982000-f4985000 rwxp f4982000 00:00 0
f4985000-f4986000 ---p f4985000 00:00 0
f4986000-f5186000 rwxp f4986000 00:00 0
f5186000-f518b000 rwxp f5186000 00:00 0
f518b000-f5197000 r-xp 00000000 08:02 39158054 /emul/ia32-linux/usr/lib/libgcc_s.so.1
f5197000-f5198000 rwxp 0000b000 08:02 39158054 /emul/ia32-linux/usr/lib/libgcc_s.so.1
f5198000-f51a0000 rwxp f5198000 00:00 0
f51a0000-f51aa000 r-xp 00000000 08:02 30802220 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/csx_amxx_i386.so
f51aa000-f51ab000 rwxp 0000a000 08:02 30802220 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/csx_amxx_i386.so
f51ab000-f5214000 rwxp f51ab000 00:00 0
f5214000-f521e000 r-xp 00000000 08:02 30802219 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so
f521e000-f521f000 rwxp 0000a000 08:02 30802219 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so
f521f000-f5220000 rwxp f521f000 00:00 0
f5220000-f5268000 r-xp 00000000 08:02 30802222 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so
f5268000-f5269000 rwxp 00047000 08:02 30802222 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so
f5269000-f526d000 rwxp f5269000 00:00 0
f526d000-f527e000 r-xp 00000000 08:02 30802221 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/engine_amxx_i386.so
f527e000-f527f000 rwxp 00010000 08:02 30802221 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/engine_amxx_i386.so
f527f000-f5281000 rwxp f527f000 00:00 0
f5281000-f5287000 r-xp 00000000 08:02 30802223 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/fun_amxx_i386.so
f5287000-f5288000 rwxp 00005000 08:02 30802223 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/fun_amxx_i386.so
f5288000-f5289000 rwxp f5288000 00:00 0
f5289000-f535a000 r-xp 00000000 08:02 30802226 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/mysql_amxx_i386.so
f535a000-f546a000 rwxp 000d1000 08:02 30802226 /root/gameserver/Rats/cstrike/addons/amxmodx/modules/mysql_amxx_i386.so
f546a000-f546f000 rwxp f546a000 00:00 0
f546f000-f54de000 r-xp 00000000 08:02 30802174 /root/gameserver/Rats/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
f54de000-f54f0000 rwxp 0006f000 08:02 30802174 /root/gameserver/Rats/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
f54f0000-f5513000 rwxp f54f0000 00:00 0
f5513000-f55a7000 r-xp 00000000 08:02 30639834 /root/gameserver/Rats/cstrike/dlls/cs_i386.so
f55a7000-f55a8000 rwxp 00094000 08:02 30639834 /root/gameserver/Rats/cstrike/dlls/cs_i386.so
f55a8000-f56de000 r-xp 00095000 08:02 30639834 /root/gameserver/Rats/cstrike/dlls/cs_i386.so
f56de000-f56fd000 rwxp 001ca000 08:02 30639834 /root/gameserver/Rats/cstrike/dlls/cs_i386.so
f56fd000-f57b4000 rwxp f56fd000 00:00 0
f57b4000-f57d3000 r-xp 00000000 08:02 30835985 /root/gameserver/Rats/cstrike/addons/metamod/dlls/metamod_i386.so
f57d3000-f57d5000 rwxp 0001e000 08:02 30835985 /root/gameserver/Rats/cstrike/addons/metamod/dlls/metamod_i386.so
f57d5000-f77e1000 rwxp f57d5000 00:00 0
f77e1000-f77fc000 r-xp 00000000 08:02 30640574 /root/gameserver/Rats/filesystem_stdio_i386.so
f77fc000-f7803000 rwxp 0001a000 08:02 30640574 /root/gameserver/Rats/filesystem_stdio_i386.so
f7803000-f7805000 rwxp f7803000 00:00 0
f7805000-f7827000 r-xp 00000000 08:02 39157786 /emul/ia32-linux/lib/libm-2.7.so
f7827000-f7829000 rwxp 00022000 08:02 39157786 /emul/ia32-linux/lib/libm-2.7.so
f7829000-f7841000 r-xp 00000000 08:02 30640580 /root/gameserver/Rats/libsteam_api_c.so
f7841000-f7842000 rwxp 00018000 08:02 30640580 /root/gameserver/Rats/libsteam_api_c.so
f7842000-f7847000 rwxp f7842000 00:00 0
f7847000-f78fe000 r-xp 00000000 08:02 30640573 /root/gameserver/Rats/engine_i686.so
f78fe000-f7906000 rwxp 000b7000 08:02 30640573 /root/gameserver/Rats/engine_i686.so
f7906000-f7d7e000 rwxp f7906000 00:00 0
f7d7e000-f7eca000 r-xp 00000000 08:02 39157781 /emul/ia32-linux/lib/libc-2.7.so
f7eca000-f7ecb000 r-xp 0014b000 08:02 39157781 /emul/ia32-linux/lib/libc-2.7.so
f7ecb000-f7ecd000 rwxp 0014c000 08:02 39157781 /emul/ia32-linux/lib/libc-2.7.so
f7ecd000-f7ed0000 rwxp f7ecd000 00:00 0
f7ed0000-f7ee3000 r-xp 00000000 08:02 39157784 /emu./hlds_run: line 321: 16232 Aborted $HL_CMD

SpokY
02-14-2010, 20:33
i have a answer from steam ..
look @ this ..

Hallo SpokY, bitte folgen Sie diesem Link für weitere Informationen: Title: Managing HLDS Server Resources Link: http://support.steampowered.com/kb_article.php?ref=7917-KIPM-5800 Beste Grüße, Steam Support Team Bitte schreiben Sie uns innerhalb von 7 Tagen, um eine beschleunigte Antwort auf weitere Fragen zu erhalten.

8088
02-14-2010, 20:42
Great. And how is that related to segfaults?

SpokY
02-15-2010, 05:56
Yes.. this is the question :D

vampire2k
02-15-2010, 10:55
Disable metamod in your liblist.gam, if it still crashes: Update the game with the steam utility and use -verify_all. You could also try installing hlds in another place, if the fresh install crashes you may have a hardware problem (or some nasty software prob.).

Furthermore you shouldn't run software which doenst need root privilegies as root. Its a security risk and a bad habbit to begin with. :wink:

almost forgot: Tried running without the -pingboost parameter? It tends to crash on some platforms and mods.

SpokY
02-20-2010, 21:39
works fine now for me we have change or kernel on a EPS Kernel (1000 hz) ... my server crahs never at this time ;) tray it out.

Ejziponken
02-21-2010, 05:16
I get the same problem everyday on several of my publicservers..

Aim
Gungame
Deathrun

Someone should do something now...

SCHWEDEN
02-21-2010, 06:20
FIX: apt-get install ia32-libs

8088
02-21-2010, 15:43
And then? What good is that going to do on a 32 bit system?

Seta00
02-22-2010, 07:25
And then? What good is that going to do on a 32 bit system?

I think his post is directed to this guy:

Linux version 2.6.18-6-amd64 (Debian 2.6.18.dfsg.1-24etch2) ([email protected]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Tue May 5 08:01:28 UTC 2009

SpokY
02-22-2010, 09:38
works fine now for me we have change or kernel on a EPS Kernel (1000 hz) ... my server crahs never at this time ;) tray it out.

ok not..
3 server have crashed.. -.-

warhead
03-17-2010, 07:56
will it stop crashing if i use 32bit system

vampire2k
03-17-2010, 21:18
Might be a DoS attack, sudden crashes stopping but after a while resuming. Or some other obscure exploit in one of the maps/modules/plugins/addons/whatever.
Another far fetched idea: Switch to another server, who knows- it might help.
If everything else fails, get someone else to do it, preferably a professional, maybe offer a reward.:wink:

-=3JIou-TaTaPuH=-
03-18-2010, 05:32
nah for now Nobody find a solution from this ERROR!!!!
I know WIN sucks but as solution U can change UR OS to Win coz this error appears only on Linux OS

kanatzu
03-18-2010, 16:09
My zm server crashed in 10 minutes but when i put the new dproto 0.4.1 and engine i 686 crashes stoped or at least decreased
Here is where u can download them
Also sry for bad english

Don't post shit. :nono::crab: KthxBai

-=3JIou-TaTaPuH=-
03-20-2010, 16:17
Guys as We find out this happens only on Linux but basically only with custom mods isn't it?
Is there any body who's classic server crashes also?

Ejziponken
03-20-2010, 19:13
My AIM server is krashing, only amxmod and a few basic plugins. :)

r4ndomz
03-26-2010, 19:12
./hlds_run: line 321: 4152 Segmentation fault $HL_CMD

Hate that...

xPaw
03-27-2010, 05:12
It's just server crash, it just writes error messages because it can't continue running... It's not something "specific"

$n1p3r
03-30-2010, 20:57
I FOUND AN SOLUTION!!! THAT WORKS 100%!


It's about File Ownership, I was copying maps with "root" and server coulnd access them...

Then I made command (to change ownership of maps to owner that is starting server)

chown -R server01 server01

and when ALL files had ownership of server01 user...

Server Started without any problems

Mog12345
03-31-2010, 05:23
How do you reach the command line of the server?

$n1p3r
03-31-2010, 10:44
well you need to have SSH access to the machine :/ Well It solved my problem, I dont know what could be problem with you'r HLDS :/

bluechester
04-01-2010, 23:15
FIX: apt-get install ia32-libs

That's just going to let the server/start/update run on 64bit debian based operating systems.

CppDev_DrBrain
04-02-2010, 22:18
Fresh install. There are no plugins & modules. All permissions correct.


brain@brain:~/hlds$ ./hlds_run -game cstrike
Auto detecting CPU
Using AMD Optimised binary.
Auto-restarting the server on crash

Console initialized.
scandir failed:/home/brain/hlds/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 16:56:04 Mar 8 2010 (4883)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 10.51.20.7:27015
couldn't exec listip.cfg
couldn't exec banned.cfg
scandir failed:/home/brain/hlds/./platform/SAVE
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
./hlds_run: line 321: 3048 Недопустимая инструкция $HL_CMD
/home/brain/hlds/core: Permission denied.
No stack.
/home/brain/hlds/debug.cmds:2: Error in sourced command file:
No frame selected.
email debug.log to [email protected]
Суб Апр 3 05:14:16 EEST 2010: Server restart in 10 seconds
Суб Апр 3 05:14:18 EEST 2010: Server Quit
Works fine on the same machine (FreeBSD, linux_base-fc-4_15, latest hlds update).
Got seg fault on Debian Lenny (Linux 2.6.26-2-686). :cry:

YamiKaitou
04-02-2010, 23:00
It tells you the error in the message
/home/brain/hlds/core: Permission denied.

If the permissions are correct, prove it

CppDev_DrBrain
04-02-2010, 23:07
It tells you the error in the message
If the permissions are correct, prove it
It's just a core dump...

CppDev_DrBrain
04-02-2010, 23:12
brain@brain:~/hlds$ ./hlds_run -binary ./hlds_i686 -game cstrike
Auto-restarting the server on crash

Console initialized.
scandir failed:/home/brain/hlds/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 16:56:12 Mar 8 2010 (4883)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 10.51.20.6:27015
couldn't exec listip.cfg
couldn't exec banned.cfg
scandir failed:/home/brain/hlds/./platform/SAVE
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.
./hlds_run: line 321: 3223 Недопустимая инструкция $HL_CMD
Cannot access memory at address 0xb7f6d658
Cannot access memory at address 0xbffed4c0
/home/brain/hlds/debug.cmds:3: Error in sourced command file:
Cannot access memory at address 0xb7f6d658
email debug.log to [email protected]
Суб Апр 3 06:10:26 EEST 2010: Server restart in 10 seconds
Суб Апр 3 06:10:29 EEST 2010: Server Quit

brain@brain:~/hlds$
xD
Some people said that the cause of crashes - SSE/SSE2 instructions... But how does it work under FreeBSD? Same CPU, same hlds binary.

CppDev_DrBrain
04-03-2010, 15:04
Sad but true... It is SSE2...
Semprons, Athlons, Athlons XP, Durons, old Celerons, Pentium III and other old CPUs not supported now (i486, according to Valve, supports SSE2 xD).
Solution - use previous binaries (June 2009).

Sepehr
04-06-2010, 21:04
./hlds_run: line 321: 26107 Segmentation fault $HL_CMD

I have bots on my server.
A custom made mod
Deages Map Manager.
That's all...
If i switch my server from linux to XP will it solve the problem?

Mog12345
04-06-2010, 21:53
My server runs linux as well and I suffer from this error. I can say that bots aren't the cause, since my server doesn't have bots and it still receives the error.

Sepehr
04-06-2010, 23:53
*** glibc detected *** ./steam: double free or corruption (top): 0x08f0e590 ***
======= Backtrace: =========
/lib/libc.so.6[0x7440f1]
/lib/libc.so.6(cfree+0x90)[0x747bc0]
./steam[0x80a52ee]
./steam[0x80a5407]
./steam[0x80a6712]
./steam[0x8118dea]
./steam[0x811bdc0]
./steam[0x80f1685]
./steam[0x81436d2]
./steam[0x816b1c0]
./steam[0x814db30]
./steam[0x81546cc]
/lib/libc.so.6(__libc_start_main+0xdc)[0x6f0e8c]
./steam(pthread_cancel+0x45)[0x8057d71]
======= Memory map: ========
00140000-00141000 rwxp 00140000 00:00 0
00199000-0036e000 rwxp 00199000 00:00 0
006bd000-006d7000 r-xp 00000000 fd:00 11927555 /lib/ld-2.5.so
006d7000-006d8000 r-xp 00019000 fd:00 11927555 /lib/ld-2.5.so
006d8000-006d9000 rwxp 0001a000 fd:00 11927555 /lib/ld-2.5.so
006db000-00819000 r-xp 00000000 fd:00 11927569 /lib/libc-2.5.so
00819000-0081b000 r-xp 0013e000 fd:00 11927569 /lib/libc-2.5.so
0081b000-0081c000 rwxp 00140000 fd:00 11927569 /lib/libc-2.5.so
0081c000-0081f000 rwxp 0081c000 00:00 0
00821000-00823000 r-xp 00000000 fd:00 11927582 /lib/libdl-2.5.so
00823000-00824000 r-xp 00001000 fd:00 11927582 /lib/libdl-2.5.so
00824000-00825000 rwxp 00002000 fd:00 11927582 /lib/libdl-2.5.so
00827000-0083a000 r-xp 00000000 fd:00 11927602 /lib/libpthread-2.5.so
0083a000-0083b000 r-xp 00012000 fd:00 11927602 /lib/libpthread-2.5.so
0083b000-0083c000 rwxp 00013000 fd:00 11927602 /lib/libpthread-2.5.so
0083c000-0083e000 rwxp 0083c000 00:00 0
00840000-00865000 r-xp 00000000 fd:00 11927580 /lib/libm-2.5.so
00865000-00866000 r-xp 00024000 fd:00 11927580 /lib/libm-2.5.so
00866000-00867000 rwxp 00025000 fd:00 11927580 /lib/libm-2.5.so
0091f000-0092a000 r-xp 00000000 fd:00 11927626 /lib/libgcc_s-4.1.2-20080825.so.1
0092a000-0092b000 rwxp 0000a000 fd:00 11927626 /lib/libgcc_s-4.1.2-20080825.so.1
00b71000-00b72000 r-xp 00b71000 00:00 0 [vdso]
00bf1000-00bf2000 rwxp 00bf1000 00:00 0
00c6d000-00c76000 r-xp 00000000 fd:00 11927591 /lib/libnss_files-2.5.so
00c76000-00c77000 r-xp 00008000 fd:00 11927591 /lib/libnss_files-2.5.so
00c77000-00c78000 rwxp 00009000 fd:00 11927591 /lib/libnss_files-2.5.so
00c78000-01502000 rwxp 00c78000 00:00 0
08048000-0829a000 r-xp 00000000 fd:00 29001393 /usr/local/games/cs/822918/8.3.5.246:27015/steam
0829a000-082a7000 rwxp 00252000 fd:00 29001393 /usr/local/games/cs/822918/8.3.5.246:27015/steam
082a7000-082ad000 rwxp 082a7000 00:00 0
08e8b000-08f23000 rwxp 08e8b000 00:00 0 [heap]
b7e00000-b7e21000 rwxp b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
bf9d4000-bf9e9000 rwxp bffea000 00:00 0 [stack]
./hlds_run: line 285: 29802 Aborted $CMD
Tue Apr 6 23:46:46 EDT 2010: Steam Update failed, ignoring.

Now i get this... whats going on.. i just did a clean re-install.

xtinct
04-11-2010, 04:16
It is sad that no one has yet been able to figure out the root of this error.

vampire2k
04-11-2010, 08:48
Like CppDev_DrBrain said, it could be that your CPU is missing the SSE2 instruction set.
Check if your CPU has those by running cat /proc/cpuinfo | grep flags
You should see something like this:
flags : ...lotsofstuff... mmx fxsr sse sse2 ...somemorestuff...

numbface
04-23-2010, 09:12
--

r4ndomz
04-25-2010, 11:26
It is sad that no one has yet been able to figure out the root of this error.

Each one is different.

MustD1e
04-25-2010, 19:46
-debug in start line for autorestart server if it happens

Sunshine live
04-26-2010, 11:22
Hi, I have, unfortunately, the problem solution already exist?
Unfortunately I can not so good english sry


It does this error message ./hlds_run: line 321: 27600 Segmentation fault $HL_CMD

Sho0ter
04-29-2010, 16:09
Turn off DEP in BIOS
Install gcc and gdb

bluechester
04-30-2010, 00:14
./hlds_run: line 321: 26107 Segmentation fault $HL_CMD

I have bots on my server.
A custom made mod
Deages Map Manager.
That's all...
If i switch my server from linux to XP will it solve the problem?

Yes

Sunshine live
05-09-2010, 04:39
Turn off DEP in BIOS
Install gcc and gdb

think you know me?

tulga
05-21-2010, 08:25
i'm thinking the problem is when server crashed, the program must exit and return exit status, but the program doesnt exit.
so i made simple bash script not yet tested.
1. First create file named "prestart.sh"

#!/bin/sh

./hlds_run -game cstrike -binary ./hlds_i686 +ip serverIp -nomaster -insecure +maxplayers 30 +map de_dust2 &> $1
2. blah blah startserver.sh

#!/bin/sh

CS_SCRIPTNAME="prestart.sh"
CS_WORKING_DIR=`pwd`
CS_SCREEN_NAME="cs_server"
CS_LOGFILE="${CS_WORKING_DIR}/runlog"
CS_START_COMMAND="screen -A -m -d -S $CS_SCREEN_NAME ./$CS_SCRIPTNAME $CS_LOGFILE"
CS_STOP_COMMAND="screen -S $CS_SCREEN_NAME -X quit"
CS_TIMEOUT=10
CS_CHECKTIMEOUT=5


$CS_START_COMMAND
sleep $CS_CHECKTIMEOUT

while true
do
CS_SERVER_IS_CRASHED=`tail -n 1 $CS_LOGFILE | grep "^\./hlds_run:.*Segmentation fault"`

if test -n "$CS_SERVER_IS_CRASHED"; then
$CS_STOP_COMMAND >/dev/null 2>&1
echo "`date`: Server restart in $CS_TIMEOUT seconds"
echo "`date`: CRASHED AT" >> crashlog
sleep $CS_TIMEOUT
$CS_START_COMMAND
fi
sleep $CS_CHECKTIMEOUT
done

3. chmod +x prestart.sh
chmod +x startserver.sh
4. execute bash script
./startserver.sh
NOT YET TESTED :D

Salau
05-23-2010, 11:20
Doesn't work here.

I've changed the "serverIP" and "CS_Working_dir" to cstrike.

Doesn't made the logfile, neither restarted the server.

hugs.

tulga
05-26-2010, 11:45
Doesn't work here.

I've changed the "serverIP" and "CS_Working_dir" to cstrike.

Doesn't made the logfile, neither restarted the server.

hugs.

#!/bin/sh

./hlds_run -game cstrike -binary ./hlds_i686 +ip serverIp -nomaster -insecure +maxplayers 30 +map de_dust2 > $1 2>&1

change this line

Salau
05-29-2010, 01:25
and.. segmentation fault =x
not resolved =z

Did i make it correct?

my hlds_run

...

#!/bin/sh

CS_SCRIPTNAME="prestart.sh"
CS_WORKING_DIR=`cstrike`
CS_SCREEN_NAME="cs_server"
CS_LOGFILE="${CS_WORKING_DIR}/runlog"
CS_START_COMMAND="screen -A -m -d -S $CS_SCREEN_NAME ./$CS_SCRIPTNAME $CS_LOGFILE"
CS_STOP_COMMAND="screen -S $CS_SCREEN_NAME -X quit"
CS_TIMEOUT=10
CS_CHECKTIMEOUT=5


$CS_START_COMMAND
sleep $CS_CHECKTIMEOUT

while true
do
CS_SERVER_IS_CRASHED=`tail -n 1 $CS_LOGFILE | grep "^\./hlds_run:.*Segmentation fault"`

if test -n "$CS_SERVER_IS_CRASHED"; then
$CS_STOP_COMMAND >/dev/null 2>&1
echo "`date`: Server restart in $CS_TIMEOUT seconds"
echo "`date`: CRASHED AT" >> crashlog
sleep $CS_TIMEOUT
$CS_START_COMMAND
fi
sleep $CS_CHECKTIMEOUT
done

my prestart.sh
#!/bin/sh

./hlds_run -game cstrike -binary ./hlds_i686 +ip 187.61.4.19 -master -insecure +maxplayers 20 +map de_dust2 > $1 2>&1

dFF
05-29-2010, 09:12
http://forums.steampowered.com/forums/showpost.php?p=10310169&postcount=5 ?

bluechester
06-01-2010, 01:40
Seg faults do not occur without a reason. See if your server is configured correctly, if that doesn't help, run your server on windows if that's a choice.

plat00n
06-02-2010, 17:05
Hello,

Somebody got the answer ? because i've got the same error :/

Linux ARES 2.6.26-2-686 #1 SMP Wed May 12 21:56:10 UTC 2010 i686 GNU/Linux

NB : I think i increase my problem, ... I delete all files from the install folders and now ... i can't download anything... When I launch ./steam I have this message :

Checking bootstrapper version ...

It take some times and when i relaunch it... I've that message :

Checking bootstrapper version ...
removing stale semaphore last operated on by process 2311 with name 0eBlobRegistryMutex_71C80BA6F810A3DF373EE29A4 8467924
removing stale semaphore last operated on by process 2311 with name 0eBlobRegistrySignal_71C80BA6F810A3DF373EE29A 48467924
Getting version 36 of Steam HLDS Update Tool
Instruction illégale

Aoutch :( :twisted:

DeLiriuM
07-09-2010, 05:06
Ok. So this i really pissing me off for 6 months now.

I'm using slackware 13.0 and i constantly get these types of error (RANDOMLY)

./hlds_run: line 321: 20901 Segmentation fault $HL_CMD

I tried running the server without metamod, with metamod (metamod p), amx mod - all the same.
I also noticed that I get this error nearly every time the server changes to a ka_.

0xyGens
07-09-2010, 05:58
Ok. So this i really pissing me off for 6 months now.

I'm using slackware 13.0 and i constantly get these types of error (RANDOMLY)

./hlds_run: line 321: 20901 Segmentation fault $HL_CMD

I tried running the server without metamod, with metamod (metamod p), amx mod - all the same.
I also noticed that I get this error nearly every time the server changes to a ka_.

me too

DeLiriuM
07-11-2010, 07:23
OK. So after reading this whole thread, I found a solution :)

I deleted the "steam" file and added DEBUG="" (don't know why though), and the crashing stoppet (at least for now (2days)). :)

Zend
07-12-2010, 07:20
Are there a log file records with the IP 77.94.246.131 ?

0xyGens
07-12-2010, 07:56
what you mean steam file ? executable file ?
You mean replace debug line to DEBUG="" ?

DeLiriuM
07-12-2010, 08:53
what you mean steam file ? executable file ?
You mean replace debug line to DEBUG="" ?

In the folder, where hlds_run is located, there's a file named just "steam". No .so in the end or anything else. I deleted it. I wasn't using -debug to replace it, I just added DEBUG="" in the end. I don't think that there's going to be a problem i you use "-debug AND DEBUG="""

screen -A -m -d -S .... ./hlds_run -game cstrike +sv_lan .. +maxplayers .. +map de_dust2 +ip .... +port -secure -pingboost 3 DEBUG=""

One
07-13-2010, 07:49
http://forums.alliedmods.net/showpost.php?p=1073937&postcount=53

Zend
07-13-2010, 07:58
This may not be the real reason.
hlds_run - this is the usual shell-script. And while the server cause of the crashes, he can not be

Saitan
07-28-2010, 07:57
www.servers.ee (http://www.servers.ee/) faced the same problem.
We came so far, that our pure SMS cw server (only steam) never crash. They had no metamod, no plugins. Let me to remind you, that metamod is like API, which is used by amxx and other plugins. How they use it - this is the different question. So far no solution found, except add -debug for autorestarting.

/var/log/messages:

Jul 21 21:13:18 lover-team kernel: hlds_i686[32178]: segfault at fd1d68 ip b7e122a0 sp bfe49220 error 4 in libc-2.7.so[b7dac000+155000]
Jul 21 21:13:29 lover-team kernel: hlds_i686[32213]: segfault at 611d68 ip b7e182a0 sp bf84ec20 error 4 in libc-2.7.so[b7db2000+155000]
Jul 21 21:13:39 lover-team kernel: hlds_i686[32219]: segfault at ed1d68 ip b7e272a0 sp bfd5d930 error 4 in libc-2.7.so[b7dc1000+155000]
Jul 21 21:13:49 lover-team kernel: hlds_i686[32227]: segfault at 288d68 ip b7ef62a0 sp bfb2af00 error 4 in libc-2.7.so[b7e90000+155000]
Jul 21 21:13:59 lover-team kernel: hlds_i686[32233]: segfault at 65dd68 ip b7e882a0 sp bfebea90 error 4 in libc-2.7.so[b7e22000+155000]
Jul 21 21:14:09 lover-team kernel: hlds_i686[32260]: segfault at 526d68 ip b7f2f2a0 sp bff64340 error 4 in libc-2.7.so[b7ec9000+155000]
Jul 22 09:31:34 lover-team kernel: hlds_i686[20021]: segfault at 6666b0ea ip b7910bf3 sp bfb5f0a4 error 4 in engine_i686.so[b7904000+3e000]
Jul 22 09:35:48 lover-team kernel: hlds_i686[8454]: segfault at 6666b0ea ip b797bbf3 sp bfec9c14 error 4 in engine_i686.so[b796f000+3e000]
Jul 22 09:35:58 lover-team kernel: hlds_i686[8672]: segfault at bfdd90 ip b7e0d2a0 sp bfd44120 error 4 in libc-2.7.so[b7da7000+155000]
Jul 22 09:40:04 lover-team kernel: hlds_i686[8699]: segfault at 6666b0ea ip b79d2bf3 sp bfc1f174 error 4 in engine_i686.so[b79c6000+3e000]
Jul 22 09:47:32 lover-team kernel: hlds_i686[8939]: segfault at 6666b0ea ip b7964bf3 sp bfeb2c04 error 4 in engine_i686.so[b7958000+3e000]
Jul 22 09:47:42 lover-team kernel: hlds_i686[9186]: segfault at e42d90 ip b7f772a0 sp bfaab680 error 4 in libc-2.7.so[b7f11000+155000]
Jul 22 09:51:52 lover-team kernel: hlds_i686[9253]: segfault at 6666b0ea ip b7a01bf3 sp bf84d594 error 4 in engine_i686.so[b79f5000+3e000]
Jul 22 09:56:18 lover-team kernel: hlds_i686[9560]: segfault at 6666b0ea ip b797dbf3 sp bf8cbe14 error 4 in engine_i686.so[b7971000+3e000]
Jul 22 09:56:28 lover-team kernel: hlds_i686[9878]: segfault at 33ad90 ip b7f3c2a0 sp bfb70750 error 4 in libc-2.7.so[b7ed6000+155000]
Jul 22 09:56:38 lover-team kernel: hlds_i686[9885]: segfault at 6a7d90 ip b7e562a0 sp bfb8cf60 error 4 in libc-2.7.so[b7df0000+155000]
Jul 22 09:56:48 lover-team kernel: hlds_i686[9891]: segfault at f5ed90 ip b7ec72a0 sp bfffe3d0 error 4 in libc-2.7.so[b7e61000+155000]
Jul 22 09:56:58 lover-team kernel: hlds_i686[9897]: segfault at 8a6d90 ip b7f742a0 sp bfba8f80 error 4 in libc-2.7.so[b7f0e000+155000]
Jul 22 09:57:08 lover-team kernel: hlds_i686[9906]: segfault at 7b7d90 ip b7dfe2a0 sp bf834c10 error 4 in libc-2.7.so[b7d98000+155000]
Jul 22 10:00:40 lover-team kernel: hlds_i686[9912]: segfault at 6666b0ea ip b78bfbf3 sp bfa0df54 error 4 in engine_i686.so[b78b3000+3e000]
Jul 22 10:05:03 lover-team kernel: hlds_i686[10170]: segfault at 6666b0ea ip b7993bf3 sp bf9dff34 error 4 in engine_i686.so[b7987000+3e000]
Jul 22 10:39:47 lover-team kernel: hlds_i686[10397]: segfault at 6666b0ea ip b78bcbf3 sp bf807554 error 4 in engine_i686.so[b78b0000+3e000]Same problem on both server:
1. 2xQuad E5430, 4 GB RAM ECC, S5000VSA4D
ос Debian 5.0.5 (2.6.26.8-rt16 #1 SMP PREEMPT RT i686)

2. 2xOPTERON 275, 8 GB RAM ECC, TYAN K8SRE S2891
ос Debian 5.0.5 x86_64 (2.6.26.8-rt16 #1 SMP PREEMPT RT x86_64)

Saitan
07-29-2010, 08:44
Do we have linux guru here?

# ldd hlds_i686
linux-gate.so.1 => (0xb7f4a000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7f3d000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7f24000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7dc8000)
/lib/ld-linux.so.2 (0xb7f4b000)

# ldd cstrike/addons/metamod/dlls/metamod_i386.so
linux-gate.so.1 => (0xb80af000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7fc2000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7f9c000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7e40000)
/lib/ld-linux.so.2 (0xb80b0000)

# ldd cstrike/addons/dproto/dproto_i386.so
linux-gate.so.1 => (0xb7fb3000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7f5e000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7f38000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e49000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7cee000)
/lib/ld-linux.so.2 (0xb7fb4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ce1000)

# ldd cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
linux-gate.so.1 => (0xb8054000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7fa3000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7f7d000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7e21000)
/lib/ld-linux.so.2 (0xb8055000)

Black_Hawk
09-19-2010, 23:52
Somebody find exit from this problem? (segfault)

ghostofmybrain
09-20-2010, 06:25
Somebody find exit from this problem? (segfault)

this thread (http://forums.steampowered.com/forums/showthread.php?t=1436680) has a solution but I don't know if it's any good. I just happened across it right after reading your post.

DeLiriuM
09-20-2010, 07:30
It's a solution for the exploit, not for the entire "segfault crash" problem :)

Black_Hawk
09-21-2010, 05:53
Seems, segfault error because of system. I read on some russian forum this became after upgrade some lib of system. http://forum.lissyara.su/viewtopic.php?f=33&t=10642&start=0&sid=24e8aca26f803b9f4cd6970069d38983

kamar0n
10-05-2010, 18:31
Exist one tool for crash attack the servers cs 1.6, and not is autobuy (xploit). :)

bibu
11-20-2010, 13:28
Is there now a solution for that, I am getting:

./hlds_run: line 321: 14013 Segmentation fault $HL_CMD

anupm
11-21-2010, 08:58
Is there now a solution for that, I am getting:

hey i was having the same problem .

I installed metamod-p instead of metamod and now its working fine.

dFF
11-23-2010, 16:04
Metamod-p dosen't fix that problem.

bibu
11-24-2010, 12:33
So, anyother solution from other guys?

dFF
11-24-2010, 13:27
Try to remove -debug and -pingboost from the start line.
Also in hlds_run change DEBUG=0 to DEBUG=""

bluechester
11-24-2010, 16:02
Try to remove -debug and -pingboost from the start line.
Also in hlds_run change DEBUG=0 to DEBUG=""
This will not eliminate seg faults.

anupm
11-25-2010, 05:09
Metamod-p dosen't fix that problem.
for me it worked . :) .

dFF
11-27-2010, 08:57
Another solution http://forums.steampowered.com/forums/showpost.php?p=3355283&postcount=6

jp777cmoe
04-17-2011, 12:48
metamod-p fixed it for me too

sound010
06-25-2011, 07:09
i have problem :D

./hlds_run: line 321: 16509 Segmentation fault $HL_CMD
./hlds_run: line 321: 16509 Segmentation fault $HL_CMD
./hlds_run: line 321: 16509 Segmentation fault $HL_CMD
run() {
# Runs the steam update and server
# Loops if RESTART is set
# Debugs if server failure is detected
# Note: if RESTART is not set then
# 1. DEBUG is set then the server is NOT exec'd
# 2. DEBUG is not set the the server is exec'd

if test -n "$RESTART" ; then
echo "Auto-restarting the server on crash"

#loop forever
while true
do
# Update if needed
update

# Run the server
$HL_CMD
retval=$?
if test $retval -eq 0 && test -z "$AUTO_UPDATE"; then
break; # if 0 is returned then just quit
fi

debugcore $retval

echo "`date`: Server restart in $TIMEOUT seconds"

# don't thrash the hard disk if the server dies, wait a little
sleep $TIMEOUT
done # while true
else
# Update if needed
update

# Run the server
if test "$DEBUG" -eq 0; then
# debug not requested we can exec
exec $HL_CMD
else
# debug requested we can't exec
$HL_CMD
debugcore $?
fi
fi
}


help me pls


Verzio: v1.1.2.6/Stdio (Linux, Dedicated, Protocol 48 )

Extra: AMXMODX v1.8.1.3746, MetaMod v1.19p32, xREDIRECT - server redirect menu v1.0.3.3





my hosting say: In your server so that plugins are not working properly with each other!

plugins.ini
; AMX Mod X plugins
; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
;adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
miscstats.amxx ; bunch of events announcement for Counter-Strike
stats_logging.amxx ; weapons stats logging (CSX Module required!)
; Enable to use AMX Mod plugins
amxmod_compat.amxx ; AMX Mod backwards compatibility layer
; Custom - Add 3rd party plugins here
admin_allinone_commands.amxx
;hpk.amxx
lang.amxx
xredirect.amxx debug
autobinds.amxx
amx_parachute.amxx
;amx_login.amxx
bullet_damage.amxx
multijump.amxx
admin_check.amxx
admin_chat_colors.amxx
server_cmd.amxx
admin_gag.amxx
ad_manager.amxx
ghw_weapon_replacement.amxx

plugins-zplague.ini
; Zombie mod
zombie_plague40.amxx debug
zm_vip.amxx debug
; Zombie olsztaly
zp_zclasses40.amxx
zp_zclass_super_jumper_zombie.amxx
zp_zclass_climbing_zombie.amxx
zp_zclass_hunter_zombie.amxx
zp_zclass_smoker.amxx
zp_zclass_regeneration.amxx
HumanZombie.amxx
zp_zclass_brute_mother.amxx
; Jatek menet
lasermine_023.amxx
numbers.amxx debug
;lightvote.amxx
zp_addon_dtcm.amxx
respawner.amxx
;zp_free_grenades.amxx
zp_save_ammo.amxx
team_semiclip.amxx
zp_choose_weapons_survivor.amxx
end_round.amxx
zp_show_ammo.amxx ;probaidon van
; Extra
zp_extra_human_armor.amxx
zp_extra_unlimited_clip.amxx
zp_antidote.amxx
zp_buy_health_points.amxx
zp_extra_jetpack_bazooka32.amxx
;zp_extra_buy_survnem.amxx
zp_extra_minigun.amxx
zm_extra_invisible.amxx debug
zp_extra_goldenak.amxx
zm_vip_extra_goldendg.amxx

?:O

neoRT
06-28-2011, 09:56
damn this error, i have the same problem on a server hosted on debian. it crashes even without metamod installed, at every 3-4 days.

examtot
06-28-2011, 10:31
Got this is errror in my game server but server restarts and error disapiers

w4kv
06-30-2011, 03:40
For me the error disappeared when i stopped using MySQL module

sound010
07-01-2011, 15:04
./hlds_run: line 321: 9024 Bus error $HL_CMD

What the fucK??:D

pewex
07-01-2011, 18:47
In the folder, where hlds_run is located, there's a file named just "steam". No .so in the end or anything else. I deleted it. I wasn't using -debug to replace it, I just added DEBUG="" in the end. I don't think that there's going to be a problem i you use "-debug AND DEBUG="""

screen -A -m -d -S .... ./hlds_run -game cstrike +sv_lan .. +maxplayers .. +map de_dust2 +ip .... +port -secure -pingboost 3 DEBUG=""

edit hlds_run, what to delete? Where to add DEBUG = "" ???

DeLiriuM
07-02-2011, 01:05
edit hlds_run, what to delete? Where to add DEBUG = "" ???

vim hlds_run
Line 17 -> change DEBUG=0 to DEBUG=""

This won't stop the server from crashing, bug atleast it'll restart after that.

pewex
07-02-2011, 07:27
vim hlds_run
Line 17 -> change DEBUG=0 to DEBUG=""

This won't stop the server from crashing, bug atleast it'll restart after that.

how I did it, the server will not turn on.


Delirium

You can edit the file and give hlds_run in the Annex?

kamar0n
07-03-2011, 16:33
Hello, here my errors.

./hlds_run: line 324: 17421 Violación de segmento $HL_CMD
06/13/2011-19:48:32: Server cvar "mp_timelimit" = "24.999999"
06/13/2011-19:48:31: World triggered "Round_Start"
06/13/2011-19:48:25: World triggered "Round_End"
06/13/2011-19:48:25: Team "CT" triggered "CTs_Win" (CT "15") (T "3")

./hlds_run: line 324: 7286 Violación de segmento $HL_CMD
06/13/2011-22:39:26: Server cvar "mp_chattime" = "1"
06/13/2011-22:39:26: Team "TERRORIST" scored "7" with "11" players
06/13/2011-22:39:26: Team "CT" scored "5" with "5" players

./hlds_run: line 328: 2150 Violación de segmento $HL_CMD
07/01/2011-13:05:16: World triggered "Round_Start"
07/01/2011-13:05:10: World triggered "Round_End"
07/01/2011-13:05:10: Team "CT" triggered "CTs_Win" (CT "4") (T "1")

./hlds_run: line 328: 12481 Violación de segmento $HL_CMD
07/01/2011-16:25:29: Server cvar "sv_restartround" = "1"
07/01/2011-16:25:29: Server cvar "mp_buytime" = "0"
07/01/2011-16:25:29: Server cvar "mp_roundtime" = "3.50"
07/01/2011-16:25:29: Server cvar "mp_freezetime" = "1"
07/01/2011-16:25:29: Server cvar "mp_timelimit" = "35"
07/01/2011-16:25:29: Log file started (file "logs/L0701061.log") (game "cstrike") (version "48/1.1.2.6/Stdio/5006")
Server logging data to file logs/L0701061.log

./hlds_run: line 328: 28022 Violación de segmento $HL_CMD
Reason: Timed out
Dropped Rigo!!!!!!!!!!! from server
07/01/2011-21:30:49: "Rigo!!!!!!!!!!!<257><>" disconnected
07/01/2011-21:30:47: World triggered "Round_End"
07/01/2011-21:30:47: Team "TERRORIST" triggered "Terrorists_Win" (CT "0") (T "1")


- Because always these commands appear?:
"Round_End", "Round_Start"

- Comands fail?:
"mp_timelimit" = "24.999999"
"mp_chattime" = "1"
"sv_restartround" = "1"

Exist more sploits, any idea?. I expect that help you of something this.

dFF
07-04-2011, 05:49
@kamar0n (http://forums.alliedmods.net/member.php?u=69328) Probably Segmentation fault caused by plugins. Try reinstall the server, and be careful what plugins you install.

Vita
07-04-2011, 16:21
Yes, it happens because of some plugins that use some functions in some modules. Also you might be missing some c and c++ libs.

4 faN
08-15-2011, 09:32
It does autobuy and rebuy. You can disable rebuy and autobuy on server or add this plugin http://forums.alliedmods.net/showpost.php?p=1308484&postcount=5 :)

Rachidz
11-17-2011, 21:35
Hello everyone :)
i created this accaunt just to try help some of you who got the same error as mine!
i have Cs Zombie server! and once i uploaded a new player model and some plugins to my server it started showing this error!
i tried restart and metamod-p like u said! but didnt work,,,
in the end i discovered that the model size isnt the same as the original model in my computer,, its mean the uploading wasnt 100%
Anyway! i upload it again and this time full, and server start without problems!
hope that can help u a little

Sorry for my bad english :p

kamar0n
12-19-2011, 18:31
well I've explained my problem better here, take a look http://forums.alliedmods.net/showthread.php?p=1616097#post1616097

forid786786
12-21-2011, 18:37
I have the Same problem Sometimes the server loads and comes and most of the time it says segmentation fault I need to keep on running and ending the hlds to get it to work

Please help ASAP

Vita
12-22-2011, 15:04
Segmentation Fault == Access Violation is happening in Linux if the app is trying to read/write some memory address that is not in the address space of the current app. Mostly this happens because some module or plugin is badly written and tries to access some memory address that is not available to it.

It happens sometimes, what else can I say.
Try to install libstdc++, ia32-libs, gcc, make, g++ and other developer tools.
I solved this by using Meatmod-p.
I was running servers on CentOS 5.2 and got Segmentation Fault error, installed lots of development libs and nothing helped untill I installed Meatmod-P, after that all went well.

Currently running 20 game servers on CentOS 6 x64 and HLDS server with build 5408 + Metamod-P + AMX Mod X 1.8.1. I did not install any additional libs and Segmentation Fault Error did not show, and I hope it wont show in future.

Best Regards!

forid786786
12-23-2011, 06:31
Segmentation Fault == Access Violation is happening in Linux if the app is trying to read/write some memory address that is not in the address space of the current app. Mostly this happens because some module or plugin is badly written and tries to access some memory address that is not available to it.

It happens sometimes, what else can I say.
Try to install libstdc++, ia32-libs, gcc, make, g++ and other developer tools.
I solved this by using Meatmod-p.
I was running servers on CentOS 5.2 and got Segmentation Fault error, installed lots of development libs and nothing helped untill I installed Meatmod-P, after that all went well.

Currently running 20 game servers on CentOS 6 x64 and HLDS server with build 5408 + Metamod-P + AMX Mod X 1.8.1. I did not install any additional libs and Segmentation Fault Error did not show, and I hope it wont show in future.

Best Regards!


Thanks MetaMod -p fixed the problem

xakintosh
12-27-2011, 12:30
So here is my attemp.

I have squeeze with just installed gdb(becouse i don't have it), 5408version of srcds with AmxmodX 1.8.1, MetaModP 1.19p32, Dproto 0.9.87 ( It was in the packet ).
I have also edit hlds_run -> DEBUG=""

http://prikachi.com/images/854/4193854z.png

Gam3ronE
12-29-2011, 06:11
I use to have this problem. The fix is simple but many choose to ignore the problem as the fix is not viable for them. Want to know the fix to /hlds_run: line 321: 7373 Segmentation fault $HL_CMD? Turn off Dproto. Alternatively remove plugins clashing but then you'd end up with a normal CS server and no mods installed.

Sakretsos
03-10-2013, 05:49
this fixes /hlds_run: line 321: 7373 Segmentation fault $HL_CMD

i had the same problem on CENT OS 6.3

note that centos 6.3 have enabled the SElinux , disabled it , reboot your system and use the hlds application again.

yum install nano -y
nano /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

wjpl
04-04-2013, 04:53
I am using Debian 6.0 64bit and I can fix this problem by deleting orangebox/bin and garrysmod/bin directories, and updating the server one more time. It works, but I have to do this after every single server update.

YamiKaitou
04-04-2013, 07:09
I am using Debian 6.0 64bit and I can fix this problem by deleting orangebox/bin and garrysmod/bin directories, and updating the server one more time. It works, but I have to do this after every single server update.

That has nothing to do with HLDS

fesy
09-13-2015, 08:16
this fixes /hlds_run: line 321: 7373 Segmentation fault $HL_CMD

i had the same problem on CENT OS 6.3

note that centos 6.3 have enabled the SElinux , disabled it , reboot your system and use the hlds application again.

yum install nano -y
nano /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

it is solve my problem