==161258==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000080 (pc 0x00000043f8d8 bp 0x0000007cd680 sp 0x7f811dafdd80 T3)
#0 0x43f8d7 in ucompthread ../stream.c:1523
#1 0x7f81218fc6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9)
#2 0x7f8120d2e41c in clone (/lib/x86_64-linux-gnu/libc.so.6+0x10741c)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ../stream.c:1523 ucompthread
Thread T3 created by T0 here:
#0 0x7f81221941e3 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x361e3)
#1 0x4516f3 in create_pthread ../stream.c:133
#2 0x4516f3 in fill_buffer ../stream.c:1699
#3 0x4516f3 in read_stream ../stream.c:1786
Hi, there.
There is a segmentation caused by null pointer dereference that leads to a fatal error during the execution in the newest master branch 597be1f.
This is the output during execution:
Decompressing...
Bad checksum: 0x5b496f91 - expected: 0x2000210c
Fatal error - exiting
Segmentation fault
To reproduce, run:
lrzip -t seg-stream1523
Here is the trace reported by ASAN:
==161258==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000080 (pc 0x00000043f8d8 bp 0x0000007cd680 sp 0x7f811dafdd80 T3) 64-linux- gnu/libpthread. so.0+0x76b9) 64-linux- gnu/libc. so.6+0x10741c)
#0 0x43f8d7 in ucompthread ../stream.c:1523
#1 0x7f81218fc6b9 in start_thread (/lib/x86_
#2 0x7f8120d2e41c in clone (/lib/x86_
AddressSanitizer can not provide additional info. x86_64- linux-gnu/ libasan. so.2+0x361e3)
SUMMARY: AddressSanitizer: SEGV ../stream.c:1523 ucompthread
Thread T3 created by T0 here:
#0 0x7f81221941e3 in pthread_create (/usr/lib/
#1 0x4516f3 in create_pthread ../stream.c:133
#2 0x4516f3 in fill_buffer ../stream.c:1699
#3 0x4516f3 in read_stream ../stream.c:1786
==161258==ABORTING