Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.11.7, 10.11.8
-
None
-
NetBSD 10.0/amd64
Description
When I run mariadb-backup, it immediately dumps core:
# mariadb-backup
|
Memory fault (core dumped)
|
If I run it from the directory where it's installed (/usr/pkg/bin), it prints its help successfully:
# cd /usr/pkg/bin
|
# mariadb-backup
|
mariadb-backup based on MariaDB server 10.11.8-MariaDB NetBSD (x86_64)
|
Open source backup tool for InnoDB and XtraDB
|
|
Copyright (C) 2009-2015 Percona LLC and/or its affiliates.
|
Portions Copyright (C) 2000, 2011, MySQL AB & Innobase Oy.
|
Portions Copyright (C) 2017-2023 MariaDB Corporation / MariaDB Plc.
|
Attachments
Issue Links
- is caused by
-
MDEV-13466 Implement --export option for MariaDB Backup
-
- Closed
-
Can you provide some information from the core dump? In https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/ you can find some advice. You would have to replace mariadbd with mariadbd-backup when reading that.
Maybe you can just prepend gdb -ex run --args to your invocation of mariadb-backup? Then the crash should occur inside the debugger.