Bug #63477 signal 11
Submitted: 29 Nov 2011 16:45 Modified: 30 Nov 2011 15:30
Reporter: Ligaya Turmelle Email Updates:
Status: Analyzing Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.1.56-ndb-7.1.13-cluster-gpl-log OS:Linux (RHEL)
Assigned to: Assigned Account CPU Architecture:Any

[29 Nov 2011 16:45] Ligaya Turmelle
Description:
On 2 separate machine we have had the same crash occur.  Both were triggered by the same query and gave the same stack trace. We have not yet been able reproduce it in a controlled manner - even using the query that triggered both crashes - so there has to be more going on that we do not know about yet.

Stack trace:
111122 14:30:09 - 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=8384512
read_buffer_size=131072
max_used_connections=10
max_threads=151
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 
338327 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x2aaab03485e0
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 = 0x418ecb28 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x33)[0x945893]
/usr/sbin/mysqld(handle_segfault+0x34f)[0x62f57f]
/lib64/libpthread.so.0[0x2b3bac18eb10]
/usr/sbin/mysqld(_ZN16NdbScanOperation18receiver_deliveredEP11NdbReceiver+0x28)[0x8f04f8]
/usr/sbin/mysqld(_ZN14NdbTransaction19receiveSCAN_TABCONFEPK12NdbApiSignalPKjj+0x1c0)[0x907df0]
/usr/sbin/mysqld(_ZN3Ndb20handleReceivedSignalEPK12NdbApiSignalPK16LinearSectionPtr+0x1158)[0x8f8918]
/usr/sbin/mysqld(_ZN17TransporterFacade14deliver_signalEP12SignalHeaderhPjP16LinearSectionPtr+0x176)[0x9921e6]
/usr/sbin/mysqld(_ZN19TransporterRegistry6unpackEPjjt7IOState+0x318)[0x95f448]
/usr/sbin/mysqld(_ZN19TransporterRegistry14performReceiveEv+0x257)[0x95d027]
/usr/sbin/mysqld(_ZN3Ndb25waitCompletedTransactionsEiiP9PollGuard+0x7b)[0x8f6a5b]
/usr/sbin/mysqld(_ZN3Ndb10poll_transEiiP9PollGuard+0x3e)[0x8f707e]
/usr/sbin/mysqld(_ZN3Ndb11sendPollNdbEiii+0x51)[0x8f7451]
/usr/sbin/mysqld(_ZN14NdbTransaction14executeNoBlobsENS_8ExecTypeEN12NdbOperation11AbortOptionEi+0x54)[0x91bdd4]
/usr/sbin/mysqld(_ZN14NdbTransaction7executeENS_8ExecTypeEN12NdbOperation11AbortOptionEi+0x232)[0x91c0d2]
/usr/sbin/mysqld(_ZN13ha_ndbcluster7pk_readEPKhjPhPj+0x9d)[0x7a3c4d]
/usr/sbin/mysqld(_ZN13ha_ndbcluster23read_range_first_to_bufEPK12st_key_rangeS2_bbPh+0x23f)[0x7ab63f]
/usr/sbin/mysqld(_ZN13ha_ndbcluster10index_readEPhPKhj16ha_rkey_function+0x4a)[0x7ab76a]
/usr/sbin/mysqld[0x68cd76]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0xa9)[0x6984c9]
/usr/sbin/mysqld[0x6983bc]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0xb6)[0x6984d6]
/usr/sbin/mysqld[0x6983bc]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0xb6)[0x6984d6]
/usr/sbin/mysqld[0x6983bc]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0xb6)[0x6984d6]
/usr/sbin/mysqld[0x6983bc]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x63)[0x698483]
/usr/sbin/mysqld[0x69d093]
/usr/sbin/mysqld(_ZN4JOIN4execEv+0x90f)[0x6a5eaf]
/usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x1b9)[0x6a79a9]
/usr/sbin/mysqld(_Z13handle_selectP3THDP6st_lexP13select_resultm+0x16e)[0x6a82be]
/usr/sbin/mysqld[0x6374c4]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x228e)[0x63c2ae]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjPPKc+0x2ae)[0x64037e]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x585)[0x640915]
/usr/sbin/mysqld(_Z10do_commandP3THD+0xe4)[0x641a44]
/usr/sbin/mysqld(handle_one_connection+0x71f)[0x633e7f]
/lib64/libpthread.so.0[0x2b3bac18673d]
/lib64/libc.so.6(clone+0x6d)[0x2b3bacf514bd]

I will attach the ndb_error_reporter output in private

How to repeat:
Unknown

Suggested fix:
Unknown
[30 Nov 2011 4:00] MySQL Verification Team
ndb_error_reporter includes no ndb_49_cluster.log* files. Please provide these and also the mysqld error log(s) for the crashed mysqld.
[30 Nov 2011 13:25] Ligaya Turmelle
error log from last event added.
[4 Feb 2014 11:16] David Leigh
We appear to be getting the same problem, was this ever resolved?

David