View Issue Details

IDProjectCategoryView StatusLast Update
0002184FSSCPOpenGLpublic2010-04-16 14:59
ReporterFUBAR-BDHR Assigned Totaylor  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionduplicate 
Product Version3.6.12 RC2 
Summary0002184: Game crashes if you play on detail level less then high
DescriptionOriginally occurred in game and was Very simple to reproduce. Start a mission (I had detail on very high), hit F2, and change detail level (changed to medium in testing). Instant crash.

Crash happens if detail level is set to low or medium no matter where it's set. High and very high work.

Stack and variables:

     fs2_open_3_6_13d_INF_SSE2.exe!debug_int3(char * file=0x00efa244, int line=1069) Line 764 C++
> fs2_open_3_6_13d_INF_SSE2.exe!gr_opengl_tcache_set_internal(int bitmap_handle=1054487, int bitmap_type=5, float * u_scale=0x0012e078, float * v_scale=0x0012e06c, int tex_unit=1) Line 1069 + 0x13 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!gr_opengl_tcache_set(int bitmap_handle=1054487, int bitmap_type=5, float * u_scale=0x0012e078, float * v_scale=0x0012e06c, int stage=1) Line 1110 + 0x19 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!opengl_render_pipeline_fixed(int start=0, int n_prim=3916, unsigned short * sbuffer=0x081c2788, unsigned int * ibuffer=0x00000000, int flags=27) Line 730 + 0x19 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!gr_opengl_render_buffer(int start=0, int n_prim=3916, unsigned short * sbuffer=0x081c2788, unsigned int * ibuffer=0x00000000, int flags=27) Line 880 + 0x19 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!gr_render_buffer(int start=0, int n_prim=3916, unsigned short * sbuffer=0x081c2788, unsigned int * ibuffer=0x00000000, int flags=27) Line 679 + 0x1c bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!model_render_buffers(bsp_info * model=0x081c2234, polymodel * pm=0x082083a0, bool is_child=false) Line 5493 + 0x4f bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!model_really_render(int model_num=901, matrix * orient=0x0104f688, vec3d * pos=0x0104f67c, unsigned int flags=32, int objnum=2) Line 3641 + 0x28 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!model_try_cache_render(int model_num=901, matrix * orient=0x0104f688, vec3d * pos=0x0104f67c, unsigned int flags=32, int objnum=2, int num_lights=0) Line 2552 + 0x19 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!model_render(int model_num=901, matrix * orient=0x0104f688, vec3d * pos=0x0104f67c, unsigned int flags=32, int objnum=2, int lighting_skip=-1, int * replacement_textures=0x00000000) Line 2468 + 0x1d bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!ship_render(object * obj=0x0104f658) Line 5610 + 0x41 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!obj_render(object * obj=0x0104f658) Line 1493 + 0x9 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!obj_render_all(void (object *)* render_function=0x0078abe1, bool * draw_viewer_last=0x0012f447) Line 234 + 0xb bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!game_render_frame(camid cid={...}) Line 3939 + 0x11 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!game_frame(int paused=0) Line 4772 + 0x13 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!game_do_frame() Line 5176 + 0x7 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!game_do_state(int state=2) Line 6950 C++
     fs2_open_3_6_13d_INF_SSE2.exe!gameseq_process_events() Line 405 + 0x14 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!game_main(char * cmdline=0x0015232f) Line 7520 + 0x5 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * hPrev=0x00000000, char * szCmdLine=0x0015232f, int nCmdShow=10) Line 7600 + 0x9 bytes C++
     fs2_open_3_6_13d_INF_SSE2.exe!__tmainCRTStartup() Line 263 + 0x2c bytes C
     fs2_open_3_6_13d_INF_SSE2.exe!WinMainCRTStartup() Line 182 C
     kernel32.dll!7c817077()
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]



Locals:

        bitmap_handle 1054487 int
        bitmap_type 5 int
- u_scale 0x0012e078 float *
            1.0000000 float
- v_scale 0x0012e06c float *
            1.0000000 float
        tex_unit 1 int
- t 0x0373d748 {texture_id=0 texture_target=0 u_scale=0.00000000 ...} tcache_slot_opengl *
        texture_id 0 unsigned int
        texture_target 0 unsigned int
        u_scale 0.00000000 float
        v_scale 0.00000000 float
        bitmap_handle -1 int
        size 0 int
        w 0 unsigned short
        h 0 unsigned short
        bpp 0 unsigned char
        mipmap_levels 0 unsigned char
        ret_val 1 int
        n 4737 int



Additional Information3.6.13 r6055 Inferno SSE2
TagsNo tags attached.

Relationships

duplicate of 0002172 resolvedThe_E Int3() when 3D Hardware Texture setting is set to low 

Activities

FUBAR-BDHR

2010-04-16 08:59

developer   ~0011884

I originally thought this was just from changing during mission but it does happen no matter when it is set. Updated the topic so it makes more sense. Happens with or without MediaVPs. Tried with default FS2 all settings off and no flags.

FUBAR-BDHR

2010-04-16 09:08

developer   ~0011885

Additional testing. Leaving everything on high and turning down 3D hardware textures also causes the crash.

The_E

2010-04-16 14:29

administrator   ~0011886

Related to this: http://scp.indiegames.us/mantis/view.php?id=2172 ?

Issue History

Date Modified Username Field Change
2010-04-16 08:50 FUBAR-BDHR New Issue
2010-04-16 08:58 FUBAR-BDHR Summary Game crashes if you attempt to change detail level during mission => Game crashes if you play on detail level less then high
2010-04-16 08:58 FUBAR-BDHR Description Updated
2010-04-16 08:59 FUBAR-BDHR Note Added: 0011884
2010-04-16 09:08 FUBAR-BDHR Note Added: 0011885
2010-04-16 14:29 The_E Note Added: 0011886
2010-04-16 14:58 taylor Relationship added duplicate of 0002172
2010-04-16 14:59 taylor Duplicate ID 0 => 2172
2010-04-16 14:59 taylor Status new => resolved
2010-04-16 14:59 taylor Resolution open => duplicate
2010-04-16 14:59 taylor Assigned To => taylor