URL:
  <http://gna.org/bugs/?18833>

                 Summary: VS debugger crashes when connecting to 1.9 addons
server
                 Project: Battle for Wesnoth
            Submitted by: anonymissimus
            Submitted on: Fr 21 Okt 2011 13:53:20 GMT
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk r51552
        Operating System: win xp

    _______________________________________________________

Details:

Such crashes tend to be real problems which are just not as noticable under
other circumstances so here it is.

-There appears to be a strong relation to the images appearing in the addon
list, since a connect to the trunk addon server doesn't crash (perhaps it's
triggered by oversized images in the list).
-The bug doesn't seem related to bug #18832 (even with r48101 restored I can
still reproduce it).
-This problem seems present for as long as I can think back.

backtrace:

++
>       wesnoth.exe!surface::free_sdl_surface::operator()(SDL_Surface *
surf=0x06a1fc98)  Zeile 82 + 0x9 Bytes  C++
        wesnoth.exe!util::scoped_resource<SDL_Surface
*,surface::free_sdl_surface>::assign(SDL_Surface * const & o=0x06a1fcf0) 
Zeile 115       C++
        wesnoth.exe!surface::assign(const surface & o={...})  Zeile 104 C++
        wesnoth.exe!surface::operator=(const surface & o={...})  Zeile 109      
C++
        wesnoth.exe!image::locator::load_image_sub_file()  Zeile 481 + 0x46
Bytes   C++
        wesnoth.exe!image::locator::load_from_disk()  Zeile 515 + 0xc Bytes     
C++
        wesnoth.exe!image::get_image(const image::locator & i_locator={...},
image::TYPE type=UNSCALED)  Zeile 751 + 0xf Bytes       C++
        wesnoth.exe!gui::menu::style::get_item_image(const image::locator &
img_loc={...})  Zeile 70 + 0xf Bytes    C++
        wesnoth.exe!gui::menu::style::item_size(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
item="&units/monsters/fire-dragon.png~BLIT(units/human-magi/great-mage.png~TC(2,magenta),72,30)~BLIT(units/monsters/fire-dragon.png~CROP(125,45,35,30),125,45)~BLIT(units/monsters/fire-dragon.png~CROP(108,70,52,130),108,70)~BLIT(halo/elven/ice-halo5.png,91,8)~CROP(72,34,72,72)~BLIT(misc/blank-hex.png~BG(0,0,0)~CROP(0,0,72,12),0,60)~BLIT(misc/font8x8.png~CROP(40,24,8,8)~CS(-255,0,-255),12,62)~BLIT(misc)
 Zeile 805 + 0x2c Bytes C++
        wesnoth.exe!gui::menu::imgsel_style::item_size(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
item="&units/monsters/fire-dragon.png~BLIT(units/human-magi/great-mage.png~TC(2,magenta),72,30)~BLIT(units/monsters/fire-dragon.png~CROP(125,45,35,30),125,45)~BLIT(units/monsters/fire-dragon.png~CROP(108,70,52,130),108,70)~BLIT(halo/elven/ice-halo5.png,91,8)~CROP(72,34,72,72)~BLIT(misc/blank-hex.png~BG(0,0,0)~CROP(0,0,72,12),0,60)~BLIT(misc/font8x8.png~CROP(40,24,8,8)~CS(-255,0,-255),12,62)~BLIT(misc)
 Zeile 236      C++
        wesnoth.exe!gui::menu::get_item_height_internal(const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > > &
item=[8]("&units/monsters/fire-dragon.png~BLIT(units/human-magi/great-mage.png~TC(2,magenta),72,30)~BLIT(units/monsters/fire-dragon.png~CROP(125,45,35,30),125,45)~BLIT(units/monsters/fire-dragon.png~CROP(108,70,52,130),108,70)~BLIT(halo/elven/ice-halo5.png,91,8)~CROP(72,34,72,72)~BLIT(misc/blank-hex.png~BG(0,0,0)~CROP(0,0,72,12),0,60)~BLIT(misc/font8x8.png~CROP(40,24,8,8)~CS(-255,0,-255),12,62)~BLIT(,"Era
of High S,...))  Zeile 1153 + 0x28 Bytes        C++
        wesnoth.exe!gui::menu::get_item_height(int __formal=0)  Zeile 1176 + 
0x1b
Bytes   C++
        wesnoth.exe!gui::menu::max_items_onscreen()  Zeile 493 + 0xc Bytes      
C++
        wesnoth.exe!gui::menu::update_size()  Zeile 345 + 0x8 Bytes     C++
        wesnoth.exe!gui::menu::fill_items(const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > > &
items=[168]("=Name=Version=Autor=Typ=Geladen=Größe","&units/undead/soulless-wose-attack.png~TC(3,magenta)=Nightmares
of Meloen=1.0.2=various=MS Fraktion=15101=383.3
KiB=","&units/undead-necromancers/necromancer+female.png~PAL(magenta>red)=Love
to death =0.7.4=Geos=Kampagne=13842=3.3
MiB=","&units/human-magi/great-mage+female-attack-magic-2.png~RC(magenta>red)=The
Era of Myths=5.10.0=JW, various=,...,...), bool strip_spaces=true)  Zeile
254     C++
        wesnoth.exe!gui::menu::menu(CVideo & video={...}, const
std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char>
>,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > > &
items=[168]("=Name=Version=Autor=Typ=Geladen=Größe","&units/undead/soulless-wose-attack.png~TC(3,magenta)=Nightmares
of Meloen=1.0.2=various=MS Fraktion=15101=383.3
KiB=","&units/undead-necromancers/necromancer+female.png~PAL(magenta>red)=Love
to death =0.7.4=Geos=Kampagne=13842=3.3
MiB=","&units/human-magi/great-mage+female-attack-magic-2.png~RC(magenta>red)=The
Era of Myths=5.10.0=JW, various=,...,...), bool click_selects=false, int
max_height=-1, int max_width=-1, const gui::menu::sorter *
sorter_obj=0x0012dccc, gui::menu::style * menu_style=0x0012dab0, const bool
auto_join=false)  Zeile 213     C++
        wesnoth.exe!`anonymous namespace'::download_addons(game_display &
disp={...}, const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
remote_address="add-ons.wesnoth.org", bool update_mode=false, bool *
do_refresh=0x0012e92b, int old_index=0)  Zeile 1271 + 0x6d Bytes        C++
        wesnoth.exe!manage_addons(game_display & disp={...})  Zeile 1441 + 0x1e
Bytes   C++
        wesnoth.exe!do_gameloop(int argc=4, char * * argv=0x0012fe80)  Zeile 
554 +
0x2e Bytes      C++
        wesnoth.exe!SDL_main(int argc=4, char * * argv=0x0012fe80)  Zeile 627 + 
0xd
Bytes   C++
        wesnoth.exe!_main()  + 0xf5 Bytes       C
        wesnoth.exe!_WinMain@16()  + 0xae Bytes C
        wesnoth.exe!__tmainCRTStartup()  Zeile 574 + 0x35 Bytes C
        wesnoth.exe!WinMainCRTStartup()  Zeile 399      C

--

HEAP[wesnoth.exe]: HEAP: Free Heap block 7e8e8e8 modified at 7e8e9ac after it
was freed

Unfortunately, I couldn't reproduce with valgrind.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18833>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to