Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-21 Thread Andrew Forsberg
Thank you, Philip! Thank you.
export MALLOC_CHECK_=1
Let's me run the game without any further trouble. By not setting it to
zero it also continues to report the memory leaks, etc. From the number
of error messages it looks like the executables only *barely* work
anyway. :)
Cheers
Andrew
Philip Lorenz wrote:
FYI this is a glibc issue. The fedora people have implemented changes
that will shutdown the executable if an invalid call to free is made.
http://thread.gmane.org/gmane.linux.gentoo.devel/22501
Please view that website on how to control this behaviour. I have
personally not tested this but downgraded glibc instead but it might be
worth a try (and yes same behaviour happened on a 32bit system).
So either:
- Valve fixes those nasty free calls to invalid memory locations (I
asked for this before)
- You downgrade
- You try to disable this behaviour by setting the environment
variable to 0
Philip

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-21 Thread Philip Lorenz
FYI this is a glibc issue. The fedora people have implemented changes
that will shutdown the executable if an invalid call to free is made.
http://thread.gmane.org/gmane.linux.gentoo.devel/22501
Please view that website on how to control this behaviour. I have
personally not tested this but downgraded glibc instead but it might be
worth a try (and yes same behaviour happened on a 32bit system).
So either:
- Valve fixes those nasty free calls to invalid memory locations (I
asked for this before)
- You downgrade
- You try to disable this behaviour by setting the environment variable to 0
Philip
Andrew Forsberg wrote:
Hi Mike,
Unlike hlds, srcds's debug log appears to be next to useless -- it gives
me a record of what I'd just typed into console, dumps a core, and tells
me it aborted.
Running the ./srcds_amd binary directly was more useful. That helped me
track down a few obvious problems (which didn't occur at all on FC2
i386). After changing LD_LIBRARY_PATH to look in srcds/bin and
srcds/cstrike/bin, and updating the PATH to look in cstrike for the
chatterbox stuff, it stopped returning any errors except the original.
e.g.:
Console initialized.
Attempted to create unknown entity type event_queue_saveload_proxy!
Game .dll loaded for "Counter-Strike: Source"
*** glibc detected *** free(): invalid pointer: 0xf7fc9460 ***
./srcds_run: line 342:  2370 Aborted (core dumped)
$HL_CMD
etc...


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-20 Thread Andrew Forsberg
Hi Mike,
Unlike hlds, srcds's debug log appears to be next to useless -- it gives
me a record of what I'd just typed into console, dumps a core, and tells
me it aborted.
Running the ./srcds_amd binary directly was more useful. That helped me
track down a few obvious problems (which didn't occur at all on FC2
i386). After changing LD_LIBRARY_PATH to look in srcds/bin and
srcds/cstrike/bin, and updating the PATH to look in cstrike for the
chatterbox stuff, it stopped returning any errors except the original.
e.g.:
Console initialized.
Attempted to create unknown entity type event_queue_saveload_proxy!
Game .dll loaded for "Counter-Strike: Source"
*** glibc detected *** free(): invalid pointer: 0xf7fc9460 ***
./srcds_run: line 342:  2370 Aborted (core dumped) $HL_CMD
etc...
Mike wrote:
It stems from many things, but mainly my dislike for Linux altogether (I
much prefer FreeBSD).
Like I said, try running the srcds with the -debug parameter to see what
errors it will output. This will be much more helpful to you in identifying
exactly what the problem is.



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-20 Thread Mike
It stems from many things, but mainly my dislike for Linux altogether (I
much prefer FreeBSD).

Like I said, try running the srcds with the -debug parameter to see what
errors it will output. This will be much more helpful to you in identifying
exactly what the problem is.

- Original Message 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Subject: Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS
Source
Date: 21/11/04 02:46

