On 05/23/2014 04:05 PM, Daminto Lie wrote:
> Hi,
>
> My Server runs on Ubuntu Server 12.04 LTS 32 bits.
>
> I'm getting the following error messages when I run "make check" during the
> compilation of dovecot-2.2.13.
This is a known issue with an external library (zlib). We opted not to include
the valgrind suppressions in the dovecot source.
To silence the error, execute the following in the top direcotory of dovecot
source:
cat << EOF > ./run-test-valgrind.supp
{
<squeezy-zlib-uninitialized>
Memcheck:Cond
fun:inflateReset2
fun:inflateInit2_
fun:i_stream_zlib_init
fun:i_stream_create_zlib
fun:test_compression_handler
fun:test_compression
fun:test_run_funcs
fun:test_run
fun:main
}
EOF
We use this on squeezy, but i think the call stack should be the same.
br,
Teemu Huovila
>
>
> <snip>
> ==2058== Conditional jump or move depends on uninitialised
> value(s)
> ==2058== at 0x4049DD8: inflateReset2 (in
> /lib/i386-linux-gnu/libz.so.1.2.3.4)
> ==2058== by 0x4049EC7: inflateInit2_ (in
> /lib/i386-linux-gnu/libz.so.1.2.3.4)
> ==2058== by 0x804AFEF: i_stream_zlib_init
> (istream-zlib.c:320)
> ==2058== by 0x804B122:
> i_stream_create_zlib (istream-zlib.c:475)
> ==2058== by 0x804AA18:
> test_compression_handler (test-compression.c:72)
> ==2058== by 0xEFCDAB88: ???
> ==2058==
> make[2]: *** [check-test] Error 1
> make[2]: Leaving directory
> `/usr/src/dovecot-2.2.13/src/lib-compression'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/usr/src/dovecot-2.2.13/src'
> make: *** [check-recursive] Error 1
> Any help would be greatly appreciated.
>
> Thank you
>