On Sun, Jan 13, 2002 at 10:42:34PM -0500, Ben Juang wrote: > um.. pardon my ignorance, but could you tell me how that's done? > > ~Ben > > On Sunday, January 13, 2002, at 04:01 PM, Edwin Groothuis wrote: > > > On Sun, Jan 13, 2002 at 01:22:52PM -0500, Ben Juang wrote: > >> Um, I trying to run Rom2.4b6 w/ a OLC patched to it. It worked > >> perfectly for a while and now when I start it up, it just creates a > >> blank log file and when I telnet into it, it connects but stays blank. > >> (as in it shows nothing at all). Help? > > > > When you run it in gdb at that moment and interrupt it when it > > hangs, that's where you have to look. It might be reverse DNS > > lookups, it might be an infinite loop somewhere.
Run the mud in gdb: [~/mud/fataldim/area] [EMAIL PROTECTED]>gdb ../src/rom [...] (gdb) run [...] ROM is rocking on port 4000 now telnet to the mud and when it hangs, press ^C in the gdb window: [...] Program received signal SIGINT, Interrupt. 0x12345678 in somefunction () (gdb) where [...] #6 0x807826d in main (argc=5, argv=0xbfbff738) at comm.c:197 #7 0x8049bbb in _start () With the "frame" command you can go up and down the stack and see which functions where called. With "list" you can see a couple of lines of code of that function. With "p name" you can see the value of a variable. Etc. Look likes refcards.com is still down, see the url in a previous message for the reference card. Print it (it's two pages), turn one page, slide it into a transparent folder and keep that one close to your computer for easy access. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org [EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/

