<div dir="ltr">HI<div>I have written a Qt application using the QGis libraries.</div><div>I have setup a QGis project in Qgis(downloaded version 2.6) itself, and loads the project from my application. <br><div>In the project is a tiff raster image of 1.2Gig that have external pyramids created with QGis.</div><div><br></div><div>While using the QGis project in my application by zooming in and out, I get the following error in the qgsrasterblock code. Its keep scrolling the following.</div><div><i>src\core\raster\qgsrasterblock.cpp: 381: (setColor) index  out of range</i>  <br></div></div><div><br></div><div>I have captured the output from where it starts with the error and pasted it on pastebin. <a href="http://pastebin.com/MUBd1Uq2" target="_blank">http://pastebin.com/MUBd1Uq2</a></div><div><br></div><div>What I have noticed is that on line no.8 the "item" is twice the size of the "img" is the correct, could this happen? </div><div><i>8: "src\gui\qgsmapcanvasmap.cpp: 52: (paint) map paint DIFFERENT: sIZE: img 1553,972  item 3106,1944"</i><br></div><div><i><br></i></div><div>After this on line no.47 the paint device returned no engine error.</div><div><i>47: "QPainter::begin: Paint device returned engine == 0, type: 3"</i></div><div><br></div><div>A bit further on, on line no.66 the "img" is 0,0 in width and height, and the "item" is the correct size (<i>1553,972</i>)</div><div><i>66: "src\gui\qgsmapcanvasmap.cpp: 52: (paint) map paint DIFFERENT: sIZE: img 0,0  item 1553,972"</i><br></div><div><i><br></i></div><div>After that on line no.122 it start to get index out of bounds errors, and the looks like the application is hanging. </div><div><i>122: src\core\raster\qgsrasterblock.cpp: 381: (setColor) index 0 out of range<br></i></div><div><br></div><div>Has anyone seen behaviour like this, so that I can have and idea where to look?</div><div><br></div><div>Thank  you, in advance.</div><div>Theuns Heydenrych<br></div><div><br></div><div><i><br></i></div><div><br></div><div><br></div><div><br></div><div><br></div></div>