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
-
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Needs Feedback [ 10501 ] |
Assignee | Daniel Black [ danblack ] |
Status | Needs Feedback [ 10501 ] | Open [ 1 ] |
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. ... ``` |
When I run mariadb-backup, it immediately dumps core:
{noformat} # mariadb-backup Memory fault (core dumped) {noformat}If I run it from the directory where it's installed (/usr/pkg/bin), it prints its help successfully: {noformat} # 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. {noformat} |
Description |
When I run mariadb-backup, it immediately dumps core:
{noformat} # mariadb-backup Memory fault (core dumped) {noformat}If I run it from the directory where it's installed (/usr/pkg/bin), it prints its help successfully: {noformat} # 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. {noformat} |
When I run mariadb-backup, it immediately dumps core:
{noformat} # mariadb-backup Memory fault (core dumped) {noformat}If I run it from the directory where it's installed (/usr/pkg/bin), it prints its help successfully: {noformat} # 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. {noformat} |
Link |
This issue is caused by |
Component/s | Scripts & Clients [ 11002 ] | |
Component/s | Backup [ 13902 ] |
Link |
This issue is caused by |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.11 [ 27614 ] |
Link |
This issue is caused by |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Daniel Black [ danblack ] | Andrew Hutchings [ JIRAUSER52179 ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Fix Version/s | 10.5.27 [ 29902 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10002 ] | Closed [ 6 ] |
Fix Version/s | 10.6.20 [ 29903 ] | |
Fix Version/s | 10.11.10 [ 29904 ] | |
Fix Version/s | 11.2.6 [ 29906 ] | |
Fix Version/s | 11.4.4 [ 29907 ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.5.27 [ 29902 ] | |
Fix Version/s | 10.6.20 [ 29903 ] | |
Fix Version/s | 10.11.10 [ 29904 ] | |
Fix Version/s | 11.2.6 [ 29906 ] | |
Fix Version/s | 11.4.4 [ 29907 ] |
Assignee | Andrew Hutchings [ JIRAUSER52179 ] | Daniel Black [ danblack ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
issue.field.resolutiondate | 2024-10-16 02:11:13.0 | 2024-10-16 02:11:13.207 |
Fix Version/s | 10.5.27 [ 29902 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.6.20 [ 29903 ] | |
Fix Version/s | 10.11.10 [ 29904 ] | |
Fix Version/s | 11.2.6 [ 29906 ] | |
Fix Version/s | 11.4.4 [ 29907 ] |
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.