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

Unexpected timestamp usage in test_truncate22

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 2023-11-28 - Anthill Tiger

      I just got the following error in a patch build, which contains changes that do not affect this error.

      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      [2023/09/13 15:22:27.297] Core was generated by `python3 ../test/suite/run.py -v 2 --hook tiered --hook timestamp --random-sampl'.
      [2023/09/13 15:22:27.297] Program terminated with signal SIGABRT, Aborted.
      ...
      [2023/09/13 15:22:30.195] [1694618540:194285][12962:0x7fcfb810a800], test_truncate22.test_truncate22.test_truncate22(integer-row), WT_SESSION.commit_transaction: [WT_VERB_DEFAULT][ERROR]: __txn_timestamp_usage_check, 885: tiered:test_truncate22: unexpected timestamp usage: updating a value with a timestamp (0, 5) before the previous update (0, 6): Invalid argument
      [2023/09/13 15:22:30.195] [1694618540:194323][12962:0x7fcfb810a800], test_truncate22.test_truncate22.test_truncate22(integer-row), WT_SESSION.commit_transaction: [WT_VERB_DEFAULT][ERROR]: __wt_abort, 28: aborting WiredTiger library

      Stack trace:

      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      [2023/09/13 15:22:27.357] [Current thread is 1 (Thread 0x7fcfb810a800 (LWP 12962))]
      [2023/09/13 15:22:27.357] #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      [2023/09/13 15:22:27.357] #1  0x00007fcfb8376859 in __GI_abort () at abort.c:79
      [2023/09/13 15:22:27.379] #2  0x00007fcfb78c1ba7 in __wt_abort (session=session@entry=0x1b7a740) at /data/mci/7128396489aa4e8f6507cb5cb2fc0afc/wiredtiger/src/os_common/os_abort.c:30
      [2023/09/13 15:22:27.379] #3  0x00007fcfb797355e in __txn_timestamp_usage_check (session=session@entry=0x1b7a740, op=op@entry=0x338e230, upd=upd@entry=0x144acf0) at /data/mci/7128396489aa4e8f6507cb5cb2fc0afc/wiredtiger/src/txn/txn.c:891
      [2023/09/13 15:22:27.570] #4  0x00007fcfb79786bf in __wt_txn_commit (session=session@entry=0x1b7a740, cfg=cfg@entry=0x7ffc2e16aa70) at /data/mci/7128396489aa4e8f6507cb5cb2fc0afc/wiredtiger/src/txn/txn.c:1727
      [2023/09/13 15:22:27.572] #5  0x00007fcfb7930ffa in __session_commit_transaction (wt_session=0x1b7a740, config=<optimized out>) at /data/mci/7128396489aa4e8f6507cb5cb2fc0afc/wiredtiger/src/session/session_api.c:1963
      [2023/09/13 15:22:28.192] #6  0x00007fcfb7a49c00 in _wrap_Session_commit_transaction (self=<optimized out>, args=<optimized out>) at /data/mci/7128396489aa4e8f6507cb5cb2fc0afc/wiredtiger/cmake_build/lang/python/CMakeFiles/wiredtiger_python.dir/wiredtigerPYTHON_wrap.c:7101
      [2023/09/13 15:22:28.314] #7  0x00007fcfb88565b8 in cfunction_call (func=0x7fcfb7b07ab0, args=<optimized out>, kwargs=<optimized out>) at ../src/Python-3.10.4/Objects/methodobject.c:552
      [2023/09/13 15:22:28.316] #8  0x00007fcfb884febb in _PyObject_MakeTpCall (tstate=0xf36000, callable=0x7fcfb7b07ab0, args=<optimized out>, nargs=<optimized out>, keywords=0x0) at ../src/Python-3.10.4/Objects/call.c:224
      [2023/09/13 15:22:28.317] #9  0x00007fcfb8847dc0 in _PyObject_VectorcallTstate (kwnames=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, nargsf=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, args=0x7fcfb70f6388, callable=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at ../src/Python-3.10.4/Include/cpython/abstract.h:112
      [2023/09/13 15:22:28.317] #10 _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fcfb70f6388, callable=<optimized out>, tstate=<optimized out>) at ../src/Python-3.10.4/Include/cpython/abstract.h:99
      [2023/09/13 15:22:28.317] #11 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fcfb70f6388, callable=<optimized out>) at ../src/Python-3.10.4/Include/cpython/abstract.h:123
      [2023/09/13 15:22:28.318] #12 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, trace_info=0x7ffc2e16b0c0, tstate=<optimized out>) at ../src/Python-3.10.4/Python/ceval.c:5867
      [2023/09/13 15:22:28.318] #13 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=0x7fcfb70f6200, throwflag=<optimized out>) at ../src/Python-3.10.4/Python/ceval.c:4213
      [2023/09/13 15:22:28.318] #14 0x00007fcfb88569d8 in _PyEval_EvalFrame (throwflag=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, f=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at ../src/Python-3.10.4/Python/ceval.c:5052
      [2023/09/13 15:22:28.319] #15 _PyEval_Vector (kwnames=<optimized out>, kwnames@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, argcount=<optimized out>, args=<optimized out>, args@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, locals=0x0, locals@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, con=0x7fcfb7415d90, con@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0xf36000, tstate@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at ../src/Python-3.10.4/Python/ceval.c:5065
      [2023/09/13 15:22:28.319] #16 _PyFunction_Vectorcall (func=0x7fcfb7415d80, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../src/Python-3.10.4/Objects/call.c:342
      [2023/09/13 15:22:28.319] #17 0x00007fcfb8845dc4 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fcfb70f61d0, callable=0x7fcfb7415d80, tstate=0xf36000) at ../src/Python-3.10.4/Include/cpython/abstract.h:123
      [2023/09/13 15:22:28.319] #18 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fcfb70f61d0, callable=0x7fcfb7415d80) at ../src/Python-3.10.4/Include/cpython/abstract.h:123
      [2023/09/13 15:22:28.320] #19 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, trace_info=0x7ffc2e16b2c0, tstate=<optimized out>) at ../src/Python-3.10.4/Python/ceval.c:5867
      [2023/09/13 15:22:28.320] #20 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=0x7fcfb70f6050, throwflag=<optimized out>) at ../src/Python-3.10.4/Python/ceval.c:4213
      [2023/09/13 15:22:28.320] #21 0x00007fcfb88569d8 in _PyEval_EvalFrame (throwflag=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, f=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at ../src/Python-3.10.4/Python/ceval.c:5052
      [2023/09/13 15:22:28.320] #22 _PyEval_Vector (kwnames=<optimized out>, kwnames@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, argcount=<optimized out>, args=<optimized out>, args@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, locals=0x0, locals@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, con=0x7fcfb74b9910, con@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0xf36000, tstate@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at ../src/Python-3.10.4/Python/ceval.c:5065
      [2023/09/13 15:22:28.321] #23 _PyFunction_Vectorcall (func=0x7fcfb74b9900, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../src/Python-3.10.4/Objects/call.c:342
      [2023/09/13 15:22:28.321] #24 0x00007fcfb88495f1 in do_call_core (kwdict=0x0, callargs=0x7fcfb60f69b0, func=0x7fcfb74b9900, trace_info=0x7ffc2e16b4c0, tstate=<optimized out>) at ../src/Python-3.10.4/Python/ceval.c:5919
      [2023/09/13 15:22:28.321] #25 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=0x7fcfb7114800, throwflag=<optimized out>) at ../src/Python-3.10.4/Python/ceval.c:4277
      [2023/09/13 15:22:28.321] #26 0x00007fcfb88569d8 in _PyEval_EvalFrame (throwflag=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, f=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at ../src/Python-3.10.4/Python/ceval.c:5052
      [2023/09/13 15:22:28.322] #27 _PyEval_Vector (kwnames=<optimized out>, kwnames@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, argcount=<optimized out>, args=<optimized out>, args@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, locals=0x0, locals@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, con=0x7fcfb7b29d90, con@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, tstate=0xf36000, tstate@entry=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at ../src/Python-3.10.4/Python/ceval.c:5065
      [2023/09/13 15:22:28.322] #28 _PyFunction_Vectorcall (func=0x7fcfb7b29d80, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../src/Python-3.10.4/Objects/call.c:342
      [2023/09/13 15:22:28.323] #29 0x00007fcfb88495f1 in do_call_core (kwdict=0x0, callargs=0x7fcfb605e9c0, func=0x7fcfb7b29d80, trace_info=0x7ffc2e16b6c0, tstate=<optimized out>) at ../src/Python-3.10.4/Python/ceval.c:5919
      

      Here is the link to the patch build.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            peter.macko@mongodb.com Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: