The easiest approach for getting a stacktrace if you cannot find the
core file is to start Squid from inside the debugger.
gdb squid
run -NC
[now make it crash. gdb will return]
backtrace
-- Henrik Nordstrom Squid hacker Robert Collins wrote: > > Henk-Jan, > gdb is a tool used on many computer platforms to perform debugging. Corefiles are dumps of the internal state of a program when > abnormal errors have occured. > > I don't have a a linux box here just now, (so if anyone in dev land wants to speak up on any inaccuracies..) > > When squid dies it writes a core file (look in the top of your cache directory which is where it goes by default). You should have a > file squid.core there. > > Run gdb bin/squid cache/squid.core from your squid directory. This will load up gdb, with the squid executable and the core file. > > Now type bt[Enter] > frame[enter] > > and drop me | the list the results. > > Thanks Rob, > > ps we had email crossover before, I think we're synchronised now :] > > ----- Original Message ----- > From: "Henk-Jan Kloosterman" <proxy@mail.kloosterman.org> > To: "Robert Collins" <robert.collins@itdomain.com.au> > Sent: Friday, February 16, 2001 9:01 AM > Subject: Re: [SQU] Looks like a newbie problem: > > > > > ----- Original Message ----- > > From: "Robert Collins" <robert.collins@itdomain.com.au> > > To: "Henk-Jan Kloosterman" <proxy@kloosterman.org> > > Cc: <squid-dev@ircache.net> > > Sent: Thursday, February 15, 2001 10:40 PM > > > > > > > > > > > > > > See bottom: > > > > > > > > I did it with a fresh clean squid 2.5 download (downloaded it today, > > without > > > > ssl patch and/or DAUTH option) > > > > Running on a RH 7.0 box with all updates (Default) > > > > > > > > > > > > > Does the behaviour seem the same as you where having before (blank screen > > no data comes through)? > > > > > > Squid is crashing. I need you to get a coredump and a frame list and > > backtrace. (With gdb that can be done by the frame and bt > > > commands). > > > > > > Rob > > > > The behaviour is exaclty the same. (Netscape error: The document contained > > no data) > > > > I am not a software developer: What do you men with your last line? (The gdb > > bit?) > > > > > > > >Received on Thu Feb 15 2001 - 15:52:28 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:31 MST