>
> Hi Mike,
>
> Just tar-ed and recreated the same srcds setup on an FC2 P4 system -- it
> all runs just fine... So glibc 3.2.3 is not the problem (thank god,
> because rpm hell and kernel/userspace dependencies were driving me crazy
> on that one). That leaves two other possibilities -- it's the exact FC3
> 64bit build of glibc and/or linuxthreads, or some combo of that and the
> x86_64 arch. Or something else entirely...
>
> Out of interest -- what are your specific concerns with FC3 -- if
> installed packages and services are pared right back? I chose it because
> it was one of the few server distros whose updates are mirrored locally
> very frequently, and since intl traffic at the colo the server's
> destined for is extremely expensive ($50NZD / GB excl GST).
>
> Cheers
> Andrew
>
> Mike wrote:
>
> > Hmmm.
> >
> > I have 1 server with Fedora Core 3 (unfortunately... I dislike that
OS
> > very
> > much). While I've never run source on it, I just now downloaded it. I
> > simply
> > did a ./srcds_run +map de_dust2. It loaded and is playing fine. I
also
> > have
> > glibc 2.33 and the OS is entirely up to date.
> >
> > Have you tried running it with -debug and then view the debug.log to
> > further
> > see what exactly the problem is? I doubt it is the free pointer
error, as
> > mine is running fine WITH that error.
>
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
>
>
>


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-20 Thread Andrew Forsberg
Hi Mike,
Just tar-ed and recreated the same srcds setup on an FC2 P4 system -- it
all runs just fine... So glibc 3.2.3 is not the problem (thank god,
because rpm hell and kernel/userspace dependencies were driving me crazy
on that one). That leaves two other possibilities -- it's the exact FC3
64bit build of glibc and/or linuxthreads, or some combo of that and the
x86_64 arch. Or something else entirely...
Out of interest -- what are your specific concerns with FC3 -- if
installed packages and services are pared right back? I chose it because
it was one of the few server distros whose updates are mirrored locally
very frequently, and since intl traffic at the colo the server's
destined for is extremely expensive ($50NZD / GB excl GST).
Cheers
Andrew
Mike wrote:
Hmmm.
I have 1 server with Fedora Core 3 (unfortunately... I dislike that OS
very
much). While I've never run source on it, I just now downloaded it. I
simply
did a ./srcds_run +map de_dust2. It loaded and is playing fine. I also
have
glibc 2.33 and the OS is entirely up to date.
Have you tried running it with -debug and then view the debug.log to
further
see what exactly the problem is? I doubt it is the free pointer error, as
mine is running fine WITH that error.

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-20 Thread Mike
Hmmm.
I have 1 server with Fedora Core 3 (unfortunately... I dislike that OS very
much). While I've never run source on it, I just now downloaded it. I simply
did a ./srcds_run +map de_dust2. It loaded and is playing fine. I also have
glibc 2.33 and the OS is entirely up to date.
Have you tried running it with -debug and then view the debug.log to further
see what exactly the problem is? I doubt it is the free pointer error, as
mine is running fine WITH that error.
- Original Message -
From: "Andrew Forsberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 18, 2004 9:03 PM
Subject: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

Hi all,
I'm sorry if this is a duplicate post. I've searched the archives of the
different hlds_ lists via google for the following error message,
focussing on amd, 64 bit, and glibc, as the likely source of the error.
I found some likely candidates, but they all suggest glibc 2.3.2 as the
only way around the problem below. Nobody has actually confirmed this
solves anything, and installing an older version of glibc (currently
have 2.3.3) has so far been a real headache for me on Fedora Core 3.
There are a few German forum threads about the problem, but it sounds
like nobody was able to help them either.
FWIW, cs 1.6 and czero run just fine. dod won't, but that's hardly
surprising since they won't release an amd 64bit build anyway. The
system itself is running on a vanilla FC3 x86_64 with minimal services,
and up to date via yum (as at 5pm 19/11/2004 NZST).
Has anyone successfully overcome an error like this for CS Source? I've
had the server audited and hardened for security, etc, and really don't
want to install another distro, or reinstall FC3 in 32 bit mode, then go
through the process again if I don't have to...
Any thoughts much appreciated!
Cheers
Andrew
[EMAIL PROTECTED] srcds]# ./srcds_run -game cstrike +maxplayers 12 -debug
Auto detecting CPU
Using AMD-Opteron (64 bit) Optimised binary.
Enabling debug mode
Auto-restarting the server on crash
Console initialized.
Attempted to create unknown entity type event_queue_saveload_proxy!
Game .dll loaded for "Counter-Strike: Source"
*** glibc detected *** free(): invalid pointer: 0xf7fc9460 ***
./srcds_run: line 342:  2370 Aborted (core dumped)
$HL_CMD
cat: hlds.2354.pid: No such file or directory
email debug.log to [EMAIL PROTECTED]
Fri Nov 19 16:41:15 NZDT 2004: Server restart in 10 seconds
Fri Nov 19 16:41:16 NZDT 2004: Server Quit

___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-19 Thread Andrew Forsberg
Hey there Jacen,
All hlds servers run fine -- both 64 bit native and those I (now know
to) run via 32 bit binaries. However *no* binary works for CS Source, at
all. There are the usual problems with making sure LD_LIBRARY_PATH finds
the right files, and also PATH needs to be updated so the chatter files
are found, but the same show-stopping error comes up every time a
coconut. I think it has something to do with either the specific version
of glibc I'm using, *or perhaps* it's the version of linux threads that
was built with this version of glibc.
Anyhow, if I find out anything useful will report back.
Cheers
Anders
Jacen Andrews wrote:
Hey Forsberg, I haven't tried using CS: Source on my AMD64 system, and
i'm running Debian, but flavor should not really matter in this case. I
had a glibc error as well at one point . The version I use is glibc
2.3.x , anywho my suggestion si to try running cs:source in 32 bit
mode.  See what errors you get. Whenever I attemtped to run Czero in 64
bit mode I got the similar error and no one could help me either, then I
discovered the autodetect processor switches. so just use ./hlds_run
-binary ./hlds_amd -game [all other options here]. This way you don't
have to run your distro in 32-bit mode and only the game you're hosting
:) good luck to you. keep my up to date, i like to keep tabs on amd64
issues.
~Jacen Andrews
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


RE: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-19 Thread Jacen Andrews
Hey Forsberg, I haven't tried using CS: Source on my AMD64 system, and
i'm running Debian, but flavor should not really matter in this case. I
had a glibc error as well at one point . The version I use is glibc
2.3.x , anywho my suggestion si to try running cs:source in 32 bit
mode.  See what errors you get. Whenever I attemtped to run Czero in 64
bit mode I got the similar error and no one could help me either, then I
discovered the autodetect processor switches. so just use ./hlds_run
-binary ./hlds_amd -game [all other options here]. This way you don't
have to run your distro in 32-bit mode and only the game you're hosting
:) good luck to you. keep my up to date, i like to keep tabs on amd64
issues.
~Jacen Andrews
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-19 Thread Andrew Forsberg

I recall that older versions of glibc cause errors. They were hoping
to get 2.2.4 and above working, but I still haven't. I'm pretty sure
2.3 and above work fine though. I used to run CS:S servers on FC2, and
it was a vanilla install to my knowledge, so I'd think FC3 would be
fine. Sorry that's all I can advise on that.

I found a thread on steampowered:
http://www.steampowered.com/forums/showthread.php?threadid=160577&perpage=15&pagenumber=2
(no thanks to their 'disabled search' policy)
This guy seems to share my thoughts on the problem and the search policy
subject too:
http://www.steampowered.com/forums/showthread.php?threadid=178382
:-)
Christoph, are you sure you were running FC2, or was it one of the
development releases leading up to FC2? I know FC1 had 2.3.2 of glibc,
but FC2 had 2.3.3 the same as FC3... Hmm.
Will try compiling 2.3.2 to an /opt/steam/lib/  but had a bitch of a
time with the newer versions of gcc etc installed last time I tried.
S, if anyone knows 2.3.3 is not the problem I'd much appreciate
hearing about it!
Ta!
Anders
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-18 Thread Andrew Forsberg

