View Issue Details

IDProjectCategoryView StatusLast Update
0001994FSSCPmodelspublic2009-09-21 06:46
ReporterAardwolf Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Product Version3.6.11 
Summary0001994: Debug builds crash when trying to view ships in the F3 Lab or the Tech Room.
DescriptionIt seems to happen only in debug builds, but with debug builds it occurs consistently.

It could possibly have to do with 'paged-in' models, but since I haven't tried viewing models after playing a mission that used them, I can't say for sure.

The error itself is an assert in gropengltexture.cpp, on line 622. See "Additional Information" for the full error message.
Additional InformationAssert: !resize
File: gropengltexture.cpp
Line: 622

<no module>! KiFastSystemCallRet
<no module>! WaitForSingleObject + 18 bytes
<no module>! SCP_DumpStack + 260 bytes
<no module>! WinAssert + 208 bytes
<no module>! opengl_create_texture_sub + 2711 bytes
<no module>! opengl_create_texture + 998 bytes
<no module>! gr_opengl_tcache_set_internal + 217 bytes
<no module>! gr_opengl_tcache_set + 137 bytes
<no module>! opengl_render_pipeline_fixed + 1895 bytes
<no module>! gr_opengl_render_buffer + 232 bytes
<no module>! gr_render_buffer + 58 bytes
<no module>! model_render_buffers + 1947 bytes
<no module>! model_really_render + 2816 bytes
<no module>! model_try_cache_render + 55 bytes
<no module>! model_render + 676 bytes
<no module>! labviewer_render_model + 2253 bytes
<no module>! labviewer_do_render + 147 bytes
<no module>! lab_do_frame + 149 bytes
<no module>! game_do_state + 1453 bytes
<no module>! gameseq_process_events + 237 bytes
<no module>! game_main + 728 bytes
<no module>! WinMain + 330 bytes
<no module>! __tmainCRTStartup + 358 bytes
<no module>! WinMainCRTStartup + 15 bytes
<no module>! RegisterWaitForInputIdle + 73 bytes
TagsNo tags attached.

Activities

2009-09-19 21:36

 

fs2_open.log (10,208 bytes)

Aardwolf

2009-09-19 21:36

reporter   ~0011182

I've attached the error log now. It crashed loading an EFF.

Zacam

2009-09-19 21:38

administrator   ~0011183

What Build version? Regular, SSE, SSE2? Kinda missing some particulars here.

Aardwolf

2009-09-19 21:49

reporter   ~0011184

Last edited: 2009-09-19 22:00

Windows, 5600, SSE2, debug but not release.

I'm about to test for Windows 5600 debug/release (i.e. not SSE/SSE2). The assert had a line number, so it might be a good idea to look there.

Update: I just checked line 622, it's in the cubemap code. Cubemaps are messed-up-looking in release mode, and apparently cause an assert in debug mode.

Aardwolf

2009-09-19 21:55

reporter   ~0011185

Running Windows 5600, Debug, "normal" build, I got the same error message, followed by a second, different error message (possibly caused by me hitting cancel/escape instead of OK). Again, release works fine.

Here's the new error message:




Assert: G3_count == 0
File: 3dsetup.cpp
Line: 83

<no module>! KiFastSystemCallRet
<no module>! WaitForSingleObject + 18 bytes
<no module>! SCP_DumpStack + 260 bytes
<no module>! WinAssert + 208 bytes
<no module>! g3_start_frame_func + 63 bytes
<no module>! g3_draw_2d_poly_bitmap + 128 bytes
<no module>! gr_bitmap + 195 bytes
<no module>! gr_opengl_flip + 164 bytes
<no module>! gr_flip + 85 bytes
<no module>! gr_opengl_cleanup + 90 bytes
<no module>! gr_close + 84 bytes
<no module>! doexit + 266 bytes
<no module>! exit + 18 bytes
<no module>! WinAssert + 407 bytes
<no module>! opengl_create_texture_sub + 2643 bytes
<no module>! opengl_create_texture + 998 bytes
<no module>! gr_opengl_tcache_set_internal + 217 bytes
<no module>! gr_opengl_tcache_set + 137 bytes
<no module>! opengl_render_pipeline_fixed + 1896 bytes
<no module>! gr_opengl_render_buffer + 232 bytes
<no module>! gr_render_buffer + 58 bytes
<no module>! model_render_buffers + 1913 bytes
<no module>! model_really_render + 2642 bytes
<no module>! model_try_cache_render + 55 bytes
<no module>! model_render + 619 bytes
<no module>! labviewer_render_model + 2005 bytes
<no module>! labviewer_do_render + 147 bytes
<no module>! lab_do_frame + 149 bytes
<no module>! game_do_state + 1453 bytes
<no module>! gameseq_process_events + 237 bytes
<no module>! game_main + 728 bytes
<no module>! WinMain + 330 bytes
<no module>! __tmainCRTStartup + 358 bytes
<no module>! WinMainCRTStartup + 15 bytes
<no module>! RegisterWaitForInputIdle + 73 bytes

2009-09-19 22:10

 

Zacam

2009-09-19 22:51

administrator   ~0011186

Last edited: 2009-09-20 00:10

Potentially an issue with !resize being called by the commandline -mipmap trying to add mip maps to the CubeMap.dds file.

Posted link in HLP topic for mip-mapped version of CubeMap.dds for testing.


Edit: Modified cubemap file resolved the issue. Close as a MediaVP bug.

FSU Mantis: http://www.hard-light.net/mantis/view.php?id=439

Use for further feedback on issue.

Wanderer

2009-09-21 06:46

developer   ~0011195

No code change required (apparently)

Issue History

Date Modified Username Field Change
2009-09-19 21:32 Aardwolf New Issue
2009-09-19 21:36 Aardwolf File Added: fs2_open.log
2009-09-19 21:36 Aardwolf Note Added: 0011182
2009-09-19 21:38 Zacam Note Added: 0011183
2009-09-19 21:49 Aardwolf Note Added: 0011184
2009-09-19 21:55 Aardwolf Note Added: 0011185
2009-09-19 22:00 Aardwolf Note Edited: 0011184
2009-09-19 22:10 Aardwolf File Added: another fs2_open debug log.log
2009-09-19 22:51 Zacam Note Added: 0011186
2009-09-19 22:52 Zacam Note Edited: 0011186
2009-09-20 00:02 Zacam Note Edited: 0011186
2009-09-20 00:10 Zacam Note Edited: 0011186
2009-09-21 06:46 Wanderer Note Added: 0011195
2009-09-21 06:46 Wanderer Status new => closed
2009-09-21 06:46 Wanderer Resolution open => no change required