perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@ectoplasm.org>
Subject Re: [mp2] Perl 5.10 fixes from SVN cause SIGBUS on sparc
Date Tue, 11 Mar 2008 05:53:54 GMT
Niko Tyni wrote:
> On Mon, Mar 10, 2008 at 12:06:54AM -0700, Philippe M. Chiasson wrote:
> 
>> Niko Tyni wrote:
>>> We're switching to Perl 5.10 in Debian soon, and I'm trying to update the
>>> mod_perl2 package to keep it working. Unfortunately the ModPerl-Registry
>>> test suite is failing on the Sparc architecture because apache2 is killed
>>> by a bus error (SIGBUS).
> 
>> Does this patch make the problem go away? (untested)
> 
>> -            handler->attrs = *modperl_code_attrs(aTHX_ cv);
>> +            memcpy(&(handler->attrs),modperl_code_attrs(aTHX_ cv), 
>> sizeof(handler->attrs));
> 
> No, unfortunately I can't see any change at all with this patch.
> The backtrace looks just the same.

How about this s/U16/U32/ diff, basically keeping the flag type at U32,
since it was not an essential part of the fix itself.

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Mime
View raw message