Author Topic: What's this? (crash)  (Read 1274 times)

0 Members and 1 Guest are viewing this topic.

Offline asyikarea51

  • 210
  • -__-||
What's this? (crash)
Code: [Select]
Assert: strlen(filename) < MAX_FILENAME_LEN - 4
File: managepilot.cpp
Line: 170

<no module>! KiFastSystemCallRet
<no module>! WaitForSingleObject + 18 bytes
<no module>! SCP_DumpStack + 354 bytes
<no module>! WinAssert + 208 bytes
<no module>! verify_pilot_file + 81 bytes
<no module>! player_select_pilot_file_filter + 54 bytes
<no module>! cf_get_file_list_preallocated + 398 bytes
<no module>! player_select_init_player_stuff + 120 bytes
<no module>! player_select_init + 1315 bytes
<no module>! game_enter_state + 2050 bytes
<no module>! gameseq_set_state + 310 bytes
<no module>! game_process_event + 1813 bytes
<no module>! gameseq_process_events + 152 bytes
<no module>! game_main + 782 bytes
<no module>! WinMain + 330 bytes
<no module>! __tmainCRTStartup + 358 bytes
<no module>! WinMainCRTStartup + 15 bytes
<no module>! RegisterWaitForInputIdle + 73 bytes

Happens on game start but before I get to any useful menu. Debug builds only (latest attempt is a custom build compiled earlier today with SVN update).

Any ideas?
Inferno plz
The Power of Nightmares
TheHound: "Nice idea, but I have a thing against announcing campaigns before having them already finished."
G5K: "The flipside of that is that if you don't announce your campaign, yet take too long to finish it, other people may independently come up with some of the same ideas."

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: What's this? (crash)
Yes. Where's the fs2_open.log?

Probable cause for this error is a pilot name being too long.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 

Offline asyikarea51

  • 210
  • -__-||
Re: What's this? (crash)
Probable cause for this error is a pilot name being too long.

I tend to use long names because of mod switching. Is this the correct file...? Note that there is a mod running here.

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.13
Passed cmdline options:
  -fov 0.39
  -env
  -missile_lighting
  -glow
  -spec
  -normal
  -3dshockwave
  -cache_bitmaps
  -img2dds
  -no_vsync
  -ballistic_gauge
  -dualscanlines
  -rearm_timer
  -targetinfo
  -3dwarp
  -warp_flash
  -snd_preload
  -mod moddy,mediavps
  -nomovies
  -fps
  -debug_window
Building file index...
Found root pack 'C:\Games\FreeSpace2\moddy\bp-3612-ai.vp' with a checksum of 0xbadf8a0f
Found root pack 'C:\Games\FreeSpace2\mediavps\3610_Patch.vp' with a checksum of 0x07e72699
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Advanced.vp' with a checksum of 0xd06bf123
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.vp' with a checksum of 0xc9e372bb
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Core.vp' with a checksum of 0x0dc7bb8f
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.vp' with a checksum of 0xa3141c30
Found root pack 'C:\Games\FreeSpace2\mediavps\MV_Music.vp' with a checksum of 0x4dbbbe96
Found root pack 'C:\Games\FreeSpace2\FS2OGGcutscenepack.vp' with a checksum of 0x84396e99
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 0xce10d76c
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\moddy\' ... 99 files
Searching root pack 'C:\Games\FreeSpace2\moddy\bp-3612-ai.vp' ... 3 files
Searching root 'C:\Games\FreeSpace2\mediavps\' ... 4 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\3610_Patch.vp' ... 180 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Advanced.vp' ... 2868 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Assets.vp' ... 1810 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Core.vp' ... 146 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Effects.vp' ... 1046 files
Searching root pack 'C:\Games\FreeSpace2\mediavps\MV_Music.vp' ... 32 files
Searching root 'C:\Games\FreeSpace2\' ... 13 files
Searching root pack 'C:\Games\FreeSpace2\FS2OGGcutscenepack.vp' ... 10 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
Found 22 roots and 13623 files.
AutoLang: Language auto-detection successful...
Setting language to English
TBM  =>  Starting parse of 'mv_strings-lcl.tbm' ...
Initializing OpenAL...
  OpenAL Vendor     : Creative Labs Inc.
  OpenAL Renderer   : Software
  OpenAL Version    : 1.1

  Found extension "ALC_EXT_EFX".

  Sample rate: 44100 (44100)
  EFX enabled: NO
  Playback device: Generic Software on Conexant HD Audio output
  Capture device: Conexant HD Audio input
