Contents

hide
<<previous   next>>

Bug 240 : Error in QtbIrregularGrid2D::setX

Status: Solved

max2curve

General information

--FATAL ERROR-

ASSERT: "nx == _nx && val[0]<=val[nx-1]" in file qtbirregulargrid2d.cpp, line 113

2008-10-13 14:02:55.046

main,layerPainter1

Current thread:

---- thread main
qtbirregulargrid2d.cpp:112
qtbmaxentrylist.cpp:246
qtbhistogram.cpp:215
qtbhistogram.cpp:98
---- thread layerPainter1
qtblayerpainterthread.cpp:37


Developer comments (common to all duplicates if any)

QTB_ASSERT( nx == _nx && val[0]<=val[nx-1]); Assert slipt in two. _nx should be equal to nx. However, constructor of QtbIrregularGrid can fail if _nx is by chance equal to nx before execution of constructor. This error is fixed in Sesarray-2.0.4. The assert may also have failed because of the conditions on frequency values. In this case this is likely a user error. This condition does not exist anymore in Sesarray-2.1.0

Systems and versions

Windows XP
  Qt                  4.3.4
  qtbtools            1.17.3 from sesarray-2.0.3	(built on 200808071044, built key 200809101314)
  qtbguitools         1.9.2 from sesarray-2.0.3	(built on 200808071044, built key 200809101314)
  qtbwave             0.7.2 from sesarray-2.0.3	(built on 200808071044, built key 200809101314)
  scifigs             2.2.3 from sesarray-2.0.3	(built on 200808071044, built key 200809101314)
  qtbwavegui          0.5.1 from sesarray-2.0.3	(built on 200808071044, built key 200809101314)
  max2curve           0.5.5 from sesarray-2.0.3	(built on 200808071044, built key 200809101314)

User comments

User reports

3552008-10-13 20:03:17
3562008-10-13 20:10:08