Vitaly Chikunov
58313570f4
Liblzma is non-robust on memory allocation problems - while it works well on 64-bit architectures with plenty of RAM, it's problematic on 32-bit architectures when multi-threading is used. Try another workaround: instead of just guessing the best delta, move half of the current (512MiB) delta into 'guard malloc' allocation test of what LZMA encoder memusage would return. This is definitely hackish (and vulnerable to toctou), but it's that much we could do without significantly reworking stream_encoder_mt. Error message: Wrote: /usr/src/RPM/RPMS/armh/libmozjs78-tools-78.0.1-alt2.armh.rpm (w5.lzdio) error: lzwrite: lzma error 5 error: lzclose: lzma error 11 error: create archive failed on file /usr/src/tmp/libmozjs78-buildroot/usr/lib/debug/usr/lib/libmozjs-78.so.debug: cpio: write failed - Bad file descriptor Amends: |
||
---|---|---|
.. | ||
.lclintrc | ||
bsearch.h | ||
digest.c | ||
macro.c | ||
Makefile.am | ||
rpmerr.h | ||
rpmio_internal.h | ||
rpmio.c | ||
rpmio.h | ||
rpmlog.c | ||
rpmlog.h | ||
rpmmacro.h | ||
rpmmalloc.c | ||
rpmmessages.h | ||
rpmpgp.c | ||
rpmpgp.h | ||
rpmrpc.c | ||
rpmurl.h | ||
strcasecmp.c | ||
stubs.c | ||
tdigest.c | ||
tficl.c | ||
tkey.c | ||
tring.c | ||
trpmio.c | ||
ugid.c | ||
ugid.h | ||
url.c |