... OpenAL successfully initialized!
Failed to init speech
Initializing OpenGL graphics device at 1680x1050 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   : ATI Mobility FireGL V5700
  OpenGL Version    : 2.1.8789 FireGL

  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) ...
    Compiling main shader ->  b-v.sdr (b-v.sdr) / b-f.sdr (b-f.sdr) ...
    Compiling main shader ->  b-v.sdr (b-v.sdr) / bg-f.sdr (bg-f.sdr) ...
    Compiling main shader ->  l-v.sdr (l-v.sdr) / lb-f.sdr (lb-f.sdr) ...
    Compiling main shader ->  l-v.sdr (l-v.sdr) / lbg-f.sdr (lbg-f.sdr) ...
    Compiling main shader ->  l-v.sdr (l-v.sdr) / lbgs-f.sdr (lbgs-f.sdr) ...
    Compiling main shader ->  l-v.sdr (l-v.sdr) / lbs-f.sdr (lbs-f.sdr) ...
    Compiling main shader ->  le-v.sdr (le-v.sdr) / lbgse-f.sdr (lbgse-f.sdr) ...
    Compiling main shader ->  le-v.sdr (le-v.sdr) / lbse-f.sdr (lbse-f.sdr) ...
    Compiling main shader ->  ln-v.sdr (ln-v.sdr) / lbgn-f.sdr (lbgn-f.sdr) ...
    Compiling main shader ->  ln-v.sdr (ln-v.sdr) / lbgsn-f.sdr (lbgsn-f.sdr) ...
    Compiling main shader ->  ln-v.sdr (ln-v.sdr) / lbn-f.sdr (lbn-f.sdr) ...
    Compiling main shader ->  ln-v.sdr (ln-v.sdr) / lbsn-f.sdr (lbsn-f.sdr) ...
    Compiling main shader ->  lne-v.sdr (lne-v.sdr) / lbgsne-f.sdr (lbgsne-f.sdr) ...
    Compiling main shader ->  lne-v.sdr (lne-v.sdr) / lbsne-f.sdr (lbsne-f.sdr) ...
    Compiling main shader ->  lf-v.sdr (lf-v.sdr) / lfb-f.sdr (lfb-f.sdr) ...
    Compiling main shader ->  lf-v.sdr (lf-v.sdr) / lfbg-f.sdr (lfbg-f.sdr) ...
    Compiling main shader ->  lf-v.sdr (lf-v.sdr) / lfbgs-f.sdr (lfbgs-f.sdr) ...
    Compiling main shader ->  lf-v.sdr (lf-v.sdr) / lfbs-f.sdr (lfbs-f.sdr) ...
    Compiling main shader ->  lfe-v.sdr (lfe-v.sdr) / lfbgse-f.sdr (lfbgse-f.sdr) ...
    Compiling main shader ->  lfe-v.sdr (lfe-v.sdr) / lfbse-f.sdr (lfbse-f.sdr) ...
    Compiling main shader ->  lfn-v.sdr (lfn-v.sdr) / lfbgn-f.sdr (lfbgn-f.sdr) ...
    Compiling main shader ->  lfn-v.sdr (lfn-v.sdr) / lfbgsn-f.sdr (lfbgsn-f.sdr) ...
    Compiling main shader ->  lfn-v.sdr (lfn-v.sdr) / lfbn-f.sdr (lfbn-f.sdr) ...
    Compiling main shader ->  lfn-v.sdr (lfn-v.sdr) / lfbsn-f.sdr (lfbsn-f.sdr) ...
    Compiling main shader ->  lfne-v.sdr (lfne-v.sdr) / lfbgsne-f.sdr (lfbgsne-f.sdr) ...
    Compiling main shader ->  lfne-v.sdr (lfne-v.sdr) / lfbsne-f.sdr (lfbsne-f.sdr) ...
    Compiling main shader ->  l-v.sdr (l-v.sdr) / null-f.sdr (null-f.sdr) ...
    Compiling main shader ->  l-v.sdr (l-v.sdr) / lg-f.sdr (lg-f.sdr) ...
    Compiling main shader ->  l-v.sdr (l-v.sdr) / lgs-f.sdr (lgs-f.sdr) ...
    Compiling main shader ->  l-v.sdr (l-v.sdr) / ls-f.sdr (ls-f.sdr) ...
    Compiling main shader ->  le-v.sdr (le-v.sdr) / lgse-f.sdr (lgse-f.sdr) ...
    Compiling main shader ->  le-v.sdr (le-v.sdr) / lse-f.sdr (lse-f.sdr) ...
    Compiling main shader ->  ln-v.sdr (ln-v.sdr) / lgn-f.sdr (lgn-f.sdr) ...
    Compiling main shader ->  ln-v.sdr (ln-v.sdr) / lgsn-f.sdr (lgsn-f.sdr) ...
    Compiling main shader ->  ln-v.sdr (ln-v.sdr) / ln-f.sdr (ln-f.sdr) ...
    Compiling main shader ->  ln-v.sdr (ln-v.sdr) / lsn-f.sdr (lsn-f.sdr) ...
    Compiling main shader ->  lne-v.sdr (lne-v.sdr) / lgsne-f.sdr (lgsne-f.sdr) ...
    Compiling main shader ->  lne-v.sdr (lne-v.sdr) / lsne-f.sdr (lsne-f.sdr) ...
  Shaders Manager initialized.

  Max texture units: 8 (16)
  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.
  Using GLSL for model rendering.
  Shader Version: 1.30
