httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: svn commit: r165196 - /httpd/apreq/trunk/include/apreq_util.h
Date Fri, 29 Apr 2005 15:08:06 GMT
Geoffrey Young <geoff@modperlcookbook.org> writes:

> unreasonable to bump up to that version.  but the choice is yours, of
> course :) 

ITYM "ours".   +1 for you to commit your patch, dear committer.

> fwiw, even on 2.0.48 I get failures on worker
>
>   t/apreq/cgi.t      10  2560    41   10  24.39%  32-41
>   t/apreq/upload.t    0    13    20   40 200.00%  1-20
>
> with no messages in the error log save "premature end..." foo.  the
> failurs all seem to stem from uploads, but when I run just the upload
> test by itself I get a core dump
>
> (gdb) thread 3
> [Switching to thread 3 (process 16916)]#0  0x010d804a in Perl_sv_unmagic
> (my_perl=0x9f16c08, sv=0x0, type=99) at sv.c:4842
> 4842        if (SvTYPE(sv) < SVt_PVMG || !SvMAGIC(sv))
> (gdb) bt
> #0  0x010d804a in Perl_sv_unmagic (my_perl=0x9f16c08, sv=0x0, type=99) at
> sv.c:4842

That (sv = 0x0) definitely needs fixing.  See what happens if you add a 
"use APR::Request::Error" at the top of upload.pm.  If that helps, we
probably should add that to glue/perl/xsbuilder/APR/Request.pm.

-- 
Joe Schaefer


Mime
View raw message