View Issue Details

IDProjectCategoryView StatusLast Update
0002281FSSCPgameplaypublic2010-08-29 05:05
Reporterdaret Assigned To 
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionopen 
Product Version3.6.12 
Summary0002281: FS2 can not Start> cfilesystem.cpp:305 - String error
DescriptionI get this error on FS2 Start.

ERROR: "ERANGE: String error. Please Report. Trying to put into 128 byte buffer: *.[vV][pP]" at cfile/cfilesystem.cpp:305

I tried fs2_open_3_6_12_INF_r, fs2_open_3_6_12_r from official Final build and even a Version build from Source (6.8.2010) - the same error.

fs2_open_3_6_10 - works fine.
Additional InformationI installed Freespace 2 with wine (GOG Version) and upgraded all with FreeSpaceOpenInstaller.jar

Then i copied fs2_open_... in this directory.

I use FS2 launcher YAL 0.3RC2.

System:
Kubuntu 10.04 32 bit
AMD Barton 2500, GeForce 6600 GT
TagsNo tags attached.

Activities

The_E

2010-08-08 11:32

administrator   ~0012300

Please run a debug build and attach an fs2_open.log.

daret

2010-08-08 15:10

reporter   ~0012301

I found the Problem.
Path was too long!

---------------------
In cfilesystem.cpp under "int cf_get_packfile_count(cf_root *root)" is in new code no longer:

if(strlen(filespec) + 10 >= sizeof(filespec)) {
    Warning(LOCATION, "Could not concatenate '*.vp' to filespec; path too long.");
    continue;
        }
---------------------

I don't now, what consequences it has, but 3.6.12 will not start.
I would be nice, if some message window jumps out, when something like this happens.

The_E

2010-08-08 17:06

administrator   ~0012302

...

Please run a debug build and post the fs2_open.log file it generates in ~/.fs2_open/data

Because that's an error that should not happen.

2010-08-10 18:34

 

fs2_open.log (853 bytes)   
==========================================================================
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.
==========================================================================
Opened log '/home/daret/.fs2_open/data/fs2_open.log', Tue Aug 10 20:30:22 2010 ...
FreeSpace version: 3.6.12
Passed cmdline options:
  -spec_exp 15
  -ogl_spec 20
  -spec_static 1.5
  -spec_point 1.2
  -spec_tube 1.5
  -ambient_factor 35
  -env
  -mipmap
  -missile_lighting
  -glow
  -nomotiondebris
  -spec
  -normal
  -3dshockwave
  -targetinfo
  -3dwarp
  -warp_flash
  -snd_preload
  -mod mediavps_3612
Building file index...
ERROR: ERANGE: String error. Please Report.
Trying to put into 128 byte buffer:
*.[vV][pP]
File: cfile/cfilesystem.cpp
Line: 305
fs2_open.log (853 bytes)   

daret

2010-08-10 18:35

reporter   ~0012309

Log File is attached.

iss_mneur

2010-08-17 06:16

developer   ~0012317

What is the path that you have installed FSO in?

rscaper1070

2010-08-19 04:59

reporter   ~0012319

ERANGE: String error. Please Report.
Trying to put into 32 byte buffer:
ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ.
ntdll.dll! KiFastSystemCallRet
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_6_12d_INF.exe! SCP_DumpStack + 354 bytes
fs2_open_3_6_12d_INF.exe! Error + 229 bytes
fs2_open_3_6_12d_INF.exe! scp_strcpy_s + 297 bytes
fs2_open_3_6_12d_INF.exe! scp_strcpy_s<32> + 53 bytes
fs2_open_3_6_12d_INF.exe! cf_search_root_pack + 892 bytes
fs2_open_3_6_12d_INF.exe! cf_build_file_list + 131 bytes
fs2_open_3_6_12d_INF.exe! cf_build_secondary_filelist + 166 bytes
fs2_open_3_6_12d_INF.exe! cfile_init + 398 bytes
fs2_open_3_6_12d_INF.exe! game_init + 341 bytes
fs2_open_3_6_12d_INF.exe! game_main + 519 bytes
fs2_open_3_6_12d_INF.exe! WinMain + 330 bytes
fs2_open_3_6_12d_INF.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_6_12d_INF.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

This is my error report. It's similar to the above problem.

iss_mneur

2010-08-19 05:48

developer   ~0012320

Last edited: 2010-08-19 05:49

@rscaper1070: It is a similar issue, but not caused by the same thing. Yours is likely caused by a corrupt multi-mission-pack.vp. If removing that file does not fix the issue, please create a thread in the "FreeSpace & FreeSpace Open Support" forum, http://www.hard-light.net/forums/index.php?board=151.0 after reading the "FSO FAQ" posted at the top of the Support forum (in particular make sure that you generate an fs_open.log as detailed in the "FSO FAQ").

Goober5000

2010-08-29 05:05

administrator   ~0012337

Closing due to a fixed multi-mission vp being uploaded.

Issue History

Date Modified Username Field Change
2010-08-08 07:55 daret New Issue
2010-08-08 11:32 The_E Note Added: 0012300
2010-08-08 15:10 daret Note Added: 0012301
2010-08-08 17:06 The_E Note Added: 0012302
2010-08-10 18:34 daret File Added: fs2_open.log
2010-08-10 18:35 daret Note Added: 0012309
2010-08-17 06:16 iss_mneur Note Added: 0012317
2010-08-19 04:59 rscaper1070 Note Added: 0012319
2010-08-19 05:48 iss_mneur Note Added: 0012320
2010-08-19 05:49 iss_mneur Note Edited: 0012320
2010-08-19 05:49 iss_mneur Note Edited: 0012320
2010-08-19 05:49 iss_mneur Note Edited: 0012320
2010-08-29 05:05 Goober5000 Note Added: 0012337
2010-08-29 05:05 Goober5000 Status new => closed