================================================================= ==9780==ERROR: AddressSanitizer: heap-use-after-free on address 0x602000009710 at pc 0x00000052bd1c bp 0x7ffd2e8c9eb0 sp 0x7ffd2e8c9ea8 READ of size 8 at 0x602000009710 thread T0 #0 0x52bd1b in boolector_get_failed_assumptions /home/user/boolector-master/src/boolector.c:624:12 #1 0x6851db in read_command_smt2 /home/user/boolector-master/src/parser/btorsmt2.c:4700:28 #2 0x682a27 in parse_smt2_parser /home/user/boolector-master/src/parser/btorsmt2.c:4828:10 #3 0x5a033a in parse_aux /home/user/boolector-master/src/btorparse.c:68:15 #4 0x59f55a in btor_parse /home/user/boolector-master/src/btorparse.c:230:9 #5 0x52531e in boolector_main /home/user/boolector-master/src/btormain.c:1454:19 #6 0x7f53f5a65b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310 #7 0x4367a9 in _start (/home/user/boolector-asan+0x4367a9) 0x602000009710 is located 0 bytes inside of 8-byte region [0x602000009710,0x602000009718) freed by thread T0 here: #0 0x4e5bc8 in __interceptor_free.localalias.0 (/home/user/boolector-asan+0x4e5bc8) #1 0x68525b in read_command_smt2 /home/user/boolector-master/src/parser/btorsmt2.c:4706:7 #2 0x682a27 in parse_smt2_parser /home/user/boolector-master/src/parser/btorsmt2.c:4828:10 #3 0x5a033a in parse_aux /home/user/boolector-master/src/btorparse.c:68:15 #4 0x59f55a in btor_parse /home/user/boolector-master/src/btorparse.c:230:9 #5 0x52531e in boolector_main /home/user/boolector-master/src/btormain.c:1454:19 #6 0x7f53f5a65b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310 previously allocated by thread T0 here: #0 0x4e61a5 in realloc (/home/user/boolector-asan+0x4e61a5) #1 0x6cd24e in btor_mem_realloc /home/user/boolector-master/src/utils/btormem.c:104:12 #2 0x52bc11 in boolector_get_failed_assumptions /home/user/boolector-master/src/boolector.c:633:3 #3 0x6851db in read_command_smt2 /home/user/boolector-master/src/parser/btorsmt2.c:4700:28 #4 0x682a27 in parse_smt2_parser /home/user/boolector-master/src/parser/btorsmt2.c:4828:10 #5 0x5a033a in parse_aux /home/user/boolector-master/src/btorparse.c:68:15 #6 0x59f55a in btor_parse /home/user/boolector-master/src/btorparse.c:230:9 #7 0x52531e in boolector_main /home/user/boolector-master/src/btormain.c:1454:19 #8 0x7f53f5a65b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310 SUMMARY: AddressSanitizer: heap-use-after-free /home/user/boolector-master/src/boolector.c:624:12 in boolector_get_failed_assumptions Shadow bytes around the buggy address: 0x0c047fff9290: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff92a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff92b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff92c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c047fff92d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c047fff92e0: fa fa[fd]fa fa fa 00 fa fa fa fd fd fa fa fd fa 0x0c047fff92f0: fa fa fd fd fa fa fd fd fa fa fd fa fa fa fd fa 0x0c047fff9300: fa fa fd fa fa fa fd fa fa fa 04 fa fa fa 04 fa 0x0c047fff9310: fa fa 05 fa fa fa 03 fa fa fa 06 fa fa fa 06 fa 0x0c047fff9320: fa fa 00 01 fa fa 00 01 fa fa 00 01 fa fa 00 01 0x0c047fff9330: fa fa 00 fa fa fa 06 fa fa fa 07 fa fa fa 07 fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==9780==ABORTING