[MDEV-14121] Assertion failure 'slot != NULL' in os_aio_linux_collect() during main.index_merge_innodb Created: 2017-10-25  Updated: 2022-02-12  Resolved: 2022-02-11

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB, Storage Engine - XtraDB
Affects Version/s: 10.0, 10.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: crash

Issue Links:
Relates
relates to MDEV-7142 main.index_merge_innodb fails sporadi... Closed

 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-trusty-amd64/builds/3212/steps/test/logs/stdio

main.index_merge_innodb 'xtradb'         w2 [ fail ]
        Test ended at 2017-10-24 20:53:56
 
CURRENT_TEST: main.index_merge_innodb
mysqltest: At line 66: query 'INSERT INTO t1(a,b) SELECT a,b FROM t1' failed: 2013: Lost connection to MySQL server during query
----------SERVER LOG START-----------
2017-10-24 20:53:56 7fdac6ba6700  InnoDB: Assertion failure in thread 140577613702912 in file os0file.cc line 5128
InnoDB: Failing assertion: slot != NULL

The failing assertion is in os_aio_linux_collect():

	/* Initialize the events. The timeout value is arbitrary.
	We probably need to experiment with it a little. */
	memset(events, 0, sizeof(*events) * seg_size);
	timeout.tv_sec = 0;
	timeout.tv_nsec = OS_AIO_REAP_TIMEOUT;
 
	ret = io_getevents(io_ctx, 1, seg_size, events, &timeout);
 
	if (ret > 0) {
		for (i = 0; i < ret; i++) {
			os_aio_slot_t*	slot;
			struct iocb*	control;
 
			control = (struct iocb*) events[i].obj;
			ut_a(control != NULL);
 
			slot = (os_aio_slot_t*) control->data;
 
			/* Some sanity checks. */
			ut_a(slot != NULL);



 Comments   
Comment by Elena Stepanova [ 2018-09-07 ]

Same assertion failure on 10.1 running innodb.innodb-page_compression_default:
http://buildbot.askmonty.org/buildbot/builders/kvm-deb-trusty-amd64/builds/11646

10.1 50c426200224a4527e84052aa2ab32be

innodb.innodb-page_compression_default 'innodb_plugin' w1 [ fail ]
        Test ended at 2018-08-05 01:23:32
 
CURRENT_TEST: innodb.innodb-page_compression_default
mysqltest: In included file "/usr/share/mysql/mysql-test/suite/innodb/include/innodb-page-compression.inc": 
included from /usr/share/mysql/mysql-test/suite/innodb/t/innodb-page_compression_default.test at line 6:
At line 117: query 'select count(*) from innodb_page_compressed9' failed: 2013: Lost connection to MySQL server during query
 
The result from queries just before the failure was:
< snip >
10000
select count(*) from innodb_page_compressed4;
count(*)
10000
select count(*) from innodb_page_compressed5;
count(*)
10000
select count(*) from innodb_page_compressed6;
count(*)
10000
select count(*) from innodb_page_compressed6;
count(*)
10000
select count(*) from innodb_page_compressed7;
count(*)
10000
select count(*) from innodb_page_compressed8;
count(*)
10000
select count(*) from innodb_page_compressed9;
 
More results from queries before failure can be found in /run/shm/var/1/log/innodb-page_compression_default.log
 
 
Server [mysqld.1 - pid: 32339, winpid: 32339, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
2018-08-05  1:23:21 139988485782272 [Note] /usr/sbin/mysqld: Normal shutdown
2018-08-05  1:23:21 139988485782272 [Note] Event Scheduler: Purging the queue. 0 events
2018-08-05  1:23:21 139988167546624 [Note] InnoDB: FTS optimize thread exiting.
2018-08-05  1:23:21 139988485782272 [Note] InnoDB: Starting shutdown...
2018-08-05  1:23:22 139988485782272 [Note] InnoDB: Shutdown completed; log sequence number 31969186
2018-08-05  1:23:22 139988485782272 [Note] /usr/sbin/mysqld: Shutdown complete
 
2018-08-05  1:23:24 139760660076480 [Note] /usr/sbin/mysqld (mysqld 10.1.35-MariaDB-1~trusty) starting as process 32340 ...
2018-08-05  1:23:24 139760660076480 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4182)
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'partition' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'SEQUENCE' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: The InnoDB memory heap is disabled
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Using Linux native AIO
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Using generic crc32 instructions
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Completed initialization of buffer pool
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Highest supported file format is Barracuda.
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: 128 rollback segment(s) are active.
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: Waiting for purge to start
2018-08-05  1:23:24 139760660076480 [Note] InnoDB: 5.6.41 started; log sequence number 31969186
2018-08-05  1:23:24 139760291018496 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_CMP' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'XTRADB_RSEG' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'FEEDBACK' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2018-08-05  1:23:24 139760660076480 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2018-08-05  1:23:24 139760660076480 [Warning] /usr/sbin/mysqld: unknown variable 'loose-feedback-debug-startup-interval=20'
2018-08-05  1:23:24 139760660076480 [Warning] /usr/sbin/mysqld: unknown variable 'loose-feedback-debug-first-interval=60'
2018-08-05  1:23:24 139760660076480 [Warning] /usr/sbin/mysqld: unknown variable 'loose-feedback-debug-interval=60'
2018-08-05  1:23:24 139760660076480 [Warning] /usr/sbin/mysqld: unknown option '--loose-pam-debug'
2018-08-05  1:23:24 139760660076480 [Warning] /usr/sbin/mysqld: unknown option '--loose-skip-plugin-innodb-changed-pages'
2018-08-05  1:23:24 139760660076480 [Warning] /usr/sbin/mysqld: unknown variable 'loose-debug-sync-timeout=300'
2018-08-05  1:23:24 139760660076480 [Note] Server socket created on IP: '127.0.0.1'.
2018-08-05  1:23:24 139760660076480 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.35-MariaDB-1~trusty'  socket: '/run/shm/var/tmp/1/mysqld.1.sock'  port: 16000  mariadb.org binary distribution
2018-08-05 01:23:25 7f1c837fd700  InnoDB: Assertion failure in thread 139760442005248 in file os0file.cc line 5284
InnoDB: Failing assertion: slot != NULL
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
180805  1:23:25 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
 
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
 
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed, 
something is definitely wrong and this may fail.
 
Server version: 10.1.35-MariaDB-1~trusty
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=1
max_threads=153
thread_count=1
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 62940 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x0 thread_stack 0x48400
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7f1c912a9b5e]
/usr/sbin/mysqld(handle_fatal_signal+0x305)[0x7f1c90dcb5e5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f1c8f310330]
linux/raise.c:56(__GI_raise)[0x7f1c8e75fc37]
stdlib/abort.c:91(__GI_abort)[0x7f1c8e763028]
/usr/lib/mysql/plugin/ha_innodb.so(+0x179c6c)[0x7f1c87899c6c]
/usr/lib/mysql/plugin/ha_innodb.so(+0xbc160)[0x7f1c877dc160]
/usr/lib/mysql/plugin/ha_innodb.so(+0x1f7038)[0x7f1c87917038]
nptl/pthread_create.c:312(start_thread)[0x7f1c8f308184]
x86_64/clone.S:113(clone)[0x7f1c8e82703d]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Writing a core file
----------SERVER LOG END-------------
 
 
 - found 'core' (0/0)
 
Trying 'dbx' to get a backtrace
 
Trying 'gdb' to get a backtrace from coredump /run/shm/var/1/log/innodb.innodb-page_compression_default-innodb_plugin/mysqld.1/data/core
Compressed file /run/shm/var/1/log/innodb.innodb-page_compression_default-innodb_plugin/mysqld.1/data/core
 - saving '/run/shm/var/1/log/innodb.innodb-page_compression_default-innodb_plugin/' to '/run/shm/var/log/innodb.innodb-page_compression_default-innodb_plugin/'
 
Retrying test innodb.innodb-page_compression_default, attempt(2/3)...

Comment by Elena Stepanova [ 2019-07-23 ]

http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-trusty-x86/builds/11975/steps/mtr/logs/stdio

10.1 be22d1ff39e79a9dbd5360f2f11b57de

rpl.create_select 'stmt,xtradb'          w4 [ fail ]
        Test ended at 2019-07-05 09:18:12
 
CURRENT_TEST: rpl.create_select
 
 
The server [mysqld.2 - pid: 21440, winpid: 21440, exit: 256] crashed while running 'check testcase before test'
Server log from this test:
----------SERVER LOG START-----------
2019-07-05  9:18:11 3058501440 [Note] /usr/local/mariadb-10.1.41-linux-i686/bin/mysqld (mysqld 10.1.41-MariaDB) starting as process 21444 ...
2019-07-05  9:18:11 3058501440 [Warning] Could not increase number of max_open_files to more than 1024 (request: 4186)
2019-07-05  9:18:11 3058501440 [Note] Plugin 'partition' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'SEQUENCE' is disabled.
2019-07-05  9:18:11 3058501440 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.
 
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2019-07-05  9:18:11 3058501440 [Note] InnoDB: The InnoDB memory heap is disabled
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-07-05  9:18:11 3058501440 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Using Linux native AIO
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Using generic crc32 instructions
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Initializing buffer pool, size = 8.0M
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Completed initialization of buffer pool
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Highest supported file format is Barracuda.
2019-07-05  9:18:11 3058501440 [Note] InnoDB: 128 rollback segment(s) are active.
2019-07-05  9:18:11 3058501440 [Note] InnoDB: Waiting for purge to start
2019-07-05  9:18:11 3058501440 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.43-84.3 started; log sequence number 1629415
2019-07-05 09:18:11 ac7bab40  InnoDB: Assertion failure in thread 2893785920 in file os0file.cc line 5631
InnoDB: Failing assertion: slot != NULL
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
190705  9:18:11 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
 
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
 
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed, 
something is definitely wrong and this may fail.
 
Server version: 10.1.41-MariaDB
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=0
max_threads=153
thread_count=0
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 61798 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x0 thread_stack 0x49000
/usr/local/mariadb-10.1.41-linux-i686/bin/mysqld(my_print_stacktrace+0x2d)[0xb71ebbad]
/usr/local/mariadb-10.1.41-linux-i686/bin/mysqld(handle_fatal_signal+0x334)[0xb6cadb84]
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'XTRADB_RSEG' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'CHANGED_PAGE_BITMAPS' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'XTRADB_INTERNAL_HASH_TABLES' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'FEEDBACK' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_CMP' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_MUTEXES' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'XTRADB_READ_VIEW' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_CHANGED_PAGES' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
2019-07-05  9:18:11 3058501440 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
2019-07-05  9:18:11 3058501440 [Warning] /usr/local/mariadb-10.1.41-linux-i686/bin/mysqld: unknown variable 'loose-feedback-debug-startup-interval=20'
2019-07-05  9:18:11 3058501440 [Warning] /usr/local/mariadb-10.1.41-linux-i686/bin/mysqld: unknown variable 'loose-feedback-debug-first-interval=60'
2019-07-05  9:18:11 3058501440 [Warning] /usr/local/mariadb-10.1.41-linux-i686/bin/mysqld: unknown variable 'loose-feedback-debug-interval=60'
2019-07-05  9:18:11 3058501440 [Warning] /usr/local/mariadb-10.1.41-linux-i686/bin/mysqld: unknown option '--loose-pam-debug'
2019-07-05  9:18:11 3058501440 [Warning] /usr/local/mariadb-10.1.41-linux-i686/bin/mysqld: unknown variable 'loose-debug-sync-timeout=300'
2019-07-05  9:18:11 2747267904 [Note] InnoDB: Dumping buffer pool(s) not yet started
2019-07-05  9:18:11 3058501440 [Note] Server socket created on IP: '127.0.0.1'.
[0xb6835400]
[0xb6835424]
/lib/i386-linux-gnu/libc.so.6(gsignal+0x46)[0xb651d786]
/lib/i386-linux-gnu/libc.so.6(abort+0x143)[0xb6520bd3]
2019-07-05  9:18:11 3058501440 [Note] /usr/local/mariadb-10.1.41-linux-i686/bin/mysqld: ready for connections.
Version: '10.1.41-MariaDB'  socket: '/usr/local/mariadb-10.1.41-linux-i686/mysql-test/var/tmp/4/mysqld.2.sock'  port: 16061  MariaDB Server
/usr/local/mariadb-10.1.41-linux-i686/bin/mysqld(+0x6feee1)[0xb6f56ee1]
/usr/local/mariadb-10.1.41-linux-i686/bin/mysqld(+0x851083)[0xb70a9083]
/usr/local/mariadb-10.1.41-linux-i686/bin/mysqld(+0x77b813)[0xb6fd3813]
/lib/i386-linux-gnu/libpthread.so.0(+0x6f70)[0xb67def70]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb65dbd7e]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Writing a core file
----------SERVER LOG END-------------
mysqltest failed but provided no output
The result from queries just before the failure was:
< snip >
Tables_in_test_8428
t1
t2
t3
# On server_3
SHOW TABLES IN test_8428;
Tables_in_test_8428
t1
t2
t3
SELECT * from test_8428.t1;
i
1
2
3
4
5
DROP DATABASE test_8428;
include/rpl_end.inc
# End of test
 
 
 
 - found 'core' (0/0)
 
