Opened 9 years ago

Closed 9 years ago

#3869 closed task (fixed)

xz patch

Reported by: bdubbs@… Owned by: lfs-book@…
Priority: normal Milestone: 7.9
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

From Pierre on the -dev list:

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/xz-devel@tukaani.org/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..

Change History (2)

comment:1 by bdubbs@…, 9 years ago

Fixed at revision 10979.

comment:2 by bdubbs@…, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.