SOLVED: Error with squid log analysis scripts

From: Armistead, Jason <ARMISTEJ@dont-contact.us>
Date: Sun, 09 Nov 1997 19:37:00 -0500

Hi all Squidders

I just found the solution to my own problem.

Apparently there was some major enhancement work done to Perl, in the
5.004.01 version, specifically related to the problem of "attempt to
free non-existent shared string .....". So, when I downloaded, compiled
and installed the latest Perl version 5.004.01, the problem messages
went away. Perhaps people using earlier versions of Perl (my problem
was originally with the 5.003.01 version), which didn't have such broken
functionality never even saw these messages. I'm assuming Duane W was
in this category, because I couldn't imagine him not debugging !!!

So, moral of the story - get Perl 5.004.01 and skip 5.003.01 !!!

Maybe this is worth a comment in the FAQ somewhere ?????? It sure
wasted me a lot of time.

Regards

Jason

>----------
>From: Armistead, Jason
>Sent: Monday, 3 November 1997 12:54
>To: 'Squid-Users'
>Subject: Error with squid log analysis scripts
>
>Hi
>
>I'm using the following squid log analysis scripts and getting some warnings
>that, although they don't affect the actual functionality, they do affect the
>results on STDERR (my terminal)
>
>The scripts are exactly as from the "Log Analysis Scripts" page at
>squid.nlanr.net
>
>Here is my Perl information:
>
>Summary of my perl5 (5.0 patchlevel 3 subversion 1) configuration:
> Platform:
> osname=solaris, osvers=2.5.1, archname=sun4-solaris
> uname='sunos ozm10 5.5.1 generic_103640-03 sun4u sparc sunw,ultra-1 '
> hint=recommended, useposix=true, d_sigaction=define
> Compiler:
> cc='gcc', optimize='-O', gccversion=2.7.2
> cppflags=''
> ccflags =''
> stdchar='unsigned char', d_stdstdio=define, usevfork=false
> voidflags=15, castflags=0, d_casti32=define, d_castneg=define
> intsize=4, alignbytes=8, usemymalloc=y, randbits=15
> Linker and Libraries:
> ld='gcc', ldflags =''
> libpth=/lib /usr/lib /usr/ccs/lib
> libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
> libc=/lib/libc.so, so=so
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
> cccdlflags='-fpic', lddlflags='-G'
>
>
>Characteristics of this binary (from libperl):
> Built under solaris
> Compiled at Jul 8 1997 15:07:31
> @INC:
> /usr/local/lib/perl5/sun4-solaris/5.00301
> /usr/local/lib/perl5
> /usr/local/lib/perl5/site_perl/sun4-solaris
> /usr/local/lib/perl5/site_perl
> .
>
>
>And here is the error message:
>
>Attempt to free non-existent shared string at ./access-extract.pl line 131,
><> c
>hunk 5319.
>
>Anyone got a solution to this one ? My Perl skills aren't the greatest I'm
>afraid.
>
>Regards
>
>Jason Armistead
>armistej@oeca.otis.com
>
Received on Sun Nov 09 1997 - 13:42:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:28 MST