[hlcoders] Debugging a Linux server?

2005-01-15 Thread DOOManiac
Anyone have luck w/ debugging a Linux server? For some reason my segfaults upon startup under linux. Says the error is line 134, but doesn't say what file it came from, so I have no clue how to go about fixing it. I found some tips on gdb (a GNU debugger) here:

SV: [hlcoders] [ Basic question (prob. 101st same question ]

2005-01-15 Thread Jakob W. Nielsen
It will also load under VS.NET 2002 (7.0) if you change the version in the project files. (.vcproj) -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Draco Sendt: 10. januar 2005 13:59 Til: hlcoders@list.valvesoftware.com Emne: Re: [hlcoders] [ Basic

Re: [hlcoders] Debugging a Linux server?

2005-01-15 Thread Jeffrey \botman\ Broome
DOOManiac wrote: I addedgdb --args ./srcds_i486 -game modname -norestartto my srcds_run (actually, I copied that as srcds_run_debug and edited the copy). I run the command and it leaves me at a gdb prompt, but from there I have no idea what to do. The gbx command 'r' will run the

Re: [hlcoders] Debugging a Linux server?

2005-01-15 Thread DOOManiac
Thanks for the help. That's the -g option correct? If so, then yes. I tried r at the (gbd) prompt, and it tried to startup, but then said there was no process. Here's a copy paste: [EMAIL PROTECTED] steam]$ ./srcds_run_debug -console -game espionage -IP jmetcalf.2y.net -port 27017 +map esp_test

Re: [hlcoders] Debugging a Linux server?

2005-01-15 Thread jeff broome
On Sat, 15 Jan 2005 15:44:15 -0600, DOOManiac [EMAIL PROTECTED] wrote: Thanks for the help. That's the -g option correct? If so, then yes. I tried r at the (gbd) prompt, and it tried to startup, but then said there was no process. Here's a copy paste: I suspect your script to run gdb is

Re: [hlcoders] Debugging a Linux server?

2005-01-15 Thread DOOManiac
Still can't get it working :( [EMAIL PROTECTED] steam]$ gdb srcds_i486 GNU gdb Red Hat Linux (6.1post-1.20040607.43rh) *SNIP* This GDB was configured as i386-redhat-linux-gnu...Using host libthread_db library /lib/tls/libthread_db.so.1. (gdb) set args -console -game espionage -IP jmetcalf.2y.net

RE: [hlcoders] Debugging a Linux server?

2005-01-15 Thread Alfred Reynolds
Run this command before running gdb: export LD_LIBRARY_PATH=.:bin:$LD_LIBRARY_PATH - Alfred Original Message From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DOOManiac Sent: Saturday, January 15, 2005 3:34 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders]

Re: [hlcoders] Debugging a Linux server?

2005-01-15 Thread Jeffrey \botman\ Broome
DOOManiac wrote: Still can't get it working :( [EMAIL PROTECTED] steam]$ gdb srcds_i486 GNU gdb Red Hat Linux (6.1post-1.20040607.43rh) *SNIP* This GDB was configured as i386-redhat-linux-gnu...Using host libthread_db library /lib/tls/libthread_db.so.1. (gdb) set args -console -game espionage -IP

RE: [hlcoders] filesystem_steam.dll

2005-01-15 Thread Mike Dussault
You should only have 1 steam.dll per installation, and it should be in your base steam folder (where steam.exe is). If you have a steam.dll up in your half-life 2\bin directory, you'll be in trouble when there's an update. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [hlcoders] Debugging a Linux server?

2005-01-15 Thread DOOManiac
Hm... Okay, well then I guess I can't debug till the kernel is updated. Still I wonder why the mod crashes in the first place. I went ahead and did a compile of the fresh,unaltered,straight-from-the-wizard SDK and it crashes on startup too... -- Russell DOOManiac Weed

RE: [hlcoders] Debugging a Linux server?

2005-01-15 Thread Matt Boone
Also try searching for the answer to life, the universe and everything -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey botman Broome Sent: Saturday, January 15, 2005 3:41 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Debugging a

Re: [hlcoders] Debugging a Linux server?

2005-01-15 Thread Peter Bortas
DOOManiac [EMAIL PROTECTED] writes: Anyone have luck w/ debugging a Linux server? I've read this thread I think a run_in_debugger-script of some sort will save you a lot of time. I used to use something like this when debugging Science Industry, but I don't have a dedicated server installed

Re: [hlcoders] filesystem_steam.dll

2005-01-15 Thread Teddy
Try copying hl2.exe into your C:\Games\Half-Life\steam\SteamApps\SourceMods and run it from there, rather than from C:\Games\Half-Life\steam\SteamApps\fragmented\half-life 2\ On Sat, 15 Jan 2005 17:20:24 -0800, Mike Dussault [EMAIL PROTECTED] wrote: You should only have 1 steam.dll per

Re: [hlcoders] filesystem_steam.dll

2005-01-15 Thread Scott McNaught
Its all good guys! Just had to run hl2 once through steam before running it through the debugger. Thanks. - Original Message - From: Teddy [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com Sent: Sunday, January 16, 2005 4:28 PM Subject: Re: [hlcoders] filesystem_steam.dll Try copying