I have never used gdb before... I have just installed it and typed the
command you suggested. I'm not sure what i'm looking for.
I got:
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "alphaev56-dec-osf4.0e"...
Core was generated by `squid'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/shlib/libm.so...done.
Reading symbols from /usr/shlib/libc.so...done.
#0 0x3ff800d63ac in strcmp () from /usr/shlib/libc.so
This core I got again today. The other thing I noticed was in the
cache.log I have:
2001/01/23 00:00:27| accessLogRotate: Rotating
2001/01/23 04:21:39| Starting Squid Cache version 2.3.STABLE4 for
alpha-dec-osf4.0...
At 0:00 hours the logs are rotated. Any ideas where I should be looking?
Jai Lamerton.
On Mon, 22 Jan 2001, Robert Collins wrote:
> In secure setups squid will often not have access to write to the
> location of the binaries. Thus the default location to write coredumps
> is the root of the 1st swap dir. It's by design, and there is a config
> entry to change the location. It has no bearing on why squid crashed.
> Run gdb <path to squid binary> <path to core file> and type bt to get a
> backtrace and thus some insight on why it crashed.
>
> Rob
>
> > -----Original Message-----
> > From: Jai Lamerton [mailto:jlamerto@scu.edu.au]
> > Sent: Monday, 22 January 2001 2:35 PM
> > To: Brian Beuning
> > Cc: squid-users@ircache.net
> > Subject: Re: [SQU] Why a core dump in cache disk?
> >
> >
> > It was squid that dumped... But why would it dump in a cache
> > dir and not
> > where the squid binary is?
> >
> > Could that suggest that maybe the store routine in squid crashed while
> > reading or writting to that particular dir?
> >
> > Jai Lamerton.
> >
> > On Sun, 21 Jan 2001, Brian Beuning wrote:
> >
> > > Try running the file(1) command on the core file.
> > > It will usually tell you want program crashed.
> > >
> > > Brian Beuning
> > >
> > >
> > > Jai Lamerton wrote:
> > >
> > > > Hi all, I was wondering what would cause a core dump in
> > the top of my
> > > > cache dir, the same dir level as the swap.state file.
> > > >
> > > > Jai Lamerton.
> > > >
> > > > --
> > > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> > >
> >
> > --
> > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> >
> >
>
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Mon Jan 22 2001 - 16:03:37 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:31 MST