View Issue Details

IDProjectCategoryView StatusLast Update
0000786FSSCPgraphicspublic2006-03-07 17:52
ReporterWMCoolmon Assigned Totaylor  
PrioritynormalSeverityminorReproducibilityrandom
Status resolvedResolutionfixed 
Summary0000786: Attempt to load released bitmap in ship select screen
DescriptionHappens in BSG mod, after a session of multiplayer gameplay. The Ss_load_all_icons function tries to load the Viper's textures, but apparently at least one of the handles is invalid due to the bm_release call (The BM info says for the filename "IVE BEEN RELEASED!"
Additional Information> fs2_open_d.exe!debug_int3(char * file=0x0085d8d0, int line=1021) Line 922 C++
     fs2_open_d.exe!WinAssert(char * text=0x00889c30, char * filename=0x00889710, int linenum=2373) Line 1021 + 0x13 C++
     fs2_open_d.exe!bm_lock(int handle=870286, unsigned char bpp='', unsigned char flags='') Line 2373 + 0x36 C++
     fs2_open_d.exe!model_page_in_textures(int modelnum=257, int ship_info_index=0) Line 5225 + 0x17 C++
     fs2_open_d.exe!ss_load_icons(int ship_class=0) Line 3527 + 0x10 C++
     fs2_open_d.exe!ss_load_all_icons() Line 3551 + 0x9 C++
     fs2_open_d.exe!ship_select_common_init() Line 3885 C++
     fs2_open_d.exe!common_select_init() Line 884 C++
     fs2_open_d.exe!brief_init() Line 1360 C++
     fs2_open_d.exe!game_enter_state(int old_state=38, int new_state=10) Line 7725 C++
     fs2_open_d.exe!gameseq_set_state(int new_state=10, int override=0) Line 528 + 0x18 C++
     fs2_open_d.exe!game_process_event(int current_state=38, int event=15) Line 6886 + 0x9 C++
     fs2_open_d.exe!gameseq_process_events() Line 641 + 0x19 C++
     fs2_open_d.exe!game_main(char * cmdline=0x00133717) Line 8791 + 0x5 C++
     fs2_open_d.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * hPrev=0x00000000, char * szCmdLine=0x00133717, int nCmdShow=1) Line 8863 + 0x9 C++
     fs2_open_d.exe!WinMainCRTStartup() Line 251 + 0x30 C
TagsNo tags attached.

Activities

taylor

2006-02-06 01:04

administrator   ~0004668

I need a full fs.log (with empty debug_filter.cfg in place) to try and figure this out.

Basically it shouldn't happen since the textures should only be released if the model itself gets released. When the model is loaded back then the textures also get loaded back. What this error seems to indicate is that the model wasn't released but at least one of it's textures was.

taylor

2006-02-16 04:51

administrator   ~0004760

See if this is any better with current CVS.

taylor

2006-02-20 23:40

administrator   ~0004851

* BUMP *

Is this still an issue?

taylor

2006-03-07 17:52

administrator   ~0005081

Guessing this is fixed then. Reopen if it happens again.

taylor

2006-03-07 17:52

administrator   ~0005082

Fixered.

Issue History

Date Modified Username Field Change
2006-02-06 00:35 WMCoolmon New Issue
2006-02-06 00:36 WMCoolmon Assigned To => taylor
2006-02-06 00:36 WMCoolmon Status new => assigned
2006-02-06 01:04 taylor Note Added: 0004668
2006-02-16 04:51 taylor Note Added: 0004760
2006-02-20 23:40 taylor Note Added: 0004851
2006-03-07 17:52 taylor Note Added: 0005081
2006-03-07 17:52 taylor Status assigned => resolved
2006-03-07 17:52 taylor Resolution open => fixed
2006-03-07 17:52 taylor Note Added: 0005082