Quote Originally Posted by Darkhog View Post
Yeah, it looks like this:

#0 fpc_popaddrstack at :0
#1 ?? at :0
#2 TSPRITE__CREATE(0x1848720, 0x1846a58, 0x42a428, <error reading variable>) at sprites.pas:39
#3 TTILESET__GETTILESPRITE(4, <error reading variable>) at tilesets.pas:65
#4 TCHUNK__GETTERRAINSPRITE(0x158d170, <error reading variable>) at chunkutils.pas:264
#5 TCHUNK__DRAW(0x1846d20, 0, 64, 0x158d170, 4, true, <error reading variable>) at chunkutils.pas:177
#6 DRAW at alletest.lpr:37
#7 main at alletest.lpr:158

But dunno how to interpret this.
those are procedures/functions that were called prior to crash.
on top is most recent one and going down you can track what have led there. btw why you create sprite after chunk.draw? shouldn't it be done in some init part?