perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: win32 bb->cleanup crashes are still there?
Date Sun, 05 Dec 2004 15:19:13 GMT
Joe Schaefer <joe+gmane@sunstarsys.com> writes:

> Randy Kobes <randy@theoryx5.uwinnipeg.ca> writes:
>
>
> [...]
>
>>>          # transform data here
>>>          my $bucket = APR::Bucket->new(uc $data);
>>>          $bb_out->insert_tail($bucket);
>
>>    This one crashes for me, after subtest 1. it's an access
>> violation in libaprutil.lib - after calling it up in the
>> debugger, tests 2 and 3 run, but fail ("HELLO" and "WORLD"
>> are expected, but nothing is received).
>
> Err, unlesss something's changed recently, you're missing 
> a bucket allocator argument:
>
>      my $bucket = APR::Bucket->new(uc $data, $c->bucket_alloc);

Oops, looks like the args are reversed:

      my $bucket = APR::Bucket->new($c->bucket_alloc, uc $data);

However, I'm still a bit confused why the XS didn't croak.
I must have missed something upthread in this discussion- 
off to check now.

-- 
Joe Schaefer


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


Mime
View raw message