Bug #13167 probably a programming error

Submitted: 14 Sep 2005 7:04 Modified: 14 Oct 2005 8:35
Reporter: Juan Carlos Moreno Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1.11 OS:Linux (Debian Linux)
Assigned to: CPU Architecture:Any

[14 Sep 2005 7:04] Juan Carlos Moreno
Description:
Date/Time: Wednesday 14 September 2005 - 08:27:50
Type of error: assert
Message: Assertion, probably a programming error
Fault ID: 2301
Problem data: ArrayPool<T>::getPtr
Object of reference: ../../../../../ndb/src/kernel/vm/ArrayPool.hpp line: 350 (block: DBTC)
ProgramName: ndbd
ProcessID: 4061
TraceFile: /var/lib/mysql-cluster/ndb_2_trace.log.3
***EOM***

How to repeat:
not sure.
[14 Sep 2005 7:06] Juan Carlos Moreno
/var/lib/mysql-cluster/ndb_2_trace.log.3

Attachment: ndb_2_trace.log.3.gz (application/x-gzip, text), 46.82 KiB.

[14 Sep 2005 8:35] Valeriy Kravchuk
This is the assertion failure in:

inline
T *
ArrayPool<T>::getPtr(Uint32 i){
  if(i < size){
#ifdef ARRAY_GUARD
    if(BitmaskImpl::get(bitmaskSz, theAllocatedBitmask, i))
      return &theArray[i];
    /**
     * Getting a non-seized element
     */
    ErrorReporter::handleAssert("ArrayPool<T>::getPtr", __FILE__, __LINE__);
    return 0;
#else
    return &theArray[i];
#endif
  } else {
    ErrorReporter::handleAssert("ArrayPool<T>::getPtr", __FILE__, __LINE__);

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    return 0;
  }
}

So, we got i >= size.

Please, specify your hardware, add my.cnf content and provide any additional information about your actions performed when this assertion failure happend.

Have you tried to install newer version (4.1.14)? 4.1.11 is a bit dated.
[14 Oct 2005 23: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".

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.067 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.