[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:

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
] Debugging a Linux server? 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

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] 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

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