On 20/4/02 7:08 PM, "Stas Bekman" <[EMAIL PROTECTED]> wrote:
> Andrew Tomazos wrote: >> I am encountering an intermittent error while running mod_perl 1.26 on >> Apache 1.3.19. >> >> In Apache's error log there appears two different kinds of errors message >> with no pattern and varying frequency. >> >> The first is: >> >> "null: Attempt to free unreferenced scalar.". >> >> The second is: >> >> "[notice] child pid X exit signal Segmentation fault (11)" >> >> ...where X is a process number like 14318, 14564 etc. >> >> My configuration is completed basic, I am simply running the "Hello World" >> example exactly as it appears in the O'Reilly "Writing Apache modules with >> Perl and C". >> >> I have searched the web and I can see many queries similar to this one, >> leading me to believe it is a common problem - but I am yet to find the >> solution. >> >> Can someone please tell me what this is or how to go about debugging it? I >> am at my wits end. > > http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/guide/help.html# > How_to_Report_Problems I've included an excerpt from the Error_Log, perl -v and some of the installed mod_perl files belows. Let me know if I need to include anything else. -Andrew. ERROR_LOG: [Sat Apr 20 05:11:54 2002] null: Attempt to free unreferenced scalar. [Sat Apr 20 05:11:55 2002] [notice] child pid 14919 exit signal Segmentation fault (11) [Sat Apr 20 05:12:02 2002] null: Attempt to free unreferenced scalar. [Sat Apr 20 05:12:03 2002] [notice] child pid 14918 exit signal Segmentation fault (11) [Sat Apr 20 05:12:12 2002] null: Attempt to free unreferenced scalar. [Sat Apr 20 05:12:13 2002] [notice] child pid 14920 exit signal Segmentation fault (11) [Sat Apr 20 05:12:25 2002] null: Attempt to free unreferenced scalar. [Sat Apr 20 05:12:26 2002] [notice] child pid 14922 exit signal Segmentation fault (11) PERL -V: Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.2, archname=i386-linux uname='linux grommet 2.4.2 #1 smp sun feb 25 16:33:33 pst 2001 i686 unknown ' config_args='-de -Dprefix=/usr -Darchname=i386-linux -Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/i386-linux -Dsitelib=/usr/lib/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl/i386-linux' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.2.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Apr 11 2001 22:57:30 @INC: /usr/lib/perl5/i386-linux /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl /usr/lib/perl5/site_perl . SOME MOD_PERL FILES: /usr/lib/perl5/site_perl/i386-linux/auto/Apache/mod_perl.exp /usr/lib/perl5/site_perl/i386-linux/auto/Apache/include/modules/perl/mod_per l.h /usr/lib/perl5/site_perl/i386-linux/auto/Apache/include/modules/perl/mod_per l_xs.h /usr/lib/perl5/site_perl/i386-linux/auto/Apache/include/modules/perl/mod_per l_version.h /usr/lib/perl5/site_perl/i386-linux/auto/mod_perl /usr/lib/perl5/site_perl/i386-linux/auto/mod_perl/.packlist /usr/lib/perl5/site_perl/i386-linux/mod_perl_hooks.pm.PL /usr/lib/perl5/site_perl/i386-linux/mod_perl.pm /usr/lib/perl5/site_perl/i386-linux/mod_perl_cvs.pod /usr/lib/perl5/site_perl/i386-linux/mod_perl_method_handlers.pod /usr/lib/perl5/site_perl/i386-linux/mod_perl.pod /usr/lib/perl5/site_perl/i386-linux/mod_perl_tuning.pod /usr/lib/perl5/site_perl/i386-linux/mod_perl_traps.pod /usr/lib/perl5/site_perl/i386-linux/mod_perl_hooks.pm /usr/lib/perl5/site_perl/i386-linux/cgi_to_mod_perl.pod