Details
Description
format failure, test run #39208:
http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-zseries/39208/consoleFull
It looks like we're attempting to remove a WT_TXN structure from the timestamp queue, but it's not currently linked onto the timestamp queue:
(gdb) where
|
#0 0x00000000800ea564 in __wt_txn_set_commit_timestamp (session=0x9cd65760)
|
at ../src/txn/txn_timestamp.c:697
|
#1 0x00000000800d272a in __wt_txn_commit (session=0x9cd65760,
|
cfg=0x3ff79ffcd70) at ../src/txn/txn.c:724
|
#2 0x00000000800b0e06 in __session_commit_transaction (wt_session=0x9cd65760,
|
config=0x3ff79ffce7c "commit_timestamp=e7e0e")
|
at ../src/session/session_api.c:1507
|
#3 0x000000008000a34e in commit_transaction (tinfo=0x9dd0ba00,
|
session=0x9cd65760) at ../../../test/format/ops.c:525
|
#4 0x000000008000b770 in ops (arg=0x9dd0ba00)
|
at ../../../test/format/ops.c:915
|
#5 0x000003ff844881f2 in start_thread () from /lib64/libpthread.so.0
|
#6 0x000003ff842098da in thread_start () from /lib64/libc.so.6
|
(gdb) frame 0
|
#0 0x00000000800ea564 in __wt_txn_set_commit_timestamp (session=0x9cd65760)
|
at ../src/txn/txn_timestamp.c:697
|
697 TAILQ_REMOVE(&txn_global->commit_timestamph,
|
(gdb) l
|
692 } else {
|
693 TAILQ_FOREACH_SAFE(qtxn, &txn_global->commit_timestamph,
|
694 commit_timestampq, txn_tmp) {
|
695 if (qtxn->clear_ts_queue) {
|
696 qtxn->clear_ts_queue = false;
|
697 TAILQ_REMOVE(&txn_global->commit_timestamph,
|
698 qtxn, commit_timestampq);
|
699 --txn_global->commit_timestampq_len;
|
700 continue;
|
701 }
|
(gdb) p qtxn.commit_timestampq
|
$23 = {tqe_next = 0x0, tqe_prev = 0x0}
|
(gdb) p *qtxn.commit_timestampq.tqe_prev
|
Cannot access memory at address 0x0
|
and the *(elm)->field.tqe_prev = TAILQ_NEXT((elm), field); portion of TAILQ_REMOVE will indirect through a NULL pointer.
Attachments
Issue Links
- is caused by
-
WT-3854 Remove write lock from commit path, leaving old entries in queue
-
- Closed
-