Author Topic: Debug build always crashes before pilot selection screen.  (Read 1081 times)

0 Members and 1 Guest are viewing this topic.

Offline Enzo03

  • 27
Debug build always crashes before pilot selection screen.
I'm using the latest official build on Windows 7 x64 Home Premium.
The "r" executable seems to work just fine, but when I use the "d" build, I get a nasty crash, with this in the fs2_open.log:
Code: [Select]
==========================================================================
DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning
categories can be shown and no debug_filter.cfg info will be saved.
==========================================================================
FreeSpace version: 3.6.12
Passed cmdline options:
  -spec_exp 128
  -ogl_spec 128
  -spec_static 1.2
  -spec_point 1.2
  -spec_tube 1.5
  -ambient_factor 75
  -mipmap
  -glow
  -spec
  -cache_bitmaps
  -rearm_timer
  -targetinfo
  -3dwarp
  -ship_choice_3d
  -weapon_choice_3d
  -warp_flash
  -snd_preload
  -ingame_join
  -window
Building file index...
Found root pack 'C:\Games\FreeSpace2\multi-mission-pack.vp' with a checksum of 0x377695e0
Found root pack 'C:\Games\FreeSpace2\multi-voice-pack.vp' with a checksum of 0xd50e7442
Found root pack 'C:\Games\FreeSpace2\Root_fs2.vp' with a checksum of 0x747372cc
Found root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' with a checksum of 0xddeb3b1e
Found root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' with a checksum of 0x164fe65a
Found root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1
Found root pack 'C:\Games\FreeSpace2\stu_fs2.vp' with a checksum of 0xd77da83a
Found root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' with a checksum of 0x4c25221e
Found root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' with a checksum of 0x86920b82
Found root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' with a checksum of 0x705e8d71
Found root pack 'C:\Games\FreeSpace2\warble_fs2.vp' with a checksum of 0xd85c305d
Searching root 'C:\Games\FreeSpace2\' ... 21 files
Searching root pack 'C:\Games\FreeSpace2\multi-mission-pack.vp' ... 110 files
Searching root pack 'C:\Games\FreeSpace2\multi-voice-pack.vp' ... 307 files
Searching root pack 'C:\Games\FreeSpace2\Root_fs2.vp' ... 157 files
Searching root pack 'C:\Games\FreeSpace2\smarty_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\sparky_fs2.vp' ... 3027 files
Searching root pack 'C:\Games\FreeSpace2\sparky_hi_fs2.vp' ... 1337 files
Searching root pack 'C:\Games\FreeSpace2\stu_fs2.vp' ... 2355 files
Searching root pack 'C:\Games\FreeSpace2\tango1_fs2.vp' ... 32 files
Searching root pack 'C:\Games\FreeSpace2\tango2_fs2.vp' ... 15 files
Searching root pack 'C:\Games\FreeSpace2\tango3_fs2.vp' ... 10 files
Searching root pack 'C:\Games\FreeSpace2\warble_fs2.vp' ... 52 files
Searching root 'e:\' ... 0 files
Found 13 roots and 7433 files.
AutoLang: Language auto-detection successful...
Setting language to English
Initializing OpenAL...
  Using 'Generic Software' as OpenAL sound device...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

... OpenAL successfully initialized!
Initializing OpenGL graphics device at 800x600 with 32-bit color...
  Initializing WGL...
  Requested WGL Video values = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
  Actual WGL Video values    = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1
  OpenGL Vendor     : ATI Technologies Inc.
  OpenGL Renderer   : AMD M880G with ATI Mobility Radeon HD 4200
  OpenGL Version    : 2.1.8787

  Using extension "GL_EXT_fog_coord".
  Using extension "GL_ARB_multitexture".
  Using extension "GL_ARB_texture_env_add".
  Using extension "GL_ARB_texture_compression".
  Using extension "GL_EXT_texture_compression_s3tc".
  Using extension "GL_EXT_texture_filter_anisotropic".
  Using extension "GL_ARB_texture_env_combine".
  Using extension "GL_EXT_compiled_vertex_array".
  Using extension "GL_EXT_draw_range_elements".
  Using extension "GL_ARB_texture_mirrored_repeat".
  Using extension "GL_ARB_texture_non_power_of_two".
  Using extension "GL_ARB_vertex_buffer_object".
  Using extension "GL_ARB_pixel_buffer_object".
  Using extension "GL_SGIS_generate_mipmap".
  Using extension "GL_EXT_framebuffer_object".
  Using extension "GL_ARB_texture_rectangle".
  Using extension "GL_EXT_bgra".
  Using extension "GL_ARB_texture_cube_map".
  Using extension "GL_EXT_texture_lod_bias".
  Using extension "GL_ARB_point_sprite".
  Using extension "GL_ARB_shading_language_100".
  Using extension "GL_ARB_shader_objects".
  Using extension "GL_ARB_vertex_shader".
  Using extension "GL_ARB_fragment_shader".
  Using extension "GL_ARB_shader_texture_lod".
  Found special extension function "wglSwapIntervalEXT".

  Initializing Shaders Manager...
  Loading and compiling main shaders...
    Compiling main shader ->  null-v.sdr (null-v.sdr) / null-f.sdr (null-f.sdr) ...
      Shader file(s) (null-v.sdr / null-f.sdr) not found!
      Shader in_error!  Disabling GLSL!
  Shaders Manager initialized.

  Max texture units: 8 (8)
  Max elements vertices: 2147483647
  Max elements indices: 16777215
  Max texture size: 8192x8192
  Can use compressed textures: YES
  Texture compression available: YES
  Using trilinear texture filter.
