[Zlib-devel] bus error when using new Andler32 patch
Vincenzo Innocente
vincenzo.innocente at cern.ch
Wed Mar 16 05:21:16 EDT 2011
Hi,
I applied the patches.
compiles and link fine
tests fails
for instance
gdb ./example64
zlib version 1.2.5 = 0x1250, compile flags = 0xa9
Program received signal SIGBUS, Bus error.
0x00000033f8c7bebe in memcpy () from /lib64/libc.so.6
(gdb) where
#0 0x00000033f8c7bebe in memcpy () from /lib64/libc.so.6
#1 0x0000000000401d93 in fill_window ()
#2 0x0000000000402461 in deflate_slow ()
#3 0x0000000000403537 in deflate ()
#4 0x0000000000401b76 in compress ()
#5 0x0000000000400a99 in test_compress ()
#6 0x00000000004018bc in main ()
similar for
minigzip64
both in compress and decompress mode
tryed with
gcc 4.5.1, on
Intel xeon-nehalem L5520
kernel 2.6.18-194.11.3 (RHL5)
and with
gcc 4.6 on
intel i7-2600K
kernel 2.6.32-71.14.1 (RHL5)
all x86_64 native
setting
-DNO_ADLER32_VEC
produces correct results as before the patch (al least)
Jan, do you have a test for just Adler32?
cheers,
Vincenzo
On 15 Mar, 2011, at 2:23 AM, <zlib-devel-request at madler.net> <zlib-devel-request at madler.net> wrote:
> Send Zlib-devel mailing list submissions to
> zlib-devel at madler.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.madler.net/mailman/listinfo/zlib-devel_madler.net
> or, via email, send a message with subject or body 'help' to
> zlib-devel-request at madler.net
>
> You can reach the person managing the list at
> zlib-devel-owner at madler.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Zlib-devel digest..."
>
>
> Today's Topics:
>
> 1. [3/4][RFC Patch] Add special ARM Adler32 version (Jan Seiffert)
> 2. [4/4][RFC Patch] Add an x86 version of Adler32 (Jan Seiffert)
>
>
More information about the Zlib-devel
mailing list