Bug #61831 System crashes when table name is 64 char long.
Submitted: 12 Jul 2011 9:13 Modified: 13 Jul 2011 22:58
Reporter: Shouichi KAMIYA Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:7.2.0-devmilestone OS:Any
Assigned to: CPU Architecture:Any

[12 Jul 2011 9:13] Shouichi KAMIYA
Description:
System crashes when table name is exactly 64 char long e.g. CREATE TABLE <64 char long table name>.

How to repeat:
CREATE TABLE aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (id INT AUTO_INCREMENT, PRIMARY KEY (id)) ENGINE=ndb;
[13 Jul 2011 22:50] Sveta Smirnova
Thank you for the report.

Verified as described.
[13 Jul 2011 22:53] Sveta Smirnova
See also bug #25168 and bug #44940
[13 Jul 2011 22:55] Sveta Smirnova
Backtrace:

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 = 0x40cf2b28 thread_stack 0x40000
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(my_print_stacktrace+0x33)[0x9b6d03]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(handle_segfault+0x32d)[0x63f4ed]
/lib64/libpthread.so.0[0x3429e0dd40]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_ZN7NdbBlob8setValueEPKvj+0x6)[0x984fc6]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z24ndbcluster_log_schema_opP3THDPKciS2_S2_jj14SCHEMA_OP_TYPES2_S2_i+0x702)[0x801412]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_ZN13ha_ndbcluster6createEPKcP8st_tableP24st_ha_create_information+0x17b4)[0x7f1d34]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z15ha_create_tableP3THDPKcS2_S2_P24st_ha_create_informationb+0x137)[0x736db7]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z16rea_create_tableP3THDPKcS2_S2_P24st_ha_create_informationR4ListI12Create_fieldEjP6st_keyP7handler+0x12b)[0x6fab8b]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z26mysql_create_table_no_lockP3THDPKcS2_P24st_ha_create_informationP10Alter_infobj+0xaa7)[0x74fb87]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z18mysql_create_tableP3THDPKcS2_P24st_ha_create_informationP10Alter_infobj+0x1ef)[0x75064f]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z21mysql_execute_commandP3THD+0x7dc9)[0x656c79]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z11mysql_parseP3THDPcjPPKc+0x1f3)[0x657703]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xd90)[0x658590]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(_Z10do_commandP3THD+0xde)[0x658f9e]
/users/ssmirnova/blade12/mysql-cluster-gpl-7.2.0-devmilestone-linux-x86_64-glibc23/bin/mysqld(handle_one_connection+0x1f0)[0x649000]
[13 Jul 2011 22:56] Sveta Smirnova
Actually duplicate of bug #44940