Trying 'dbx' to get a backtrace

Comment by Elena Stepanova [ 2020-01-25 ]

Also encryption.innodb_onlinealter_encryption
http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-trusty-amd64/builds/14464

10.1 aade6e53d398dd287ca7e771191c9975

2019-12-21 10:22:11 7feadab97700  InnoDB: Assertion failure in thread 140646668662528 in file os0file.cc line 5622
InnoDB: Failing assertion: slot != NULL
 
#4  0x00007feae5707028 in __GI_abort () at abort.c:89
#5  0x00007feae75b0eab in os_aio_linux_collect (seg_size=256, segment=<optimized out>, array=<optimized out>) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5622
#6  os_aio_linux_handle (global_seg=global_seg@entry=4, message1=message1@entry=0x7feadab96e10, message2=message2@entry=0x7feadab96e20, type=type@entry=0x7feadab96e30, space_id=space_id@entry=0x7feadab96e40) at /home/buildbot/buildbot/build/storage/xtradb/os/os0file.cc:5763
#7  0x00007feae76f660c in fil_aio_wait (segment=segment@entry=4) at /home/buildbot/buildbot/build/storage/xtradb/fil/fil0fil.cc:6266
#8  0x00007feae7628950 in io_handler_thread (arg=<optimized out>) at /home/buildbot/buildbot/build/storage/xtradb/srv/srv0start.cc:584
#9  0x00007feae62b0184 in start_thread (arg=0x7feadab97700) at pthread_create.c:312
#10 0x00007feae57cb03d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Comment by Marko Mäkelä [ 2022-02-11 ]

The function was renamed to LinuxAIOHandler::collect() in 10.2.

Searches for InnoDB: Failing assertion: slot only returned unrelated crashes in 10.2 or later (with slot_rec or a slot in a ROW_FORMAT=COMPRESSED page), related to encryption recovery failures that were probably fixed in late 2018 or early 2019. So, it looks like this problem never affected 10.2 or later versions.

10.0 and 10.1 have already reached their end of life.

Generated at Thu Feb 08 08:11:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.