1.29 sees overly sensitive to small errors in html documents that a browser 
would ignor, returning empty documents to browser and logging seg faults to 
apache error log.

Details
--------

>From Apache error log:

[Fri Nov 12 12:28:23 2004] [notice] Apache/1.3.33 (Unix) mod_perl/1.29 
PHP/4.3.9 
configured -- resuming normal operations
[Fri Nov 12 12:28:23 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Nov 12 12:28:41 2004] [notice] child pid 30546 exit signal Segmentation 
fault (11)

[EMAIL PROTECTED] tkevans]$ /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=linux, osvers=2.2.22-7.0.2, archname=i686-linux
    uname='linux appian 2.2.22-7.0.2 #1 mon sep 23 06:55:40 edt 2002 i686 
unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -I/usr/local/include 
-I/usr/include/gdbm'
    ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-85)', 
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, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.2.4'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    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 Nov  9 2004 17:23:18
  @INC:
    /usr/local/lib/perl5/5.8.5/i686-linux
    /usr/local/lib/perl5/5.8.5
    /usr/local/lib/perl5/site_perl/5.8.5/i686-linux
    /usr/local/lib/perl5/site_perl/5.8.5
    /usr/local/lib/perl5/site_perl/5.6.1
    /usr/local/lib/perl5/site_perl

Makefile.PL options:

perl Makefile.PL USE_DSO=1

httpd.conf: LoadModule perl_module        libexec/libperl.so

No other optional modules are compiled into apache.

make test results (all pass)

./apaci/load_modules.pl ../apache_1.3.33/src
../apache_1.3.33/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/local/bin/perl t/TEST 0
still waiting for server to warm up...ok
ok
ok
ok
modules/actions.......ok                                                     
modules/cgi...........ok                                                     
modules/constants.....ok                                                     
modules/cookie........skipped
        all skipped: no reason given
modules/file..........skipped
        all skipped: no reason given
modules/httpdconf.....ok                                                     
modules/include.......skipped
        all skipped: no reason given
modules/log...........skipped
        all skipped: no reason given
modules/module........skipped
        all skipped: no reason given
modules/perlrun.......Useless content call in void context at 
../blib/lib/Apache/testold.pm line 252
modules/perlrun.......ok                                                     
modules/psections.....skipped
        all skipped: no reason given
modules/request.......skipped
        all skipped: no reason given
modules/src...........ok                                                     
modules/stage.........skipped
        all skipped: no reason given
modules/status........ok                                                     
modules/symbol........skipped
        all skipped: no reason given
modules/uri...........skipped
        all skipped: no reason given
modules/util..........skipped
        all skipped: no reason given
internal/api..........ok                                                     
internal/auth.........ok                                                     
internal/croak........ok                                                     
internal/dirmagic.....ok                                                     
internal/error........ok                                                     
internal/headers......ok                                                     
internal/hooks........ok                                                     
internal/http-get.....ok                                                     
internal/http-post....ok                                                     
internal/proxy........ok                                                     
internal/redirect.....ok                                                     
internal/rwrite.......ok                                                     
internal/stacked......skipped
        all skipped: no reason given
internal/table........skipped
        all skipped: no reason given
internal/taint........ok                                                     
All tests successful, 13 tests skipped.
Files=33, Tests=266, 11 wallclock secs ( 9.05 cusr +  0.82 csys =  9.87 CPU)
kill `cat t/logs/httpd.pid`
rm -f t/logs/httpd.pid


Two HTML documents are attached.  The first, (index.lori.html) croaks mod_perl; 
the second (anlgform.html) does not.

If I remove the bogus 'mm:layoutgroup="true"' element, the first file serves 
fine.  With it, apache seg faults.

Tim Evans, TKEvans.com, Inc.    |    5 Chestnut Court
[EMAIL PROTECTED]               |    Owings Mills, MD 21117
http://www.tkevans.com/         |    443-394-3864
http://www.come-here.com/News/  |    

Attachment: index.lori.html
Description: index.lori.html

Attachment: anlgform.html
Description: anlgform.html

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to