← Back to team overview

percona-discussion team mailing list archive

[Bug 358266] Re: xtrabackup-0.5 dies with SEGV on bad command line arguments

 

** Changed in: percona-xtrabackup
   Importance: Undecided => Medium

** Changed in: percona-xtrabackup
       Status: New => Confirmed

** Changed in: percona-xtrabackup
     Assignee: (unassigned) => Yasufumi Kinoshita (yasufumi-kinoshita)

-- 
xtrabackup-0.5 dies with SEGV on bad command line arguments
https://bugs.launchpad.net/bugs/358266
You received this bug notification because you are a member of Percona
developers, which is the registrant for Percona-XtraBackup.

Status in Open source backup tool for InnoDB and XtraDB: Confirmed

Bug description:
garfield xtrabackup # ./xtrabackup --prepare --target-dir /vol/vol1/TEST 
Segmentation fault

If parameter to an argument is given after a space character rather than after =, the application dies with segmentation fault instead of returning with an error.

(gdb) run
Starting program: /root/xtrabackup/xtrabackup --prepare --target-dir /vol/vol1/TEST
[Thread debugging using libthread_db enabled]
[New Thread 0x7fb90ed036f0 (LWP 1286)]
[New Thread 0x42694950 (LWP 1289)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb90ed036f0 (LWP 1286)]
0x0000000000507dbc in handle_options ()
(gdb) bt
#0  0x0000000000507dbc in handle_options ()
#1  0x000000000040752c in main (argc=-1, argv=0xe64290) at xtrabackup.c:3334



References