I recall that older versions of glibc cause errors. They were hoping
to get 2.2.4 and above working, but I still haven't. I'm pretty sure
2.3 and above work fine though. I used to run CS:S servers on FC2, and
it was a vanilla install to my knowledge, so I'd think FC3 would be
fine. Sorry that's all I can advise on that.
As far as dod however ./hlds_run -binary ./hlds_i686 -game dod should
force dod to use the i686 binary, rather than letting hlds_run
auto-detect the cpu which uses the hlds_amd binary which tries load
dod_amd.so which doesn't exsist.


Thank you Lumpy, and Christophe,
Re: the -binary flag -- well, I'm obviously a noob admin. :-) Someone
should put a sticky up on a google-friendly forum about that.
Re: CS: Source -- I'm reinstalling Source again now and hope to
experiment with a non amd -binary flag. That said -- I don't remember
having any trouble with CS: Source on the previous FC2 64 bit setup. I
guess I'd best investigate further and find out what's changed with FC3.
Thanks very much once again for the dod tip!
Cheers
Andrew

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-18 Thread Christoph Franke
--
Andrew Forsberg - Fri, Nov 19 2004 17:03:07 +1300:

> Hi all,
>
> I'm sorry if this is a duplicate post. I've searched the archives of the
> different hlds_ lists via google for the following error message,
> focussing on amd, 64 bit, and glibc, as the likely source of the error.
> I found some likely candidates, but they all suggest glibc 2.3.2 as the
> only way around the problem below. Nobody has actually confirmed this
> solves anything, and installing an older version of glibc (currently
> have 2.3.3) has so far been a real headache for me on Fedora Core 3.
> There are a few German forum threads about the problem, but it sounds
> like nobody was able to help them either.
>
> FWIW, cs 1.6 and czero run just fine. dod won't, but that's hardly
> surprising since they won't release an amd 64bit build anyway. The
> system itself is running on a vanilla FC3 x86_64 with minimal services,
> and up to date via yum (as at 5pm 19/11/2004 NZST).
>
> Has anyone successfully overcome an error like this for CS Source? I've
> had the server audited and hardened for security, etc, and really don't
> want to install another distro, or reinstall FC3 in 32 bit mode, then go
> through the process again if I don't have to...

Well, all I can tell you is that apart of a bunch of "invalid pointer"
messages I don't have any error messages when starting the srcd. Distro
is Fedora Core 2 (AMD64). The lack of some beloved console commands is a
different issue :-)

Regards

Christoph

--
| GnuPG Public Key: http://www.thefranke.net/public.asc |
| The BOFH Archive at: http://bofh.ntk.net/Bastard.html |
| Registered Linux User: 250439 - http://counter.li.org |
--
Content-Description: Digital signature

