xtrabackup.exe crashes when prepares a backup

Bug #440119 reported by Aleksandr Kuzminsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Undecided
Unassigned

Bug Description

After following string in output:
xtrabackup: starting shutdown with innodb_fast_shutdown = 1
091001 10:44:21 InnoDB: Starting shutdown...
091001 10:44:22 InnoDB: Shutdown completed; log sequence number 0 45600

xtrabackup.exe crashes. The error message:
An unhandled win32 exception occured in xtrabackup.exe[368]

Unhandled exception at 0x7c91b21a in xtrabackup.exe: 0xC0000005: Access violation writing location 0x00000010.

Revision history for this message
Aleksandr Kuzminsky (akuzminsky) wrote :

Confirmed the same behaviour on rev.101.

Revision history for this message
Aleksandr Kuzminsky (akuzminsky) wrote :

As it turned out the crash happens in innobase\os\os0sync.c at the line

EnterCriticalSection((LPCRITICAL_SECTION) fast_mutex);

of the function os_fast_mutex_lock():

void
os_fast_mutex_lock(
/*===============*/
 os_fast_mutex_t* fast_mutex) /* in: mutex to acquire */
{
#ifdef __WIN__
 EnterCriticalSection((LPCRITICAL_SECTION) fast_mutex);
#else
 pthread_mutex_lock(fast_mutex);
#endif
}

fast_mutex is not equal to NULL.

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

Are there some stack traces at the time?

Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :
Changed in percona-xtrabackup:
status: New → Fix Committed
Changed in percona-xtrabackup:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.