[MDEV-18550] InnoDB: Failing assertion: success during mariabackup --backup ... Created: 2019-02-12  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Backup
Affects Version/s: 10.4.3, 10.2.24
Fix Version/s: 10.4

Type: Bug Priority: Major
Reporter: Matthias Leich Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Linux Ubuntu 17.10 but most probably unimportant


Attachments: File 000011.log    
Issue Links:
Duplicate
duplicates MDEV-18200 MariaBackup full backup failed with I... Closed
Relates
relates to MDEV-22913 Error: xtrabackup_apply_delta() upon ... Closed
relates to MDEV-22918 innodb_init() returned 11 (Generic er... Closed

 Description   

Problem found during RQG testing of mariabackup.
bb-10.4-monty, origin/bb-10.4-monty ea07b5227feeccba1429b687e731033e1a6d560b 2019-02-05T20:08:11+02:00
One connection runs "chaotic" DDL.
Another connection runs mariabackup.
...
# 2019-02-12T11:51:55 [9201] Executing backup: bld_debug/extra/mariabackup/mariabackup --host=127.0.0.1 --user=root --password=''  --innodb-use-native-aio=0  --port=19620 --backup --datadir=/dev/shm/vardir/1549968621/17/1/data --target-dir=/dev/shm/vardir/1549968621/17/1_clone/data
[00] 2019-02-12 11:51:55 Connecting to MySQL server host: 127.0.0.1, user: root, password: set, port: 19620, socket: not set
[00] 2019-02-12 11:51:55 Using server version 10.4.3-MariaDB-debug-log
[00] 2019-02-12 11:51:55 bld_debug/extra/mariabackup/mariabackup based on MariaDB server 10.4.3-MariaDB Linux (x86_64)
...
[00] 2019-02-12 11:51:55 mariabackup: Generating a list of tablespaces
2019-02-12 11:51:55 0 [Warning] InnoDB: Allocated tablespace ID 4 for mysql/gtid_slave_pos, old maximum was 0
2019-02-12 11:51:55 0 [ERROR] InnoDB: Operating system error number 2 in a file operation.
2019-02-12 11:51:55 0 [ERROR] InnoDB: The error means the system cannot find the path specified.
2019-02-12 11:51:55 0 [ERROR] InnoDB: If you are installing InnoDB, remember that you must create directories yourself, InnoDB does not create them.
2019-02-12 11:51:55 0 [ERROR] InnoDB: File ./test/FTS_00000000000003a6_BEING_DELETED_CACHE.ibd: 'open' returned OS error 71.
2019-02-12 11:51:55 0x7f93afb92740  InnoDB: Assertion failure in file storage/innobase/fil/fil0fil.cc line 655
InnoDB: Failing assertion: success
InnoDB: We intentionally generate a memory trap.
190212 11:51:55 [ERROR] mysqld got signal 6 ;
...
stack_bottom = 0x0 thread_stack 0x49000
bld_debug/extra/mariabackup/mariabackup(my_print_stacktrace+0x40)[0x55d1dc82f4f9]
bld_debug/extra/mariabackup/mariabackup(handle_fatal_signal+0x3e7)[0x55d1dc0ffdce]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x13150)[0x7f93af78f150]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f93ae0130bb]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16d)[0x7f93ae014f5d]
bld_debug/extra/mariabackup/mariabackup(+0x10308b9)[0x55d1dc5a08b9]
bld_debug/extra/mariabackup/mariabackup(+0xda68d1)[0x55d1dc3168d1]
bld_debug/extra/mariabackup/mariabackup(+0xda9b4b)[0x55d1dc319b4b]
bld_debug/extra/mariabackup/mariabackup(+0x65cac8)[0x55d1dbbccac8]
bld_debug/extra/mariabackup/mariabackup(+0x65ced6)[0x55d1dbbcced6]
bld_debug/extra/mariabackup/mariabackup(+0x65d472)[0x55d1dbbcd472]
bld_debug/extra/mariabackup/mariabackup(+0x65f258)[0x55d1dbbcf258]
bld_debug/extra/mariabackup/mariabackup(+0x6667ae)[0x55d1dbbd67ae]
bld_debug/extra/mariabackup/mariabackup(main+0x24d)[0x55d1dbbd5ffe]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f93adffd1c1]
bld_debug/extra/mariabackup/mariabackup(_start+0x2a)[0x55d1dbbc5aea]



 Comments   
Comment by Marko Mäkelä [ 2021-09-08 ]

I am reassigning this to the current assignee of the related bug MDEV-18200.

Note: There is no valid technical reason for mariabackup --backup to use the InnoDB functions for opening files. This bug has really nothing to do with the InnoDB proper.

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