Bug 139 : Painting null grids
Status: Solved
geopsy
General information
--FATAL ERROR-
ASSERT: \"ny>0\" in file qtbirregulargrid2ddraw.cpp, line 79
2008-06-05 14:01:33.585
main,layerPainter1,layerPainter2,layerPainter3,layerPainter4
Current thread:
---- thread main qtbaxis.cpp:948 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 qtbgraphcontent.cpp:452 qtbgraphcontent.cpp:382 ---- thread layerPainter1 qtbirregulargrid2ddraw.cpp:68 qtbirregulargrid2dplot.cpp:111 qtbgraphcontentlayer.cpp:168 qtblayerpainterrequest.cpp:76 qtblayerpainterthread.cpp:39 ---- thread layerPainter2 qtblayerpainterthread.cpp:39 ---- thread layerPainter3 qtblayerpainterthread.cpp:39 ---- thread layerPainter4 qtblayerpainterthread.cpp:39
Developer comments (common to all duplicates if any)
The only way to get such an error is to have a null grid (no cells or just one cell). Solved by checking that the number of cells is greater or equal to 2 in all directions (X and Y) before painting grids.
Systems and versions
Windows XP | Qt 4.3.4 qtbtools 1.15.0 (200805231045, built key 200805261509) geopsycore 3.1.4 (200805231051, built key 200805261509) qtbguitools 1.8.2 (200805162004, built key 200805261509) scifigs 2.1.4 (200805231046, built key 200805261509) geopsygui 2.6.4 (200805231052, built key 200805261509) geopsy 2.5.1 (200805162007, built key 200805261509) dinvercore 0.7.0 (200805231053, built key 200805261509) qtbwave 0.7.1 (200803062243, built key 200805261509) qtbwavegui 0.4.1 (200804251855, built key 200805261509) dinverdccore 1.3.5 (200805231056, built key 200805261509) geopsyarray 2.1.2 (200805162009, built key 200805261509) geopsyhv 2.5.4 (200805162010, built key 200805261509) structureratios 0.4.2 (200805231057, built key 200805261509) |
User reports and comments
139 | 221 | 2008-06-06 15:51:20 |