Bug #56665 Failed ndbrequire in SUMA (Line: 4045)
Submitted: 8 Sep 2010 21:17 Modified: 24 Jan 2011 11:46
Reporter: Matthew Montgomery Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:mysql-5.1-telco-7.1 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: ndb-7.1.6

[8 Sep 2010 21:17] Matthew Montgomery
Description:
Time: Monday 6 September 2010 - 02:52:20
Status: Temporary error, restart node
Message: Internal program error (failed ndbrequire) (Internal error, programming error or missing error message, please report a bug)
Error: 2341
Error data: suma/Suma.cpp
Error object: SUMA (Line: 4045) 0x00000002
Program: /usr/local/mysql/bin/ndbmtd
Pid: 28666 thr: 1
Version: mysql-5.1.47 ndb-7.1.6
Trace: /db3/ndb8/ndb_8_trace.log.3 /db3/ndb8/ndb_8_trace.log.3_t1 /db3/ndb8/ndb_8_trace.log.3_t2 /db3/ndb8/ndb_8_trac

How to repeat:
SUMA    004230 004245 
SUMA    003999 
SUMA    004056 004100 004045 

Added as part of commit 3362.1.50    jonas@

4228 Suma::execSUB_GCP_COMPLETE_REP(Signal* signal)
4229 {
4230   jamEntry();

4243     if (SSPP)
4244       printf("execSUB_GCP_COMPLETE_REP(%u/%u)", gci_hi, gci_lo);
4245     jam();

3997 Suma::execFIRE_TRIG_ORD_L(Signal* signal)
3998 {
3999   jamEntry();

4054 Suma::execFIRE_TRIG_ORD(Signal* signal)
4055 {
4056   jamEntry();

4100   jam();
4101   ndbrequire(f_bufferLock == trigId);
4102   /**
4103    * Reset f_bufferLock
4104    */

4045     ndbrequire(ptr == save + msglen);
4046     ndbrequire(len >= msglen);
4047     len -= msglen;
4048   }
[29 Sep 2010 12:45] Jørgen Austvik
Triage: Workaround: partial: revert 6 month old optimization of custom build

Feedback: Jonas has provided a patch that will give more debug information if this happens again.
[11 Nov 2010 12:51] Hartmut Holzgraefe
New code leading to this was introduced as fix for bug #49614
[3 Dec 2010 13:11] Bernd Ocklin
its actually bug#46914
[4 Jan 2011 8:41] Jonas Oreland
possibly/likely duplicate of http://bugs.mysql.com/bug.php?id=59242
[24 Jan 2011 11:46] Jonas Oreland
Closing this as duplicate...