At 2:39 AM +0200 4/9/00, Marc Lehmann wrote:
>On Sat, Apr 08, 2000 at 04:55:01PM -0000, [EMAIL PROTECTED] wrote:
>> default (something which I will shortly remedy on both), while Linux
>> builds with it off. It this another module that Perl's malloc causes
>> problems with?
>
>No, it works on my system with perls malloc.
>
>> ok 1
>> ok 2
>> ok 3
>> ok 4
>> ok 5
>> ok 6
>> ok 7
>> ok 8
>> Bus error
>
>Oops.
>
>> Program received signal SIGBUS, Bus error.
>> 0xff0d0f9c in LZV1_compress ()
>
>Would it be possible to run it again with debugging info? The exact line
>number would seem crucial here.
(gdb) r -Mblib t/01_run.t
Starting program: /usr/local/bin/perl -Mblib t/01_run.t
Using /export/home/src/.cpan/build/Compress-LZV1-0.02/blib
1..29
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
Program received signal SIGBUS, Bus error.
0xff0d0fc4 in LZV1_compress (in=0x1d0008 'x' <repeats 200 times>...,
out=0x34d00c "", heap=0x2f78, len=100000, out_len=1) at lzv1.c:67
67 if (m_pos < ip &&
(gdb) bt
#0 0xff0d0fc4 in LZV1_compress (in=0x1d0008 'x' <repeats 200 times>...,
out=0x34d00c "", heap=0x2f78, len=100000, out_len=1) at lzv1.c:67
#1 0xff0d13e8 in XS_Compress__LZV1_compress (cv=0x108e24) at LZV1.xs:28
#2 0x78234 in Perl_pp_entersub ()
#3 0x71234 in Perl_runops_standard ()
#4 0x29fc8 in S_run_body ()
#5 0x29c3c in perl_run ()
#6 0x27154 in main ()
>
>OTOH, could it be an alignment error? (Do ppc&irix allow unaligned
>accesses? it works there).
ppc is liberal about alignment. So far as I know, SPARC and PA-RISC aren't.
>
>Anyway, good that there is a testcase ;)
>
>Thanks for testing!
>
>--
> -----==- |
> ----==-- _ |
> ---==---(_)__ __ ____ __ Marc Lehmann +--
> --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e|
> -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
> The choice of a GNU generation |
> |
--
--
Paul Schinder
[EMAIL PROTECTED]