Bug #16196 5.1-dd-new debug build (missing error message) ArrayPool<T>::getPtr
Submitted: 4 Jan 2006 16:39 Modified: 10 Jan 2006 7:38
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:5.1.5-alpha OS:Linux (Linux)
Assigned to: Jonas Oreland CPU Architecture:Any

[4 Jan 2006 16:39] Jonathan Miller
Description:
When trying to restart the cluster:

Time: Wednesday 4 January 2006 - 17:13:17
Status: Temporary error, restart node
Message: Assertion (Internal error, programming error or missing error message, please report a bug)
Error: 2301
Error data: ArrayPool<T>::getPtr
Error object: ../../../../../storage/ndb/src/kernel/vm/ArrayPool.hpp line: 330 (block: LGMAN)
Program: /home/ndbdev/jmiller/builds/libexec/ndbd
Pid: 6445
Trace: /space/run/ndb_4_trace.log.4
Version: Version 5.1.5 (alpha)

How to repeat:
see above

Suggested fix:
correct problem and/or add error message
[4 Jan 2006 17:20] Jonas Oreland
This is the mysqld equivalent of

char * p = 0;
* p = 0;

i.e. dereferencing a invalid pointer...
there is no other message to give other than: 
"Assertion (Internal error, programming error or missing error message, please report a bug)"

(The bug giving this should however ofcourse be fixed....)
[4 Jan 2006 17:25] Jonathan Miller
Great! Then lest use this bug report to fix the bug causing it.
[4 Jan 2006 22:01] Jonas Oreland
You didnt say how you got it.
"When trying to restart the cluster:" isnt enough info.
Please supply repeatable testcase or atleast tracefiles.
[6 Jan 2006 13:27] Valeriy Kravchuk
Isn't it a duplicate (as the test case is the same) of bug #16193? If it is different, and verified, please, set the appropriate status.
[6 Jan 2006 21:55] Jonathan Miller
Jonas,

Was this one of the ones that you have already fixed but not yet pushed?

Thanks
[10 Jan 2006 7:38] Jonas Oreland
Fixed