Hi,

I got an error when running dovecot tests in BLFS (please read ahead before
thinking it is the wrong list):
==18302== Conditional jump or move depends on uninitialised value(s)
==18302==    at 0x526A170: lz_encoder_prepare (in /lib/liblzma.so.5.2.2)
==18302==    by 0x526A802: lzma_lz_encoder_init (in /lib/liblzma.so.5.2.2)
==18302==    by 0x5260C8E: lzma_raw_coder_init (in /lib/liblzma.so.5.2.2)
==18302==    by 0x52642C5: stream_encoder_update (in /lib/liblzma.so.5.2.2)
==18302==    by 0x52643DD: stream_encoder_init (in /lib/liblzma.so.5.2.2)
==18302==    by 0x52644C2: lzma_stream_encoder (in /lib/liblzma.so.5.2.2)
==18302==    by 0x52630AD: lzma_easy_encoder (in /lib/liblzma.so.5.2.2)
==18302==    by 0x406280: o_stream_create_lzma (ostream-lzma.c:216)
==18302==    by 0x403624: test_compression_handler (test-compression.c:35)
==18302==    by 0x403907: test_compression (test-compression.c:93)
==18302==    by 0x4074BC: test_run_funcs (test-common.c:343)
==18302==    by 0x407D10: test_run (test-common.c:393)

So the error is actually in xz, is known
(http://www.mail-archive.com/[email protected]/msg00246.html)
and has been fixed
(http://git.tukaani.org/?p=xz.git;a=commit;h=14115f84a38161d55eaa2d070f08739bde37e966).

It amounts to a sed:
sed '/mf\.buffer = NULL/a next->coder->mf.size = 0;' \
   -i src/liblzma/lz/lz_encoder.c

It should be fixed in next xz version.

Recompiling xz with this sed allows dovecot tests to pass...

Regards,
Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to