Following tests are failing:
- test-sheet-pivot-1
- test-sheet-pivot-V
- test-sheet-sqlfilter-1
=================================================================
==ERROR: AddressSanitizer: heap-use-after-free on address 0x0a047fff81a2 at pc 0x559e48261000 bp 0x7f707be3a000 sp 0x7f707be39ff0
READ of size 8 at 0x0a047fff81a2 thread T2
#0 0x559e48261000 in zsv_cache_load_props utils/prop.c:148
Thread T2 created by T0 here:
#0 0x7f707be3af85 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:207
#1 0x559e48266993 in zsvsheet_ui_buffer_create_worker sheet/ui_buffer.c:79
#2 0x559e48269a81 in get_data_index_async sheet/read-data.c:60
#3 0x559e4826b802 in read_data sheet/read-data.c:271
#4 0x559e482714be in zsvsheet_ui_buffer_open_file_opts sheet/file.c:13
#5 0x559e48271cdd in zsvsheet_open_file_opts sheet/file.c:59
#6 0x559e4827a62a in zsv_sqlite3_to_csv sheet/sheet-sql.c:53
#7 0x559e4827ccb7 in zsvsheet_pivot_handler sheet/pivot.c:276
#8 0x559e48263bce in zsvsheet_proc_invoke sheet/procedure.c:65
#9 0x559e48263e20 in zsvsheet_proc_invoke_from_keypress sheet/procedure.c:78
#10 0x559e4826c025 in zsvsheet_proc_key_binding_handler sheet/key-bindings.c:26
#11 0x559e4826c8f0 in zsvsheet_key_press sheet/key-bindings.c:94
#12 0x559e482806a3 in zsv_sheet_main app/sheet.c:1241
#13 0x559e48261042 in main app/zsv_command_standalone.c:14
#14 0x7f707ba71d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
SUMMARY: AddressSanitizer: heap-use-after-free utils/prop.c:148 in zsv_cache_load_props
Shadow bytes around the buggy address:
0x0a047fff8150: fa fa fd fd fa fa fd fd fa fa 00 00 fa fa fd fd
0x0a047fff8160: fa fa fd fd fa fa 00 00 fa fa 00 00 fa fa 00 00
0x0a047fff8170: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd
0x0a047fff8180: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd
0x0a047fff8190: fa fa fd fd fa fa fd fd fa fa fd fd fa fa 00 fa
=>0x0a047fff81a0: fa fa [fd] fd fa fa fd fd fa fa fd fd fa fa fd fd
0x0a047fff81b0: fa fa 03 fa fa fa 03 fa fa fa 03 fa fa fa 03 fa
=================================================================
Following tests are failing:
================================================================= ==ERROR: AddressSanitizer: heap-use-after-free on address 0x0a047fff81a2 at pc 0x559e48261000 bp 0x7f707be3a000 sp 0x7f707be39ff0 READ of size 8 at 0x0a047fff81a2 thread T2 #0 0x559e48261000 in zsv_cache_load_props utils/prop.c:148 Thread T2 created by T0 here: #0 0x7f707be3af85 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:207 #1 0x559e48266993 in zsvsheet_ui_buffer_create_worker sheet/ui_buffer.c:79 #2 0x559e48269a81 in get_data_index_async sheet/read-data.c:60 #3 0x559e4826b802 in read_data sheet/read-data.c:271 #4 0x559e482714be in zsvsheet_ui_buffer_open_file_opts sheet/file.c:13 #5 0x559e48271cdd in zsvsheet_open_file_opts sheet/file.c:59 #6 0x559e4827a62a in zsv_sqlite3_to_csv sheet/sheet-sql.c:53 #7 0x559e4827ccb7 in zsvsheet_pivot_handler sheet/pivot.c:276 #8 0x559e48263bce in zsvsheet_proc_invoke sheet/procedure.c:65 #9 0x559e48263e20 in zsvsheet_proc_invoke_from_keypress sheet/procedure.c:78 #10 0x559e4826c025 in zsvsheet_proc_key_binding_handler sheet/key-bindings.c:26 #11 0x559e4826c8f0 in zsvsheet_key_press sheet/key-bindings.c:94 #12 0x559e482806a3 in zsv_sheet_main app/sheet.c:1241 #13 0x559e48261042 in main app/zsv_command_standalone.c:14 #14 0x7f707ba71d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 SUMMARY: AddressSanitizer: heap-use-after-free utils/prop.c:148 in zsv_cache_load_props Shadow bytes around the buggy address: 0x0a047fff8150: fa fa fd fd fa fa fd fd fa fa 00 00 fa fa fd fd 0x0a047fff8160: fa fa fd fd fa fa 00 00 fa fa 00 00 fa fa 00 00 0x0a047fff8170: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0a047fff8180: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0a047fff8190: fa fa fd fd fa fa fd fd fa fa fd fd fa fa 00 fa =>0x0a047fff81a0: fa fa [fd] fd fa fa fd fd fa fa fd fd fa fa fd fd 0x0a047fff81b0: fa fa 03 fa fa fa 03 fa fa fa 03 fa fa fa 03 fa =================================================================