==9802== Memcheck, a memory error detector ==9802== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==9802== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==9802== Command: ./boolector-plain boolector_get_failed_assumptions.txt ==9802== ==9802== Invalid read of size 8 ==9802== at 0x12B0AD: boolector_get_failed_assumptions (in /home/user/boolector-plain) ==9802== by 0x1CA6D2: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== Address 0x5809830 is 0 bytes inside a block of size 8 free'd ==9802== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x1CA705: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== Block was alloc'd at ==9802== at 0x4C2FA3F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x4C31D84: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x1D906D: btor_mem_realloc (in /home/user/boolector-plain) ==9802== by 0x12B1B2: boolector_get_failed_assumptions (in /home/user/boolector-plain) ==9802== by 0x1CA6D2: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== ==9802== Invalid free() / delete / delete[] / realloc() ==9802== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x12B10A: boolector_get_failed_assumptions (in /home/user/boolector-plain) ==9802== by 0x1CA6D2: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== Address 0x5809830 is 0 bytes inside a block of size 8 free'd ==9802== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x1CA705: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== Block was alloc'd at ==9802== at 0x4C2FA3F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x4C31D84: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x1D906D: btor_mem_realloc (in /home/user/boolector-plain) ==9802== by 0x12B1B2: boolector_get_failed_assumptions (in /home/user/boolector-plain) ==9802== by 0x1CA6D2: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== ==9802== Invalid read of size 8 ==9802== at 0x14BC53: btor_delete (in /home/user/boolector-plain) ==9802== by 0x127EC9: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== Address 0x5809880 is 0 bytes inside a block of size 8 free'd ==9802== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x1CA705: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== Block was alloc'd at ==9802== at 0x4C2FA3F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x4C31D84: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x1D906D: btor_mem_realloc (in /home/user/boolector-plain) ==9802== by 0x12B1B2: boolector_get_failed_assumptions (in /home/user/boolector-plain) ==9802== by 0x1CA6D2: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== ==9802== Invalid free() / delete / delete[] / realloc() ==9802== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x14BC8E: btor_delete (in /home/user/boolector-plain) ==9802== by 0x127EC9: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== Address 0x5809880 is 0 bytes inside a block of size 8 free'd ==9802== at 0x4C30D3B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x1CA705: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== Block was alloc'd at ==9802== at 0x4C2FA3F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x4C31D84: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9802== by 0x1D906D: btor_mem_realloc (in /home/user/boolector-plain) ==9802== by 0x12B1B2: boolector_get_failed_assumptions (in /home/user/boolector-plain) ==9802== by 0x1CA6D2: read_command_smt2 (in /home/user/boolector-plain) ==9802== by 0x1CC289: parse_smt2_parser (in /home/user/boolector-plain) ==9802== by 0x16C6FD: btor_parse (in /home/user/boolector-plain) ==9802== by 0x128F87: boolector_main (in /home/user/boolector-plain) ==9802== by 0x541AB96: (below main) (libc-start.c:310) ==9802== ==9802== ==9802== HEAP SUMMARY: ==9802== in use at exit: 0 bytes in 0 blocks ==9802== total heap usage: 1,164 allocs, 1,166 frees, 46,991 bytes allocated ==9802== ==9802== All heap blocks were freed -- no leaks are possible ==9802== ==9802== For counts of detected and suppressed errors, rerun with: -v ==9802== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)