View Issue Details

IDProjectCategoryView StatusLast Update
0000384FSSCPOpenGLpublic2005-04-24 11:36
ReporterWMCoolmon Assigned Totaylor  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0000384: FS2 Assert at title screen
DescriptionWhen FS2 is loading, the Assert(0) on line 2252 of Bmpman.cpp is hit. This seems to follow with all further bitmaps for the interface, and may be the cause of the recent OGL issues. Debugger output is attached, and I can scrounge up some further information (It really is *always* reproducable).
Additional Information> fs2_open_ex_d.exe!debug_int3() Line 879 C++
     fs2_open_ex_d.exe!WinAssert(char * text=0x00b7add4, char * filename=0x00b9e6e0, int linenum=2252) Line 970 C++
     fs2_open_ex_d.exe!bm_lock(int handle=23754, unsigned char bpp='', unsigned char flags=0) Line 2252 + 0x2b C++
     fs2_open_ex_d.exe!opengl_create_texture(int bitmap_handle=23754, int bitmap_type=4, tcache_slot_opengl * tslot=0x069623d0, int fail_on_full=0) Line 830 + 0x11 C++
     fs2_open_ex_d.exe!gr_opengl_tcache_set_internal(int bitmap_id=23754, int bitmap_type=4, float * u_scale=0x0012e94c, float * v_scale=0x0012e940, int fail_on_full=0, int sx=-1, int sy=-1, int force=0, int tex_unit=0) Line 910 + 0x15 C++
     fs2_open_ex_d.exe!gr_opengl_tcache_set(int bitmap_id=23754, int bitmap_type=4, float * u_scale=0x0012e94c, float * v_scale=0x0012e940, int fail_on_full=0, int sx=-1, int sy=-1, int force=0, int stage=0) Line 955 + 0x29 C++
     fs2_open_ex_d.exe!gr_tcache_set(int bitmap_id=23754, int bitmap_type=4, float * u_scale=0x0012e94c, float * v_scale=0x0012e940, int fail_on_full=0, int sx=-1, int sy=-1, int force=0, int stage=0) Line 1254 + 0x2c C++
     fs2_open_ex_d.exe!gr_opengl_tmapper_internal(int nv=4, vertex * * verts=0x019bf348, unsigned int flags=2049, int is_scaler=0) Line 2266 + 0x2d C++
     fs2_open_ex_d.exe!gr_opengl_tmapper(int nverts=4, vertex * * verts=0x019bf348, unsigned int flags=2049) Line 2423 + 0x13 C++
     fs2_open_ex_d.exe!g3_draw_poly_constant_sw(int nv=4, vertex * * pointlist=0x0012ec64, unsigned int tmap_flags=2049, float constant_sw=0.10000000) Line 708 + 0x14 C++
     fs2_open_ex_d.exe!g3_draw_2d_poly_bitmap(int x=0, int y=0, int w=1280, int h=1024, unsigned int additional_tmap_flags=2048) Line 2531 + 0x1a C++
     fs2_open_ex_d.exe!gr_bitmap(int x=0, int y=0, bool allow_scaling=true) Line 1517 + 0x1a C++
     fs2_open_ex_d.exe!display_title_screen() Line 10657 + 0x23 C++
     fs2_open_ex_d.exe!game_init() Line 3257 C++
     fs2_open_ex_d.exe!WinMainSub(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * hPrev=0x00000000, char * szCmdLine=0x00133720, int nCmdShow=1) Line 8505 C++
     fs2_open_ex_d.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * hPrev=0x00000000, char * szCmdLine=0x00133720, int nCmdShow=1) Line 8619 + 0x15 C++
     fs2_open_ex_d.exe!WinMainCRTStartup() Line 251 + 0x30 C
     KERNEL32.DLL!7c59893d()
TagsNo tags attached.

Activities

taylor

2005-04-24 06:33

administrator   ~0002235

Had this fixed already. I'm still working out various small glitches with my other changes though so I'll resolved this when it actually gets in CVS.

taylor

2005-04-24 11:36

administrator   ~0002239

Going in CVS now. You did remove a couple of ifndef GL_SECTIONS which is why this messed up. It was missing a bmpman flag, and a safety check for min texture size too.

Fixered.

Issue History

Date Modified Username Field Change
2005-04-24 05:42 WMCoolmon New Issue
2005-04-24 05:43 WMCoolmon Assigned To => taylor
2005-04-24 05:43 WMCoolmon Status new => assigned
2005-04-24 06:33 taylor Note Added: 0002235
2005-04-24 11:36 taylor Status assigned => resolved
2005-04-24 11:36 taylor Resolution open => fixed
2005-04-24 11:36 taylor Note Added: 0002239