Re: [squid-users] Possible Bug - Floating point exception, exits squid on signal 8

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 21 Dec 2002 22:09:19 +0100 (CET)

Start by reading the Squid FAQ entry on how to report bugs. It contains
useful information on how to get stack traces.

Regards
Henrik

On Sat, 21 Dec 2002, Karl Sumpter wrote:

> Thanks for that Henrik,
>
> But - can you offer assistance on a "stacktrace" -
> it's something i have never had to accomplish
> before...
>
> Thanks
>
> Karl
>
> --- Henrik Nordstrom <hno@marasystems.com> wrote:
> > Please get a stacktrace of exacly where the error
> > occurs and register
> > a bugzilla entry for the problem.
> >
> > Regards
> > Henrik
> >
> >
> > On Friday 20 December 2002 14.27, Karl Sumpter
> > wrote:
> > > Hi all,
> > >
> > > I am encountering a rather awful problem with
> > > squid-2.5STABLE1.
> > >
> > > I discovered it's exiting and restarting (quite
> > > annoying during a store rebuild) on a very regular
> > > basis. After reading other posts, i started to
> > enable
> > > debugging and sure enough it died with a "Floating
> > > Point Exception". The fix for this was to edit
> > > src/neighbors.c line 275 and change "60" to
> > "60.0".
> > > Alas this fix was for a 2.4 version of Squid and
> > 2.5
> > > already has this change (on about line 279 iirc).
> > >
> > > After looking closer at the code, its in the
> > section
> > > that rehashes the ROUND_ROBIN database every 5
> > minutes
> > > - and sure enough, when i watched a little closer
> > it
> > > does indeed quit and restart every 5 minutes to
> > the
> > > second.
> > >
> > > I also do have three ROUND_ROBIN neighbors
> > configured
> > > - so this should pinpoint the problem for those of
> > you
> > > who are more able to code things than i am.
> > >
> > > Sections of Logfiles below:
> > >
> > > ##Cache.log ##
> > >
> > > 2002/12/20 19:42:24| Store rebuilding is 11.0%
> > > complete
> > > 2002/12/20 19:42:33| Starting Squid Cache version
> > > 2.5.STABLE1-20021108 for
> > i386-unknown-freebsd4.6.2...
> > > 2002/12/20 19:42:33| Process ID 66327
> > >
> > > ## /var/log/messages ##
> > >
> > > Dec 20 19:42:30 cache /kernel: pid 66297 (squid),
> > uid
> > > 65534: exited on signal 8
> > > Dec 20 19:42:30 cache squid[61813]: Squid Parent:
> > > child process 66297 exited due to signal 8
> > > Dec 20 19:42:33 cache squid[61813]: Squid Parent:
> > > child process 66327 started
> > >
> > > For your info, my system.
> > >
> > > Dual Pentium Xeon 2.2ghz (Hyperthreading enabled)
> > > 2 GB RAM
> > > 82 GB SCSI UW
> > >
> > >
> > > I appreciate all who read this, and even more so
> > > whoever posts a solution.
> > >
> > > Thanks
> > >
> > > Karl
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> > now.
> > > http://mailplus.yahoo.com
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
Received on Sat Dec 21 2002 - 14:09:24 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:10 MST