Bug #60019 MT cluster can crash
Submitted: 8 Feb 2011 19:22 Modified: 22 Aug 2013 21:09
Reporter: Bernd Ocklin Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Cluster: Cluster/J Severity:S2 (Serious)
Version:7.1.10 OS:Any
Assigned to: CPU Architecture:Any

[8 Feb 2011 19:22] Bernd Ocklin
Description:
Creating a SessionFactory in one thread and session.newInstance(...) in two other threads it can crash JVM.

Potential duplicate of http://bugs.mysql.com/bug.php?id=54619.

How to repeat:
...
[8 Feb 2011 21:25] Craig Russell
The version in the bug report says 7.1.10 but the version in the stack trace is 

mysql-cluster-gpl-7.1.9a-linux-i686-glibc23
[8 Feb 2011 23:25] Craig Russell
There is a regression test designed to expose bugs in this area: clusterj-test regression.Bug54619Test

Can someone see if this test case exposes the bug, or if it can be tweaked/tuned to expose the bug?
[9 Feb 2011 0:02] Craig Russell
If this bug can be reproduced, can you try this patch?

=== modified file 'storage/ndb/clusterj/clusterj-tie/src/main/java/com/mysql/clusterj/tie/ClusterConnectionImpl.java'
--- storage/ndb/clusterj/clusterj-tie/src/main/java/com/mysql/clusterj/tie/ClusterConnectionImpl.java	2011-02-02 09:52:33 +0000
+++ storage/ndb/clusterj/clusterj-tie/src/main/java/com/mysql/clusterj/tie/ClusterConnectionImpl.java	2011-02-08 23:57:39 +0000
@@ -44,6 +44,8 @@ public class ClusterConnectionImpl
     /** Load the ndbjtie system library */
     static {
         loadSystemLibrary("ndbclient");
+        // initialize the charset map
+        Utility.getCharsetMap();
     }
 
     /** Ndb_cluster_connection: one per factory. */
[23 Aug 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".