I'm having an issue with libapreq2 on my dev machine. I haven't used it in a while, so I reinstalled to make sure that I'm on the latest.

First off, on the reinstall of libapreq2, I'm getting an error on make test: ( osx 10.4.9 )

====================
perl -MTest::Harness -e 'runtests(@ARGV)' version.t cookie.t params.t parsers.t error.t util.t
version....ok
cookie.....ok
params.....ok
parsers....ok
        3/542 skipped: skipping ELF-dependent tests (parsers.c:134)
error......ok
util.......FAILED tests 36-37
        Failed 2/89 tests, 97.75% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------ -------
util.t                    89    2   2.25%  36-37
3 subtests skipped.
Failed 1/6 test scripts, 83.33% okay. 2/747 subtests failed, 99.73% okay.
make[2]: *** [test] Error 255
make[1]: *** [test] Error 2
make: *** [library_test] Error 2
====================

I  tried to figure out the error, but couldn't discern it.

library/t/ -- is the only dir that seems to have a util.t , but it doesn't have 89 tests. let alone finding out what 36/37 are

hopefully someone can help me with that.


I installed anyways, though I have a feeling these may have to do with my issue.

Now, getting back to my code:

my handler has this line:
                $apr= Apache2::Request->new( $r , POST_MAX=> 1_000_000 );

as a side note , it will die on this line;
$apr= Apache2::Request->new( $r , POST_MAX=> 1_000_000 , DISABLE_UPLOADS=> 0); [Thu Apr 12 19:02:45 2007] [notice] child pid 12021 exit signal Bus error (10)

note the DISABLE_UPLOADS=> 0 -- always gives me the Bus error.

however, these lines always work:
$apr= Apache2::Request->new( $r , POST_MAX=> 1_000_000 , DISABLE_UPLOADS=> 1); $apr= Apache2::Request->new( $r , POST_MAX=> 10_000 , DISABLE_UPLOADS=> 1);

If i try to upload a 'small' item, i'll get this: "ERROR Unknown error: 0" as my body_status or the process will hang or i'll get a segfault. If I try to uplad something too big, i'll get the right 'too big' error, or the process will hang or i'll get a segfault -- mostly a segfault or hang.


I'm rebuilding perl with debugging on this machine right now. and will post a stack trace later. pssibly in the mean time someone can point me in the right direction.

Reply via email to