[MDEV-32650] mariabackup failes with: Error on mysqld got signal 11 Created: 2023-11-01 Updated: 2023-12-11 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Backup, mariabackup |
| Affects Version/s: | 10.4.31, 10.6.15 |
| Fix Version/s: | 10.4, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Kern | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
I can't create Full backup of mariadb 10.6.
Here is the command I run:
mariabackup version:
Here is show engine innodb output:
Backtrace:
|
| Comments |
| Comment by Marko Mäkelä [ 2023-11-01 ] | ||||
|
It would seem to me that opendir() is being invoked on an invalid pointer to a string. In the source code, the call is os_file_opendir() via a simple macro:
I would guess that this is call is in backup_files(), which is called by backup_start(), which is visible in the stack trace. | ||||
| Comment by Sergei Golubchik [ 2023-11-02 ] | ||||
|
I'm sorry, I wasn't able to repeat this failure. I've run your command line and didn't get a crash. I must be missing some important detail. Could you please help to create a repeatable test case? | ||||
| Comment by Daniel Kern [ 2023-11-05 ] | ||||
|
Sorry, not clear what else needs to be added. Every time I run the backup I get the same error. Attaching a core file | ||||
| Comment by Daniel Black [ 2023-11-05 ] | ||||
|
Thanks for the core file. Which distro/version is the mariadb-backup from? Which version of mariadb-backup was used to generate this core? | ||||
| Comment by Daniel Kern [ 2023-11-06 ] | ||||
|
Server version: 10.6.15-MariaDB [root@~]# mariabackup --version
[root@~]# rpm -qa|grep -i maria Could there be an issue that mariabackup is a slightly different version than mariadb server? | ||||
| Comment by Marko Mäkelä [ 2023-11-06 ] | ||||
|
dankern, the mariadb-backup version should be the same major version as the being-backed-up server. Are you using the backup from 10.6.15 against a 10.4.31 server? That is not expected to work, because the redo log record format was changed in 10.5 and the logic around DDL operations was changed in 10.6. If that is the case, the bug would be that backup is crashing in an obscure way, instead of reporting that it is not compatible with the server. | ||||
| Comment by Daniel Kern [ 2023-11-06 ] | ||||
|
no, I am not doing that. I am using MariaDB-backup-10.6.15 against the DB MariaDB-server-10.6.10 Is that a problem? | ||||
| Comment by Marko Mäkelä [ 2023-11-06 ] | ||||
|
Minor version differences within a major version (such as 10.6) are supposed to be fine. | ||||
| Comment by Daniel Kern [ 2023-11-07 ] | ||||
|
Ok, so any idea what could be the issue? | ||||
| Comment by Sergei Golubchik [ 2023-12-11 ] | ||||
|
Unfortunately, I couldn't get a properly resolved stack trace from this core dump either |