To summarize:

With large log files, I was having problems with analog 3.31
dumping core during the writing of the DIR report.  Stephen
suggested that I modify output2.c by adding a new line between 
existing lines 1871 & 1872:

   fflush(outf);

This worked wonderfully.  Now I'm able to see all directories
with 0.05% of the page views, which gives us all the detail
we've been craving!  Thanks, Stephen!

Jason Priebe
WRAL OnLine
http://www.wral-tv.com/


> -----Original Message-----
> From: Stephen Turner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 22, 1999 12:37 PM
> To: '[EMAIL PROTECTED]'
> Subject: Re: [analog-help] analog
> 
> 
> On Tue, 22 Jun 1999, Priebe, Jason wrote:
> > 
> > I have a bug report, however.  Lately, I've been seeing core dumps
> > that happen while the software is writing out its report --
> > specifically, it seems that it happens during the DIR report.
> > I turned off the DIR report, and sure enough, no core dump.
> > 
> 
> Someone else reported a similar bug on NT. I've been able to 
> reproduce his
> bug on my Linux box, and even cure it, although I have no 
> real idea why it's
> happening. It seemed to depend not only on the input, but on whether
> optimisation was on. And the fix shouldn't make any 
> difference to anything.
> 
> The fix was as follows. If you're using 3.31, add a new line between 
> existing lines 1871 & 1872:
>    fflush(outf);
> 
> I don't know the line numbers for other versions, but it's 
> between calls to
> printcols() and printtree() within the function printtree().
> 
> Please do try this out and let me know whether it fixes it. 
> And if anyone
> can explain it...
> 
> -- 
> Stephen Turner    [EMAIL PROTECTED]    
http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to