httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Prime" <dsaljura...@gmail.com>
Subject Re: Should we release 2.10?
Date Mon, 14 Jul 2008 04:44:47 GMT
Apparently i suck at actually sending mail to the list.  I blame gmail.

On Mon, Jul 14, 2008 at 12:42 AM, Adam Prime <dsaljurator@gmail.com> wrote:
> On Sun, Jul 13, 2008 at 5:25 PM, Bojan Smojver <bojan@rexursive.com> wrote:
>>
>> Given it's a request to the whole development group, could you resend to
>> the list so that other developer see it too?
>>
>> It would also be useful to have a backtrace from GDB when this happens.
>
> If someone can point my to instructions on how to generate a
> backtrace, i'll do what i can.  It's not something i have any
> experience with though.
>
> I've fiddled with this a little further.  If you take the following handler:
>
> package Kabob::Seg;
>
> use Apache2::Request;
>
> sub handler {
>    my $req = Apache2::Request->new($r);
>    $r->content_type('text/plain');
>
>    $r->print('hi');
>
>    return Apache2::Const::OK;
> }
>
> 1;
>
> and run it under SetHandler perl-script, it will segfault.  If you run
> it under SetHandler modperl, then you get this in your error_log (and
> a 500):
>
> [Mon Jul 14 00:28:37 2008] [error] [client 127.0.0.1] Apache2->handle
> called without setting Apache2->request! at
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/Apache2/Request.pm line
> 15.\n
>
> I have no idea what the difference is.
>
> Adam
>

Mime
View raw message