Re: Attempt to free unreferenced scalar (again)
Matt Sergeant wrote: Hmm.. maybe you have an original 5.005 (and no patchlevel) then. I seriously recommend a perl upgrade. There were bugs there that have since been fixed, and some of those may lead to your error. Happens here on Perl 5.005_03, Apache 1.3.6, mod_perl 1.21 all built locally with gcc 2.95 under Solaris 2.6. It's odd: used to happen a lot on server shutdown (ie. when doing an apachectl graceful), stopped pretty much altogether for a while and just started again this week under normal operation as well as shutdown. Nothing changed at this end that I can think of... Pete -- use Disclaimer::Standard; # Motorola GSM Software Factory my $phone='+44 1793 564450';# "'Not twisted,' Salzy once said of my $fax='+44 1793 566918'; # her own passion, 'it is helical. my $mobile='+44 7973 725120'; # That sounds better.'"
Re: Attempt to free unreferenced scalar (again)
On Tue, 04 Jan 2000, Bill Moseley wrote: I looked at the archive, and noticed Doug's patch in perl_conf.c: http://www.geocrawler.com/archives/3/182/1999/7/0/2414262/ -hv_store(nhv, (char*)key, klen, rv, FALSE); +hv_store(nhv, (char*)key, klen, SvREFCNT_inc(rv), FALSE); As far as I can tell (from finding perl_conf.c on this machine) it already has this patch. Running Apache 1.3.9 and, I think*, mod_perl-1.21. Perl is 5.005 and Sun 2.6. I'm not running Apache::StatINC, but PerlFreshRestart ^ Can you be more specific. Sometimes these ATFUS bugs are perl bugs, so it's worth giving the full perl version info. -- Matt/ Details: FastNet Software Ltd - XML, Perl, Databases. Tagline: High Performance Web Solutions Web Sites: http://come.to/fastnet http://sergeant.org Available for Consultancy, Contracts and Training.
Re: Attempt to free unreferenced scalar (again)
At 04:47 PM 1/4/00 +, Matt Sergeant wrote: As far as I can tell (from finding perl_conf.c on this machine) it already has this patch. Running Apache 1.3.9 and, I think*, mod_perl-1.21. Perl is 5.005 and Sun 2.6. I'm not running Apache::StatINC, but PerlFreshRestart ^ That is the full version. Bill Moseley mailto:[EMAIL PROTECTED]
Re: Attempt to free unreferenced scalar (again)
Here's perl -V (Sorry Matt for emailing you directly. I wish the list used a Reply-To: to the list so replying wouldn't default to the individual.) 115) ~/apache %/usr/local/bin/perl5.005 -V Summary of my perl5 (5.0 patchlevel 5 subversion 0) configuration: Platform: osname=solaris, osvers=2.5.1, archname=sun4-solaris uname='sunos sunsite 5.5.1 generic sun4d sparc sunw,sparccenter-2000 ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='gcc', optimize='-O', gccversion=2.7.0 cppflags='' ccflags ='' stdchar='unsigned char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc -lcrypt libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Built under solaris Compiled at Sep 14 1998 15:45:04 %ENV: PERLLIB="/data/_g/lii/perl_lib/lib/site_perl/5.005:/data/_g/lii/perl_lib/lib /site_perl/5.005/sun4-solaris" @INC: /data/_g/lii/perl_lib/lib/site_perl/5.005 /data/_g/lii/perl_lib/lib/site_perl/5.005/sun4-solaris /usr/local/perl5.005/lib/5.005/sun4-solaris /usr/local/perl5.005/lib/5.005 /usr/local/perl5.005/lib/site_perl/5.005/sun4-solaris /usr/local/perl5.005/lib/site_perl/5.005 . Bill Moseley mailto:[EMAIL PROTECTED]