Segmentation fault

Bug #611960 reported by Tamas Kozak on 2010-07-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Critical
Unassigned

Bug Description

Version 1.2 works fine on the same box.

# uname -rm
2.6.26-2-amd64 x86_64
# mysql -V
mysql Ver 14.14 Distrib 5.1.47, for debian-linux-gnu (x86_64) using
EditLine wrapper
# dpkg -l |grep perc
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
ii libmysqlclient15off
5.0.91-percona-b22.lenny.33 MySQL database client library
ii percona-server-client-5.1
5.1.47-11.2-53.lenny Percona Server database client binaries
ii percona-server-common
5.1.47-11.2-53.lenny Percona Server database common
files (e.g. /etc/mysql/my.cnf)
ii percona-server-server-5.1
5.1.47-11.2-53.lenny Percona Server database server binaries

# dpkg -l |grep xtrabackup
ii xtrabackup
1.3-146.lenny.18 Open source backup tool for InnoDB
and XtraDB

# xtrabackup --backup --target-dir=/home/backuptest
xtrabackup: tables regcomp(): Success
xtrabackup Ver 1.3 Rev 146 for 5.1.47 unknown-linux-gnu (x86_64)
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /var/lib/mysql
xtrabackup: Target instance is assumed as followings.
xtrabackup: innodb_data_home_dir = ./
xtrabackup: innodb_data_file_path = ibdata1:10M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 2
xtrabackup: innodb_log_file_size = 5242880
Segmentation fault

(gdb) r --backup --target-dir=/home/backuptest
Starting program: /usr/bin/xtrabackup --backup --target-dir=/home/backuptest
[Thread debugging using libthread_db enabled]
[New Thread 0x7f2aee33d6e0 (LWP 5483)]
[New Thread 0x41136950 (LWP 5486)]
[Thread 0x41136950 (LWP 5486) exited]
xtrabackup: tables regcomp(): Success
/usr/bin/xtrabackup Ver 1.3 Rev 146 for 5.1.47 unknown-linux-gnu (x86_64)
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /var/lib/mysql
xtrabackup: Target instance is assumed as followings.
xtrabackup: innodb_data_home_dir = ./
xtrabackup: innodb_data_file_path = ibdata1:10M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 2
xtrabackup: innodb_log_file_size = 5242880
[New Thread 0x41136950 (LWP 5487)]
[New Thread 0x42327950 (LWP 5488)]
[New Thread 0x41937950 (LWP 5489)]
[New Thread 0x42b28950 (LWP 5490)]
[New Thread 0x43329950 (LWP 5491)]
[New Thread 0x43b2a950 (LWP 5492)]
[New Thread 0x4432b950 (LWP 5493)]
[New Thread 0x44b2c950 (LWP 5494)]
[New Thread 0x4532d950 (LWP 5495)]
[New Thread 0x45b2e950 (LWP 5496)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f2aee33d6e0 (LWP 5483)]
0x00000000004dc815 in open_or_create_data_files
(create_new_db=0x7fffd0b76fa0, create_new_doublewrite_file=0x7fffd0b76fd0,
   min_flushed_lsn=0x7fffd0b76fc8, max_flushed_lsn=0x7fffd0b76fc0,
sum_of_new_sizes=0x0) at srv/srv0start.c:746
746 srv/srv0start.c: No such file or directory.
       in srv/srv0start.c
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) bt
#0 0x00000000004dc815 in open_or_create_data_files
(create_new_db=0x7fffd0b76fa0, create_new_doublewrite_file=0x7fffd0b76fd0,
   min_flushed_lsn=0x7fffd0b76fc8, max_flushed_lsn=0x7fffd0b76fc0,
sum_of_new_sizes=0x0) at srv/srv0start.c:746
#1 0x000000000040721b in xtrabackup_backup_func () at xtrabackup.c:2963
#2 0x000000000040ae12 in main (argc=0, argv=0x9aba58) at xtrabackup.c:5179
(gdb)

Vadim Tkachenko (vadim-tk) wrote :

Tamas,

So as I understand you use MySQL-5.1 with standard InnoDB as server ?

Tamas Kozak (tamas-kozak) wrote :

Vadim,

This is the latest Percona Server-5.1

mysql> show variables like 'version%';
+-------------------------+--------------------------------------------+
| Variable_name | Value |
+-------------------------+--------------------------------------------+
| version | 5.1.47-rel11.2-log |
| version_comment | (Percona Server (GPL), 11.2 , Revision 53) |
| version_compile_machine | x86_64 |
| version_compile_os | debian-linux-gnu |
+-------------------------+--------------------------------------------+

Confirmed on Percona-Server.
In this case the binary "xtrabackup" is used. It crashes.
The binary xtrabackup_50 works fine.

Changed in percona-xtrabackup:
status: New → Confirmed
milestone: none → 1.3.1
importance: Undecided → Critical

fixed in trunk, rev. 154

Changed in percona-xtrabackup:
status: Confirmed → Fix Committed
Percona (percona-team) on 2010-11-25
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-210

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers