You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by ydnar <yd...@paradigm-healthcare.com> on 2003/09/30 02:07:14 UTC

[mp2] useless warning on ModPerl::Util::exit()

Bug report follows.

Thanks a million.
y



-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

Useless warning in error_log:

  [Mon Sep 29 16:43:15 2003] -e: Use of uninitialized value.

This occurs whenever a handler script calls ModPerl::Util::exit()
or simply exit(). There is no other available information.

Running Perl 5.8.0 and mod_perl 1.99.10, both fresh rebuilds from
source today.

This is the *only* warning in a fairly large mod_perl application,
and the only unfixable problem I've had porting it.


Otherwise, thumbs up. mod_perl 2.0 rocks. :)



2. Used Components and their Configuration:

*** mod_perl version 1.9910

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_AP_PREFIX   => /usr/local/apache2
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1
  MP_USE_STATIC  => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.47
Server built:   Sep 19 2003 15:41:14
Server's Module Magic Number: 20020903:4
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.21-xfs, archname=i686-linux-thread-multi
    uname='linux megalon.paradigm-hcs.com 2.4.21-xfs #1 smp tue jul 29 21:59:25 pdt 2003 i686 unknown '
    config_args='-ds -e -s -Dprefix=/usr -Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.1)', 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='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -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='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Sep 29 2003 11:16:38
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/lib/perl5/5.8.1/i686-linux-thread-multi
    /usr/lib/perl5/5.8.1
    /usr/lib/perl5/site_perl/5.8.1/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl
    .


3. This is the core dump trace: (if you get a core dump):

  [CORE TRACE COMES HERE]

This report was generated by ./t/REPORT on Mon Sep 29 23:46:41 2003 GMT.

-------------8<---------- End Bug Report --------------8<----------

Note: Complete the rest of the details and post this bug report to
dev <at> perl.apache.org. To subscribe to the list send an empty
email to dev-subscribe@perl.apache.org.


[mp2] POST form limits; mod_perl + Mozilla Firebird

Posted by ydnar <yd...@paradigm-healthcare.com>.
I have a large form (1000+ form elements) which uses method="POST". Only 
the first 429 elements/parameters are passed to my mod_perl application.

The odd thing is, it only happens with Mozilla Firebird (Win32), and not 
MSIE. I originally thought this was a browser issue, but when I tried 
the same code under CGI, all elements were successfully passed from both 
Firebird and MSIE.

Upgrading from Firebird 0.7.1 to the latest nightly (dated 2003-11-12) 
increased the number of passed form elements from approx. 269 to the 
current 429. Strangely, f the form used method="GET" then all form 
elements were passed regardless of browser type or version.

I am going to try to reproduce the problem under the most recent build 
of mod_perl now.

If this can be narrowed down to mod_perl specifically, I'll make a more 
formal bug report. I was wondering if anyone had seen anything like this 
before.

Thanks,
y




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] POST form limits; mod_perl + Mozilla Firebird

Posted by ydnar <yd...@paradigm-healthcare.com>.
Please disregard, the latest build (mod_perl-1.99_11) fixed the problem.

Cheers,
y




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] useless warning on ModPerl::Util::exit()

Posted by Stas Bekman <st...@stason.org>.
ydnar wrote:

> Useless warning in error_log:
> 
>   [Mon Sep 29 16:43:15 2003] -e: Use of uninitialized value.
> 
> This occurs whenever a handler script calls ModPerl::Util::exit()
> or simply exit(). There is no other available information.
> 
> Running Perl 5.8.0 and mod_perl 1.99.10, both fresh rebuilds from
> source today.

According to your report you are running 5.8.1:

 > *** /usr/bin/perl -V
 > Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:

I tested it with 5.8.0 and 5.8.1, but I can't get to reproduce it.

Do you get this problem if you run this test:

cd modperl-1.99-dev
t/TEST -v modperl/exit

run:

tail -F t/logs/error_log

in another console and see if you get this warnings. If not, please post a 
very short handler which we can reproduce the problem with (ideally adjust 
t/response/TestModperl/exit.pm to reproduce it).

> This is the *only* warning in a fairly large mod_perl application,
> and the only unfixable problem I've had porting it.
> 
> Otherwise, thumbs up. mod_perl 2.0 rocks. :)

Thanks for the kind words ;)

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org