You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A possible solution is to change the DEFAULT temporary directory from $PWD to /tmp. lrzip-next handles the temp files a little differently, but the problem is the same. Proposed patch is attached. Interestingly, when running through tar -I lrzip.651 -tf file.lrz the error does not occur.
linux-5.x$ lrzip.651 -vvt /tmp/documentation.651.tar.lrz
Using configuration file /home/peter/.lrzip/lrzip.conf
Threading is ENABLED. Number of CPUs detected: 8
Detected 16558256128 bytes ram
Compression level 7
Nice Value: 19
Show Progress
Max Verbose
Test file integrity
Temporary Directory set as: ./
WARNING: Failed to create out tmpfile: ./lrzipout.rd41Le, will fail if cannot perform compression entirely in ram
Created temporary outfile ./lrzipout.rd41Le
Detected lrzip version 0.6 file.
MD5 being used for integrity testing.
Decompressing...
Reading chunk_bytes at 24
Expected size: 47175680
Chunk byte width: 4
Reading eof flag at 25
EOF: 1
Reading expected chunksize at 26
Chunk size: 47175680
Reading stream 0 header at 31
Reading stream 1 header at 44
Reading ucomp header at 5563519
Fill_buffer stream 0 c_len 893987 u_len 1826175 last_head 0
Starting thread 0 to decompress 893987 bytes from stream 0
Thread 0 decompressed 1826175 bytes from stream 0
Taking decompressed data from thread 0
Reading ucomp header at 57
Fill_buffer stream 1 c_len 2783272 u_len 10485760 last_head 2783311
Starting thread 1 to decompress 2783272 bytes from stream 1
Reading ucomp header at 2783342
Fill_buffer stream 1 c_len 2780164 u_len 10485760 last_head 6457488
Starting thread 2 to decompress 2780164 bytes from stream 1
Reading ucomp header at 6457519
Fill_buffer stream 1 c_len 1817741 u_len 6808627 last_head 0
Starting thread 3 to decompress 1817741 bytes from stream 1
Thread 3 decompressed 6808627 bytes from stream 1
Thread 2 decompressed 10485760 bytes from stream 1
Thread 1 decompressed 10485760 bytes from stream 1
Taking decompressed data from thread 1
Failed to write literal buffer of size 159
Bad file descriptor
Fatal error - exiting
See This issue for more details
A possible solution is to change the DEFAULT temporary directory from
$PWD
to/tmp
.lrzip-next
handles the temp files a little differently, but the problem is the same. Proposed patch is attached. Interestingly, when running throughtar -I lrzip.651 -tf file.lrz
the error does not occur.pr20220818.txt.gz
The text was updated successfully, but these errors were encountered: