Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
13.0.1
-
Can result in data loss
Description
Assertion was found during testing MDEV-38936
|
mdev-38936 6330b4c9b6bdcd8ec999f0a36c59e94c286bd0c9 |
# 2026-06-16T02:51:59 [1659553] | mariadbd: /data/Server/MDEV-38936/storage/innobase/log/log0log.cc:1264: void log_t::archive_create(lsn_t, bool): Assertion `lsn == first_lsn + os_file_get_size(log.m_file) - START_OFFSET' failed.
|
|
StackTrace |
# 2026-06-16T02:52:50 [1659553] #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
|
# 2026-06-16T02:52:50 [1659553] #1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
|
# 2026-06-16T02:52:50 [1659553] #2 __GI___pthread_kill (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
|
# 2026-06-16T02:52:50 [1659553] #3 0x0000626bdf304457 in my_write_core (sig=6) at /data/Server/MDEV-38936/mysys/stacktrace.c:424
|
# 2026-06-16T02:52:50 [1659553] #4 0x0000626bded180e5 in handle_fatal_signal (sig=6) at /data/Server/MDEV-38936/sql/signal_handler.cc:298
|
# 2026-06-16T02:52:50 [1659553] #5 <signal handler called>
|
# 2026-06-16T02:52:50 [1659553] #6 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
|
# 2026-06-16T02:52:50 [1659553] #7 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
|
# 2026-06-16T02:52:50 [1659553] #8 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
|
# 2026-06-16T02:52:50 [1659553] #9 0x000076346424526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
|
# 2026-06-16T02:52:50 [1659553] #10 0x00007634642288ff in __GI_abort () at ./stdlib/abort.c:79
|
# 2026-06-16T02:52:50 [1659553] #11 0x000076346422881b in __assert_fail_base (fmt=0x7634643d01e8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x626bdf52ca40 "lsn == first_lsn + os_file_get_size(log.m_file) - START_OFFSET", file=file@entry=0x626bdf52bc88 "/data/Server/MDEV-38936/storage/innobase/log/log0log.cc", line=line@entry=1264, function=function@entry=0x626bdf52ca18 "void log_t::archive_create(lsn_t, bool)") at ./assert/assert.c:94
|
# 2026-06-16T02:52:50 [1659553] #12 0x000076346423b507 in __assert_fail (assertion=0x626bdf52ca40 "lsn == first_lsn + os_file_get_size(log.m_file) - START_OFFSET", file=0x626bdf52bc88 "/data/Server/MDEV-38936/storage/innobase/log/log0log.cc", line=1264, function=0x626bdf52ca18 "void log_t::archive_create(lsn_t, bool)") at ./assert/assert.c:103
|
# 2026-06-16T02:52:50 [1659553] #13 0x0000626bdf044f16 in log_t::archive_create (this=this@entry=0x626be0852c80 <log_sys>, lsn=lsn@entry=153305088, ex=ex@entry=false) at /data/Server/MDEV-38936/storage/innobase/log/log0log.cc:1264
|
# 2026-06-16T02:52:50 [1659553] #14 0x0000626bdf1e3d8d in buf_flush_archive_create (lsn=lsn@entry=153305088) at /data/Server/MDEV-38936/storage/innobase/buf/buf0flu.cc:2693
|
# 2026-06-16T02:52:50 [1659553] #15 0x0000626bdf1e9ae5 in buf_flush_page_cleaner () at /data/Server/MDEV-38936/storage/innobase/buf/buf0flu.cc:2739
|
# 2026-06-16T02:52:50 [1659553] #16 0x0000626bdf1eb08d in std::__invoke_impl<void, void (*)() noexcept>(std::__invoke_other, void (*&&)() noexcept) (__f=<optimized out>) at /usr/include/c++/13/bits/invoke.h:60
|
# 2026-06-16T02:52:50 [1659553] #17 std::__invoke<void (*)() noexcept>(void (*&&)() noexcept) (__fn=<optimized out>) at /usr/include/c++/13/bits/invoke.h:96
|
# 2026-06-16T02:52:50 [1659553] #18 std::thread::_Invoker<std::tuple<void (*)() noexcept> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=<optimized out>) at /usr/include/c++/13/bits/std_thread.h:292
|
# 2026-06-16T02:52:50 [1659553] #19 std::thread::_Invoker<std::tuple<void (*)() noexcept> >::operator()() (this=<optimized out>) at /usr/include/c++/13/bits/std_thread.h:299
|
# 2026-06-16T02:52:50 [1659553] #20 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)() noexcept> > >::_M_run() (this=<optimized out>) at /usr/include/c++/13/bits/std_thread.h:244
|
# 2026-06-16T02:52:50 [1659553] #21 0x00007634646eabb4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
|
# 2026-06-16T02:52:50 [1659553] #22 0x000076346429ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
|
# 2026-06-16T02:52:50 [1659553] #23 0x0000763464329c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
|
RQG startup options |
# $RQG_HOME/rqg.pl \
|
# --gendata=conf/engines/many_indexes.zz \
|
# --max_gd_duration=900 \
|
# --grammar=conf/engines/many_indexes.yy \
|
# --redefine=conf/mariadb/redefine_innodb_log_archive.yy \
|
# --mysqld=--loose-innodb_log_archive=ON \
|
# --mysqld=--loose-innodb_log_file_size=16M \
|
# --mysqld=--loose-innodb_log_file_mmap=ON \
|
# --reporters=LogArchiveRecovery \
|
# --mysqld=--loose-innodb_lock_schedule_algorithm=fcfs \
|
# --mysqld=--loose-idle_write_transaction_timeout=0 \
|
# --mysqld=--loose-idle_transaction_timeout=0 \
|
# --mysqld=--loose-idle_readonly_transaction_timeout=0 \
|
# --mysqld=--connect_timeout=60 \
|
# --mysqld=--interactive_timeout=28800 \
|
# --mysqld=--slave_net_timeout=60 \
|
# --mysqld=--net_read_timeout=30 \
|
# --mysqld=--net_write_timeout=60 \
|
# --mysqld=--loose-table_lock_wait_timeout=50 \
|
# --mysqld=--wait_timeout=28800 \
|
# --no_mask \
|
# --queries=10000000 \
|
# --seed=random \
|
# --reporters=None \
|
# --reporters=ErrorLog \
|
# --reporters=Deadlock \
|
# --validators=None \
|
# --mysqld=--log_output=none \
|
# --mysqld=--log_bin_trust_function_creators=1 \
|
# --mysqld=--loose-debug_assert_on_not_freed_memory=0 \
|
# --engine=InnoDB \
|
# --restart_timeout=240 \
|
# --mysqld=--plugin-load-add=file_key_management.so \
|
# --mysqld=--loose-file-key-management-filename=$RQG_HOME/conf/mariadb/encryption_keys.txt \
|
# --mysqld=--plugin-load-add=provider_lzo.so \
|
# --mysqld=--plugin-load-add=provider_bzip2.so \
|
# --mysqld=--plugin-load-add=provider_lzma.so \
|
# --mysqld=--plugin-load-add=provider_snappy.so \
|
# --mysqld=--plugin-load-add=provider_lz4.so \
|
# --mysqld=--loose-innodb_compression_level=1 \
|
# --duration=300 \
|
# --mysqld=--loose-innodb_fatal_semaphore_wait_threshold=300 \
|
# --mysqld=--lock-wait-timeout=86400 \
|
# --mysqld=--innodb-lock-wait-timeout=50 \
|
# --mysqld=--loose-innodb_fast_shutdown=0 \
|
# --mysqld=--sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION \
|
# --mysqld=--loose-innodb_read_only_compressed=OFF \
|
# --mysqld=--loose-innodb-sync-debug \
|
# --mysqld=--innodb_stats_persistent=off \
|
# --mysqld=--innodb_adaptive_hash_index=off \
|
# --mysqld=--innodb_random_read_ahead=ON \
|
# --mysqld=--log-bin \
|
# --mysqld=--sync-binlog=1 \
|
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=on \
|
# --mysqld=--loose-max-statement-time=30 \
|
# --threads=1 \
|
# --rr= \
|
# --mysqld=--innodb_use_native_aio=1 \
|
# --mysqld=--innodb_undo_log_truncate=OFF \
|
# --mysqld=--innodb_undo_tablespaces=16 \
|
# --mysqld=--innodb_rollback_on_timeout=ON \
|
# --mysqld=--innodb_page_size=64K \
|
# --mysqld=--innodb-buffer-pool-size=24M \
|
# --vardir_type=slow \
|
# --no_mask \
|
# --batch \
|
# --basedir1=/Server_bin/MDEV-38936_debug_Og \
|
# --basedir2=/Server_bin/MDEV-38936_debug_Og \
|
# --script_debug=_nix_ \
|
# --major_runid=1781597031 \
|
# --minor_runid=208
|
Core dump is present on SDP:-
/data/results/1781597031/TBR-2437
Attachments
Issue Links
- is caused by
-
MDEV-37949 Implement innodb_log_archive
-
- Closed
-