xtrabackup_55 segfaults when defaults file's basename differs from my.cnf
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
1.6 |
Won't Fix
|
Medium
|
Unassigned | |||
2.0 |
Won't Fix
|
Low
|
Unassigned | |||
2.1 |
Won't Fix
|
Low
|
Unassigned | |||
2.2 |
Won't Fix
|
Low
|
Unassigned | |||
2.3 |
Invalid
|
Low
|
Unassigned | |||
2.4 |
Invalid
|
Low
|
Unassigned |
Bug Description
xtrabackup_55 binary reads configuration file correctly only when its basename is my.cnf
[root@test-
xtrabackup_55 Ver 1.6 Rev 245 for 5.5.9 Linux (x86_64)
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /var/lib/mysql
xtrabackup: Target instance is assumed as followings.
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
110514 3:12:16 InnoDB: Using Linux native AIO
>> log scanned up to (1597945)
[01] Copying ./ibdata1
to /root/backup/
[01] ...done
xtrabackup: The latest check point (for incremental): '1597945'
>> log scanned up to (1597945)
xtrabackup: Stopping log copying thread.
xtrabackup: Transaction log of lsn (1597945) to (1597945) was copied.
If basename differs from my.cnf xtrabackup_55 segfaults:
[root@test-
Segmentation fault
(gdb) run
Starting program: /usr/bin/
[Thread debugging using libthread_db enabled]
[New Thread 0x40a00940 (LWP 1312)]
[Thread 0x40a00940 (LWP 1312) exited]
[New Thread 0x40a00940 (LWP 1313)]
[Thread 0x40a00940 (LWP 1313) exited]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff74d3b80 in strlen () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff74d3b80 in strlen () from /lib64/libc.so.6
#1 0x0000000000530447 in fn_format (to=0xa02c80 "", name=0x7fffffffec8c "trololo", dir=<value optimized out>, extension=0x0, flag=196) at /usr/src/
#2 0x000000000052f658 in fn_expand (conf_file=0x553681 "my", argc=<value optimized out>, argv=<value optimized out>, args_used=<value optimized out>, func=0x52e5c0 <handle_
at /usr/src/
#3 my_search_
at /usr/src/
#4 0x000000000052fe3f in my_load_defaults (conf_file=0x553681 "my", groups=0x990f80, argc=0x7fffffff
#5 0x00000000004141f5 in main (argc=4, argv=0x7fffffff
(gdb)
tags: | added: xtrabackup |
Changed in percona-xtrabackup: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 1.7 |
assignee: | nobody → Alexey Kopytov (akopytov) |
Changed in percona-xtrabackup: | |
milestone: | 1.7.0beta1 → 1.7.0 |
Marking as Won't Fix for the old stable release of 1.6. If you need this bug fixed in a 1.6 tree, please ask for it here or contact us (Percona) to arrange it.