[ signature.asc of type application/pgp-signature deleted ]
--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-18 Thread Lumpy
On Fri, 19 Nov 2004 17:03:07 +1300, Andrew Forsberg <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm sorry if this is a duplicate post. I've searched the archives of the
> different hlds_ lists via google for the following error message,
> focussing on amd, 64 bit, and glibc, as the likely source of the error.
> I found some likely candidates, but they all suggest glibc 2.3.2 as the
> only way around the problem below. Nobody has actually confirmed this
> solves anything, and installing an older version of glibc (currently
> have 2.3.3) has so far been a real headache for me on Fedora Core 3.
> There are a few German forum threads about the problem, but it sounds
> like nobody was able to help them either.
>
> FWIW, cs 1.6 and czero run just fine. dod won't, but that's hardly
> surprising since they won't release an amd 64bit build anyway. The
> system itself is running on a vanilla FC3 x86_64 with minimal services,
> and up to date via yum (as at 5pm 19/11/2004 NZST).
>
> Has anyone successfully overcome an error like this for CS Source? I've
> had the server audited and hardened for security, etc, and really don't
> want to install another distro, or reinstall FC3 in 32 bit mode, then go
> through the process again if I don't have to...
>
> Any thoughts much appreciated!
>
> Cheers
> Andrew
>
> > [EMAIL PROTECTED] srcds]# ./srcds_run -game cstrike +maxplayers 12 -debug
> > Auto detecting CPU
> > Using AMD-Opteron (64 bit) Optimised binary.
> > Enabling debug mode
> > Auto-restarting the server on crash
> >
> > Console initialized.
> > Attempted to create unknown entity type event_queue_saveload_proxy!
> > Game .dll loaded for "Counter-Strike: Source"
> > *** glibc detected *** free(): invalid pointer: 0xf7fc9460 ***
> > ./srcds_run: line 342:  2370 Aborted (core dumped) $HL_CMD
> > cat: hlds.2354.pid: No such file or directory
> > email debug.log to [EMAIL PROTECTED]
> > Fri Nov 19 16:41:15 NZDT 2004: Server restart in 10 seconds
> > Fri Nov 19 16:41:16 NZDT 2004: Server Quit
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
I recall that older versions of glibc cause errors. They were hoping
to get 2.2.4 and above working, but I still haven't. I'm pretty sure
2.3 and above work fine though. I used to run CS:S servers on FC2, and
it was a vanilla install to my knowledge, so I'd think FC3 would be
fine. Sorry that's all I can advise on that.
As far as dod however ./hlds_run -binary ./hlds_i686 -game dod should
force dod to use the i686 binary, rather than letting hlds_run
auto-detect the cpu which uses the hlds_amd binary which tries load
dod_amd.so which doesn't exsist.

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


[hlds_linux] AMD 64 or possibly glibc 2.3.2 issue with CS Source

2004-11-18 Thread Andrew Forsberg
Hi all,
I'm sorry if this is a duplicate post. I've searched the archives of the
different hlds_ lists via google for the following error message,
focussing on amd, 64 bit, and glibc, as the likely source of the error.
I found some likely candidates, but they all suggest glibc 2.3.2 as the
only way around the problem below. Nobody has actually confirmed this
solves anything, and installing an older version of glibc (currently
have 2.3.3) has so far been a real headache for me on Fedora Core 3.
There are a few German forum threads about the problem, but it sounds
like nobody was able to help them either.
FWIW, cs 1.6 and czero run just fine. dod won't, but that's hardly
surprising since they won't release an amd 64bit build anyway. The
system itself is running on a vanilla FC3 x86_64 with minimal services,
and up to date via yum (as at 5pm 19/11/2004 NZST).
Has anyone successfully overcome an error like this for CS Source? I've
had the server audited and hardened for security, etc, and really don't
want to install another distro, or reinstall FC3 in 32 bit mode, then go
through the process again if I don't have to...
Any thoughts much appreciated!
Cheers
Andrew
[EMAIL PROTECTED] srcds]# ./srcds_run -game cstrike +maxplayers 12 -debug
Auto detecting CPU
Using AMD-Opteron (64 bit) Optimised binary.
Enabling debug mode
Auto-restarting the server on crash
Console initialized.
Attempted to create unknown entity type event_queue_saveload_proxy!
Game .dll loaded for "Counter-Strike: Source"
*** glibc detected *** free(): invalid pointer: 0xf7fc9460 ***
./srcds_run: line 342:  2370 Aborted (core dumped) $HL_CMD
cat: hlds.2354.pid: No such file or directory
email debug.log to [EMAIL PROTECTED]
Fri Nov 19 16:41:15 NZDT 2004: Server restart in 10 seconds
Fri Nov 19 16:41:16 NZDT 2004: Server Quit

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux