Tue 19 Aug 2003 11:48:01 PM UTC, original submission:
The SpritePacker gets stuck in an endless loop in Advent at line sprite_packer.cpp:125, backtrace follows below. This might be because Advent uses very large sprites, larger than what the gfx card can support (2048x600 or something like that)
(gdb) where
#0 0x4038cb53 in _List_iterator (this=0xbfffe1f0, __x=0x81ae800)
at /usr/include/c++/3.2/bits/stl_list.h:127
#1 0x4038c648 in std::list<std::pair<int, CL_Rect>, std::allocator<std::pair<int, CL_Rect> > >::end() (this=0x8241588)
at /usr/include/c++/3.2/bits/stl_list.h:373
#2 0x4038c185 in CL_SpritePacker::pack(int, int, int, int, int) (
this=0xbfffe3e0, max_width=1024, max_height=1024, min_width=16,
min_height=16, max_textures=-1) at sprite_packer.cpp:125
#3 0x40390684 in CL_Sprite (this=0xbfffe4b0, spritedescription=@0xbfffe4a0,
pack_texture=true) at sprite.cpp:64
#4 0x402d9393 in SurfaceSprite (this=0x8241018, arg_filename=
{static npos = 4294967295, _M_dataplus = {<allocator<char>> = {<No data fields>}, _M_p = 0x81ae76c "images/park.jpg"}, static _S_empty_rep_storage = {0, 0, 2, 0}}) at SurfaceSprite.cxx:57
#5 0x402da363 in SurfaceSprite::scm_surface_sprite_create(scm_unused_struct*)
(name=0x4351eb88) at SurfaceSprite.cxx:186
|