... 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.
TBM  =>  Starting parse of 'flak-sct.tbm' ...
TBM  =>  Starting parse of 'velindc-sct.tbm' ...
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.
TBM  =>  Starting parse of 'mv_effects-sdf.tbm' ...
TBM  =>  Starting parse of 'mv_adveffects-sdf.tbm' ...
ANI 2_radar1 with size 209x170 (33.6% wasted)
Windows reported 16 joysticks, we found 0
Current soundtrack set to -1 in event_music_reset_choices
TBM  =>  Starting parse of 'mv_music-mus.tbm' ...
TBM  =>  Starting parse of 'mv_advmuzzle-mfl.tbm' ...
Wokka!  Error opening file (armor.tbl)!
TABLES: Unable to parse 'armor.tbl'!  Error code = 5.
TBM  =>  Starting parse of 'mv_effects-wxp.tbm' ...
TBM  =>  Starting parse of 'mv_adveffects-wxp.tbm' ...
BMPMAN: Found EFF (exp20.eff) with 64 frames at 30 fps.
BMPMAN: Found EFF (ExpMissileHit1.eff) with 44 frames at 30 fps.
BMPMAN: Found EFF (exp05.eff) with 47 frames at 20 fps.
BMPMAN: Found EFF (exp06.eff) with 48 frames at 20 fps.
BMPMAN: Found EFF (exp04.eff) with 60 frames at 20 fps.
BMPMAN: Found EFF (Maxim_Impact.eff) with 23 frames at 30 fps.
ANI Lamprey_Impact with size 80x80 (37.5% wasted)
BMPMAN: Found EFF (Gmuzzle.eff) with 5 frames at 30 fps.
BMPMAN: Found EFF (PWmuzzle.eff) with 4 frames at 30 fps.
BMPMAN: Found EFF (Rmuzzle.eff) with 4 frames at 30 fps.
BMPMAN: Found EFF (Bmuzzle.eff) with 5 frames at 30 fps.
TBM  =>  Starting parse of 'mv_effects-wep.tbm' ...
TBM  =>  Starting parse of 'mv_tech-wep.tbm' ...
TBM  =>  Starting parse of 'mv_models-wep.tbm' ...
TBM  =>  Starting parse of 'mv_adveffects-wep.tbm' ...
TBM  =>  Starting parse of 'bp-3612-ai-aip.tbm' ...
TBM  =>  Starting parse of 'bp-3612-ai-obt.tbm' ...
TBM  =>  Starting parse of 'mv_trails-shp.tbm' ...
TBM  =>  Starting parse of 'mv_dragon-shp.tbm' ...
TBM  =>  Starting parse of 'mv_density-shp.tbm' ...
TBM  =>  Starting parse of 'mv_models-shp.tbm' ...
TBM  =>  Starting parse of 'mv_adveffects-shp.tbm' ...
TBM  =>  Starting parse of 'mv_tech-shp.tbm' ...
TBM  =>  Starting parse of 'mv_escort-hdg.tbm' ...
TBM  =>  Starting parse of 'mv_effects-str.tbm' ...
loading animated cursor "cursor"
ANI cursor with size 24x24 (25.0% wasted)
Ships.tbl is : INVALID!!!!
Weapons.tbl is : INVALID!!!!
cfile_init() took 986
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:\games\fsocode\code\globalincs\windebug.cpp at line 902
Inferno plz
The Power of Nightmares
TheHound: "Nice idea, but I have a thing against announcing campaigns before having them already finished."
G5K: "The flipside of that is that if you don't announce your campaign, yet take too long to finish it, other people may independently come up with some of the same ideas."

 

Offline The E

  • He's Ebeneezer Goode
  • Global Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: What's this? (crash)
For the record, pilot names must be less than 27 characters long. In fact, they should be a LOT shorter than that, since the game saves campaign progress in files named <Pilot name>.<campaign file name>.cs2. Use shorter pilot names, and delete the pilots with names that are too long.
Let there be light
Let there be moon
Let there be stars and let there be you
Let there be monsters and let there be pain
Let us begin to feel again
--Devin Townsend, Genesis

 

Offline asyikarea51

  • 210
  • -__-||
Re: What's this? (crash)
O damn. My longest is 25 characters which I can't really shorten without forcing myself to remember more things XD

Temporarily renamed the pilot folder and all is well in debug. I'll just use new pilots for mod debugging then.

Thanks.
Inferno plz
The Power of Nightmares
TheHound: "Nice idea, but I have a thing against announcing campaigns before having them already finished."
G5K: "The flipside of that is that if you don't announce your campaign, yet take too long to finish it, other people may independently come up with some of the same ideas."

 
Re: What's this? (crash)
Yea I sorta had to shorten all my pilotnames to QD<campaignname> ..'cept the one I use for MVPs.
"Neutrality means that you don't really care, cuz the struggle goes on even when you're not there: Blind and unaware."

"We still believe in all the things that we stood by before,
and after everything we've seen here maybe even more.
I know we're not the only ones, and we were not the first,
and unapologetically we'll stand behind each word."