Bug #67005 bacula crashes MySQL-Cluster-server
Submitted: 28 Sep 2012 8:57 Modified: 5 Feb 2013 10:07
Reporter: kamil nowak Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:7.2.7 , 7.2.8 OS:Linux (redhat rhel 6.3)
Assigned to: CPU Architecture:Any
Tags: bacula mysql cluster

[28 Sep 2012 8:57] kamil nowak
Description:
try to run bacula backup software on MySQL-Cluster-server-gpl-7.2.7 and MySQL-Cluster-server-gpl-7.2.8
use 2 versions of bacula (5.0.3 and 5.2.12 - compliled with devel from mysql-cluster)
after running backup or recovery in bacula  mysql server crash and is unable to restart
log after crash:
12:27:37 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=2
max_threads=151
thread_count=1
connection_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 338499 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x31b46d0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7fb710442e68 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x821fe5]
/usr/sbin/mysqld(handle_fatal_signal+0x4a4)[0x6f9234]
/lib64/libpthread.so.0[0x37e360f500]
/usr/sbin/mysqld(_ZN11MDL_context32upgrade_shared_lock_to_exclusiveEP10MDL_ticketm+0x50)[0x6a65f0]
/usr/sbin/mysqld(_Z24wait_while_table_is_usedP3THDP5TABLE17ha_extra_function+0x37)[0x5c9317]
/usr/sbin/mysqld(_Z32mysql_fast_or_online_alter_tableP3THDP5TABLES2_P24st_ha_create_informationP23st_ha_alter_informationP6BitmapILj41EE22enum_enable_or_disablebP11MDL_request+0x1c6)[0x6566d6]
/usr/sbin/mysqld(_Z17mysql_alter_tableP3THDPcS1_P24st_ha_create_informationP10TABLE_LISTP10Alter_infojP8st_orderb+0x3cdd)[0x662e0d]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x2576)[0x5fe876]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x188)[0x600db8]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x136f)[0x60214f]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0xcf)[0x69c4ff]
/usr/sbin/mysqld(handle_one_connection+0x51)[0x69c601]
/lib64/libpthread.so.0[0x37e3607851]
/lib64/libc.so.6(clone+0x6d)[0x37e32e767d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fb6e000e580): is an invalid pointer
Connection ID (thread ID): 15
Status: NOT_KILLED

How to repeat:
repeat every time - install mysql cluster,  install bacula, create bacula database, run backup job - database crash immediately
[25 Nov 2012 0:12] Stefan Mikuszeit
Same Problem on Ubuntu 12.04 with mysql-cluster-advanced-7.2.8-linux2.6-x86_64

Bacula Version: Version: 5.2.5 (26 January 2012) x86_64-pc-linux-gnu ubuntu 12.04

Any Solutions on this case ?

Regards
Stefan
[5 Jan 2013 10:07] MySQL Verification Team
Looks like a duplicate of bug #64663 - please check.
[6 Feb 2013 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".