... OpenGL init is complete!
Size of bitmap info = 760 KB
Size of bitmap extra info = 52 bytes
ANI cursorweb with size 24x24 (25.0% wasted)
GRAPHICS: Initializing default colors...
SCRIPTING: Beginning initialization sequence...
SCRIPTING: Beginning Lua initialization...
LUA: Opening LUA state...
LUA: Initializing base Lua libraries...
LUA: Beginning ADE initialization
ADE: Initializing enumeration constants...
ADE: Assigning Lua session...
SCRIPTING: Beginning main hook parse sequence....
Wokka!  Error opening file (scripting.tbl)!
TABLES: Unable to parse 'scripting.tbl'!  Error code = 5.
SCRIPTING: Inititialization complete.
SCRIPTING: Splash screen overrides checked
SCRIPTING: Splash hook has been run
SCRIPTING: Splash screen conditional hook has been run
Using high memory settings...
Wokka!  Error opening file (interface.tbl)!
WMCGUI: Unable to parse 'interface.tbl'!  Error code = 5.
ANI radar1 with size 130x106 (17.2% wasted)
Windows reported 16 joysticks, we found 0
Current soundtrack set to -1 in event_music_reset_choices
Wokka!  Error opening file (armor.tbl)!
TABLES: Unable to parse 'armor.tbl'!  Error code = 5.
loading animated cursor "cursor"
ANI cursor with size 24x24 (25.0% wasted)
Ships.tbl is : INVALID!!!!
Weapons.tbl is : INVALID!!!!
cfile_init() took 1557
Got event GS_EVENT_GAME_INIT (49) in state NOT A VALID STATE (0)
ASSERTION: "strlen(filename) < MAX_FILENAME_LEN - 4" at managepilot.cpp:170
Int3(): From c:\temp\fs2_final_export\code\globalincs\windebug.cpp at line 902
Doesn't seem to matter whether I have any mods on or not.

In IRC some of us were trying to figure out what was going on but didn't really get anywhere..
Not sure what to do.
21:20:19   SpardaSon21: "hey baby, want to get a good look at my AC/20?
21:20:26   Spoon: I'd hit it like the fist of steiner

Some people are like Slinkies.  They aren't really good or even useful for anything but they always manage to put a little smile on your face when you give them enough of a push down the stairs.

 

Offline Iss Mneur

  • 210
  • TODO:
Re: Debug build always crashes before pilot selection screen.
You have a pilot that has a name longer than 27 characters (which includes spaces).  Seeing as the release build still works, just use that to fix rename the offending pilot name(s).
"I love deadlines. I like the whooshing sound they make as they fly by." -Douglas Adams
wxLauncher 0.9.4 public beta (now with no config file editing for FRED) | wxLauncher 2.0 Request for Comments

 

Offline Enzo03

  • 27
Re: Debug build always crashes before pilot selection screen.
Actually, no, I do NOT have a pilot whose name is longer than 27 characters, at least not as far as their actual name goes.
However, one had exactly 27 characters in its name, and a few came very close.
I went ahead and tried to account for the file extension counting as part of that 27, and the problem appears to be gone now.
Thanks, although I kinda wish I knew why this is a problem for curiosity's sake.
21:20:19   SpardaSon21: "hey baby, want to get a good look at my AC/20?
21:20:26   Spoon: I'd hit it like the fist of steiner

Some people are like Slinkies.  They aren't really good or even useful for anything but they always manage to put a little smile on your face when you give them enough of a push down the stairs.

  

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Debug build always crashes before pilot selection screen.
In FSO, filenames are capped to 32 characters. If you include the "." and the extension, you end up with 28 usable characters. It's a limitation we introduced to cut down on memory leaks and overruns.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns