Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8291

Call _exit() instead of exit() without an exec

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 5.2.0, 5.0.5
    • Affects Version/s: None
    • Component/s: None
    • Storage - Ra 2021-11-29

      Here's the signature:

       [2021/10/27 06:47:01.879] Running test command: /data/mci/a2b7e6a3f429e7410337869e91b4e088/wiredtiger/build_posix/test/csuite/test_wt4803_history_store_abort
       [2021/10/27 06:47:11.212] [1635317231:212784][297193:0x7f6443bf8cc0], file:test_wt4803_history_store_abort.wt, WT_CURSOR.update: int __wt_hs_insert_updates(WT_SESSION_IMPL *, WT_RECONCILE *, WT_MULTI *), 749: WiredTigerHS: file size of 105271296 exceeds maximum size 104857600: WT_PANIC: WiredTiger library panic: WT_PANIC: WiredTiger library panic
       [2021/10/27 06:47:11.212] Got history store error (expect_panic=true)
       [2021/10/27 06:47:11.213] [1635317231:213416][297193:0x7f643f9fe700], file:test_wt4803_history_store_abort.wt, eviction-server: int __wt_hs_insert_updates(WT_SESSION_IMPL *, WT_RECONCILE *, WT_MULTI *), 749: WiredTigerHS: file size of 105271296 exceeds maximum size 104857600: WT_PANIC: WiredTiger library panic: WT_PANIC: WiredTiger library panic
       [2021/10/27 06:47:11.213] Got history store error (expect_panic=true)
       [2021/10/27 06:47:11.220] =================================================================
       [2021/10/27 06:47:11.220] ==297193==ERROR: AddressSanitizer: attempting double-free on 0x619000000080 in thread T0:
       [2021/10/27 06:47:11.658]     #0 0x4c52d2 in free /data/mci/93089ed2cad95b7804e0b342ca4d9507/toolchain-builder/tmp/build-llvm.sh-dH0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:124:3
       [2021/10/27 06:47:11.663]     #1 0x7f6443e6bad2  (/lib/x86_64-linux-gnu/libc.so.6+0x49ad2)
       [2021/10/27 06:47:11.663]     #2 0x7f6443e6bbdf in exit (/lib/x86_64-linux-gnu/libc.so.6+0x49bdf)
       [2021/10/27 06:47:11.664]     #3 0x4f65d7 in handle_message /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/test/csuite/../../../test/csuite/wt4803_history_store_abort/main.c:69:13
       [2021/10/27 06:47:11.673]     #4 0x7f6444cb0c87 in __eventv /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/support/err.c:263:15
       [2021/10/27 06:47:11.673]     #5 0x7f6444cb1774 in __wt_panic_func /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/support/err.c:352:5
       [2021/10/27 06:47:11.674]     #6 0x7f6444a0f254 in __wt_hs_insert_updates /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/history/hs_rec.c:747:9
       [2021/10/27 06:47:11.675]     #7 0x7f6444bef8d2 in __rec_hs_wrapup /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/reconcile/rec_write.c:2332:13
       [2021/10/27 06:47:11.675]     #8 0x7f6444bd5c3c in __rec_write_wrapup /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/reconcile/rec_write.c:2108:9
       [2021/10/27 06:47:11.675]     #9 0x7f6444bc5017 in __reconcile /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/reconcile/rec_write.c:226:28
       [2021/10/27 06:47:11.675]     #10 0x7f6444bc2ffd in __wt_reconcile /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/reconcile/rec_write.c:97:11
       [2021/10/27 06:47:11.675]     #11 0x7f64449e7101 in __evict_review /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/evict/evict_page.c:747:15
       [2021/10/27 06:47:11.676]     #12 0x7f64449e1220 in __wt_evict /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/evict/evict_page.c:159:5
       [2021/10/27 06:47:11.676]     #13 0x7f64449dff3c in __wt_page_release_evict /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/evict/evict_page.c:81:11
       [2021/10/27 06:47:11.676]     #14 0x7f644465e534 in __wt_page_in_func /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/btree/bt_read.c:338:23
       [2021/10/27 06:47:11.676]     #15 0x7f644475e8ee in __wt_page_swap_func /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/include/btree_inline.h:1957:11
       [2021/10/27 06:47:11.677]     #16 0x7f644475a180 in __wt_row_search /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/btree/row_srch.c:428:20
       [2021/10/27 06:47:11.677]     #17 0x7f64445b05bc in __cursor_row_search /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/btree/bt_cursor.c:384:5
       [2021/10/27 06:47:11.677]     #18 0x7f64445bcfdc in __btcur_update /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/btree/bt_cursor.c:1271:5
       [2021/10/27 06:47:11.677]     #19 0x7f64445bf182 in __wt_btcur_update /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/btree/bt_cursor.c:1551:13
       [2021/10/27 06:47:11.678]     #20 0x7f644488a745 in __curfile_update /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/cursor/cur_file.c:368:5
       [2021/10/27 06:47:11.678]     #21 0x4f5c9e in hs_workload /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/test/csuite/../../../test/csuite/wt4803_history_store_abort/main.c:121:9
       [2021/10/27 06:47:11.678]     #22 0x4f4d6e in test_hs_workload /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/test/csuite/../../../test/csuite/wt4803_history_store_abort/main.c:160:9
       [2021/10/27 06:47:11.678]     #23 0x4f4abb in main /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/test/csuite/../../../test/csuite/wt4803_history_store_abort/main.c:209:5
       [2021/10/27 06:47:11.678]     #24 0x7f6443e490b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
       [2021/10/27 06:47:11.678]     #25 0x41d80d in _start (/data/mci/a2b7e6a3f429e7410337869e91b4e088/wiredtiger/build_posix/test/csuite/test_wt4803_history_store_abort+0x41d80d)
       [2021/10/27 06:47:11.678] 0x619000000080 is located 0 bytes inside of 1040-byte region [0x619000000080,0x619000000490)
       [2021/10/27 06:47:11.679] freed by thread T2 here:
       [2021/10/27 06:47:11.679]     #0 0x4c52d2 in free /data/mci/93089ed2cad95b7804e0b342ca4d9507/toolchain-builder/tmp/build-llvm.sh-dH0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:124:3
       [2021/10/27 06:47:11.679]     #1 0x7f6443e6bad2  (/lib/x86_64-linux-gnu/libc.so.6+0x49ad2)
       [2021/10/27 06:47:11.679] previously allocated by thread T0 here:
       [2021/10/27 06:47:11.679]     #0 0x4c584a in calloc /data/mci/93089ed2cad95b7804e0b342ca4d9507/toolchain-builder/tmp/build-llvm.sh-dH0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:155:3
       [2021/10/27 06:47:11.679]     #1 0x7f6443e6bdc1  (/lib/x86_64-linux-gnu/libc.so.6+0x49dc1)
       [2021/10/27 06:47:11.679] Thread T2 created by T0 here:
       [2021/10/27 06:47:11.691]     #0 0x4adf6d in pthread_create /data/mci/93089ed2cad95b7804e0b342ca4d9507/toolchain-builder/tmp/build-llvm.sh-dH0/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:210:3
       [2021/10/27 06:47:11.691]     #1 0x7f6444b29fe5 in __wt_thread_create /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/os_posix/os_thread.c:28:5
       [2021/10/27 06:47:11.692]     #2 0x7f6444d1a7dd in __thread_group_resize /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/support/thread_group.c:200:9
       [2021/10/27 06:47:11.692]     #3 0x7f6444d1b2d7 in __wt_thread_group_create /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/support/thread_group.c:286:5
       [2021/10/27 06:47:11.693]     #4 0x7f64449bb300 in __wt_evict_create /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/evict/evict_lru.c:497:5
       [2021/10/27 06:47:11.693]     #5 0x7f64447f3ef7 in __wt_connection_workers /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/conn/conn_open.c:242:5
       [2021/10/27 06:47:11.694]     #6 0x7f6444788ac1 in wiredtiger_open /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/../src/conn/conn_api.c:2931:5
       [2021/10/27 06:47:11.694]     #7 0x4f51d8 in hs_workload /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/test/csuite/../../../test/csuite/wt4803_history_store_abort/main.c:88:5
       [2021/10/27 06:47:11.694]     #8 0x4f4d6e in test_hs_workload /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/test/csuite/../../../test/csuite/wt4803_history_store_abort/main.c:160:9
       [2021/10/27 06:47:11.694]     #9 0x4f4abb in main /data/mci/47b514491a64b6748a849f09099713c1/wiredtiger/build_posix/test/csuite/../../../test/csuite/wt4803_history_store_abort/main.c:209:5
       [2021/10/27 06:47:11.694]     #10 0x7f6443e490b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
       [2021/10/27 06:47:11.694] SUMMARY: AddressSanitizer: double-free /data/mci/93089ed2cad95b7804e0b342ca4d9507/toolchain-builder/tmp/build-llvm.sh-dH0/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:124:3 in free
       [2021/10/27 06:47:12.682] ==297193==ABORTING

      https://evergreen.mongodb.com/task/wiredtiger_ubuntu2004_asan_csuite_wt4803_history_store_abort_test_76a9144b256d4c090dc0327a7f02efc965cb650a_21_10_27_02_17_10 

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            alexey.anisimov@mongodb.com Alexey Anisimov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: