View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002882 | Spring engine | General | public | 2011-12-28 14:48 | 2011-12-29 01:48 |
| Reporter | Licho | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | no change required | ||
| Product Version | 85.0 | ||||
| Summary | 0002882: Engine cannot load font - isolated mode related bug? | ||||
| Description | Engine reports it cannot find [f=0000000] [Font] Error: Failed creating font: Couldn't find font 'fonts/FreeSansBold.otf'. [f=0000000] [Font] Error: Failed creating font: Couldn't find font 'fonts/FreeSansBold.otf'. Error: Spring: Incorrect/Missing content: Failed to load font: fonts/FreeSansBold.otf Even though it exists in its fodler and we also added it to mod. | ||||
| Additional Information | Using configuration source: "C:\Users\admin\Documents\My Games\Spring\springsettings.cfg" [CMyMath::Init] CPU SSE mask: 126, flags: SSE 1.0: 1, SSE 2.0: 1 SSE 3.0: 1, SSSE 3.0: 1 SSE 4.1: 1, SSE 4.2: 0 SSE 4.0A: 0, SSE 5.0A: 0 using streflop SSE FP-math mode, CPU supports SSE instructions OS: Microsoft Windows Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601) Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz; 8190MB RAM, 8188MB pagefile OS: emulated 32bit mode [Watchdog] Installed (timeout: 10sec) Available log sections: KeyBindings, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, FarTextureHandler, ModelDrawer, OBJParser, WorldObjectModelRenderer, Texture, Font, CollisionVolume, GroundMoveType, Path, UnitScript, AutohostInterface, ArchiveScanner, VFS, Sound Enabled log sections: Sound(LOG_LEVEL_INFO) Enable or disable log sections using the LogSections configuration key or the SPRING_LOG_SECTIONS environment variable (both comma separated). Use "none" to disable the default log sections. LogOutput initialized. Spring 85.0 Build date/time: Dec 22 2011 00:05:57 Build environment: boost-104600, GNU libstdc++ version 20100429 Compiler: gcc-4.4.4 Using read-write data directory: C:\Users\admin\Documents\My Games\Spring\ Scanning: C:\Users\admin\Documents\My Games\Spring\maps Error: Error opening C:\Users\admin\Documents\My Games\Spring\maps\TheRockBeta.sd7: Archive not found Unable to open archive: C:\Users\admin\Documents\My Games\Spring\maps\TheRockBeta.sd7 Scanning: C:\Users\admin\Documents\My Games\Spring\mods Scanning: C:\Users\admin\Documents\My Games\Spring\packages Supported Video modes: 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480, 640x350 Video mode set to 1920x1200/32bit (windowed) [f=0000000] SDL version: 1.2.10 [f=0000000] GL version: 4.1.10600 Compatibility Profile Context [f=0000000] GL vendor: ATI Technologies Inc. [f=0000000] GL renderer: ATI Radeon HD 5800 Series [f=0000000] GLSL version: 4.10 [f=0000000] GLEW version: 1.5.8 [f=0000000] Video RAM: total 734MB, available 957MB [f=0000000] [Font] Error: Failed creating font: Couldn't find font 'fonts/FreeSansBold.otf'. [f=0000000] [Font] Error: Failed creating font: Couldn't find font 'fonts/FreeSansBold.otf'. Error: Spring: Incorrect/Missing content: Failed to load font: fonts/FreeSansBold.otf | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
If i copy fonts to folder that is dirrectly writable data folder, it instead crashes spring with: Using configuration source: "C:\Users\admin\Documents\My Games\Spring\springsettings.cfg" [CMyMath::Init] CPU SSE mask: 126, flags: SSE 1.0: 1, SSE 2.0: 1 SSE 3.0: 1, SSSE 3.0: 1 SSE 4.1: 1, SSE 4.2: 0 SSE 4.0A: 0, SSE 5.0A: 0 using streflop SSE FP-math mode, CPU supports SSE instructions OS: Microsoft Windows Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601) Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz; 8190MB RAM, 8188MB pagefile OS: emulated 32bit mode [Watchdog] Installed (timeout: 10sec) Available log sections: KeyBindings, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, FarTextureHandler, ModelDrawer, OBJParser, WorldObjectModelRenderer, Texture, Font, CollisionVolume, GroundMoveType, Path, UnitScript, AutohostInterface, ArchiveScanner, VFS, Sound Enabled log sections: Sound(LOG_LEVEL_INFO) Enable or disable log sections using the LogSections configuration key or the SPRING_LOG_SECTIONS environment variable (both comma separated). Use "none" to disable the default log sections. LogOutput initialized. Spring 85.0 Build date/time: Dec 22 2011 00:05:57 Build environment: boost-104600, GNU libstdc++ version 20100429 Compiler: gcc-4.4.4 Using read-write data directory: C:\Users\admin\Documents\My Games\Spring\ Scanning: C:\Users\admin\Documents\My Games\Spring\maps Error: Error opening C:\Users\admin\Documents\My Games\Spring\maps\TheRockBeta.sd7: Archive not found Unable to open archive: C:\Users\admin\Documents\My Games\Spring\maps\TheRockBeta.sd7 Scanning: C:\Users\admin\Documents\My Games\Spring\mods Scanning: C:\Users\admin\Documents\My Games\Spring\packages Supported Video modes: 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480, 640x350 Video mode set to 1920x1200/32bit (windowed) [f=0000000] SDL version: 1.2.10 [f=0000000] GL version: 4.1.10600 Compatibility Profile Context [f=0000000] GL vendor: ATI Technologies Inc. [f=0000000] GL renderer: ATI Radeon HD 5800 Series [f=0000000] GLSL version: 4.10 [f=0000000] GLEW version: 1.5.8 [f=0000000] Video RAM: total 734MB, available 957MB [f=0000000] GL info: haveARB: 1, haveGLSL: 1, ATI hacks: 1 FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 0 maximum texture size: 16384, compress MIP-map textures: 0 [f=0000000] Joysticks found: 0 [f=0000000] Warning: Joystick 0 not found [f=0000000] CPU Cores: 2 [f=0000000] CPU affinity not set [f=0000000] Loading startscript from: C:/Users/admin/Documents/My Games/Spring/script.txt [f=0000000] Connecting to 94.23.171.71:8477 using name Licho[0K] [f=0000000] [Sound] OpenAL info: [f=0000000] [Sound] Available Devices: [f=0000000] [Sound] DirectSound Software [f=0000000] [Sound] Device: DirectSound Software [f=0000000] [Sound] Vendor: OpenAL Community [f=0000000] [Sound] Version: 1.1 ALSOFT 1.11.753 [f=0000000] [Sound] Renderer: OpenAL Soft [f=0000000] [Sound] AL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic [f=0000000] [Sound] ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context [f=0000000] [Sound] EFX Enabled: yes [f=0000000] [Sound] Max Sounds: 32 [f=0000000] Using map: ScorpioBattleground [f=0000000] Warning: Incompatible map-checksum: Checksum of ScorpioBattleground (checksum 0x400eb840) differs from the host's copy (checksum 0xeb9c3fe0). This may be caused by a corrupted download or there may even be 2 different versions in circulation. Make sure you and the host have installed the chosen archive and its dependencies and consider redownloading it. [f=0000000] Using game: Zero-K v0.9.7.1 [f=0000000] Using game archive: 5296fcae5b7300923726249476ec224e.sdp [f=0000000] Warning: Incompatible game-checksum: Checksum of 5296fcae5b7300923726249476ec224e.sdp (checksum 0x9abd7a5) differs from the host's copy (checksum 0x1). This may be caused by a corrupted download or there may even be 2 different versions in circulation. Make sure you and the host have installed the chosen archive and its dependencies and consider redownloading it. [f=0000000] recording demo: demos/20111228_144911_ScorpioBattleground_85.sdf [f=0000000] PreGame::GameDataReceived: 57 ms [f=0000000] User number 14 (team 0, allyteam 1) [f=0000000] Error: Spring 85.0 has crashed. [f=0000000] Error: DLL information: [f=0000000] Error: 0x00400000 spring [f=0000000] Error: 0x774b0000 ntdll [f=0000000] Error: 0x750e0000 kernel32 [f=0000000] Error: 0x74bf0000 KERNELBASE [f=0000000] Error: 0x749f0000 snxhk [f=0000000] Error: 0x10000000 DevIL [f=0000000] Error: 0x75590000 MSVCRT [f=0000000] Error: 0x74cd0000 ADVAPI32 [f=0000000] Error: 0x75270000 sechost [f=0000000] Error: 0x767d0000 RPCRT4 [f=0000000] Error: 0x74b90000 SspiCli [f=0000000] Error: 0x74b80000 CRYPTBASE [f=0000000] Error: 0x08490000 GLU32 [f=0000000] Error: 0x19b80000 OPENGL32 [f=0000000] Error: 0x768c0000 GDI32 [f=0000000] Error: 0x766d0000 USER32 [f=0000000] Error: 0x75020000 LPK [f=0000000] Error: 0x764d0000 USP10 [f=0000000] Error: 0x71390000 DDRAW [f=0000000] Error: 0x73130000 DCIMAN32 [f=0000000] Error: 0x752a0000 SETUPAPI [f=0000000] Error: 0x74c40000 CFGMGR32 [f=0000000] Error: 0x75640000 OLEAUT32 [f=0000000] Error: 0x756d0000 ole32 [f=0000000] Error: 0x74e10000 DEVOBJ [f=0000000] Error: 0x74840000 dwmapi [f=0000000] Error: 0x75560000 IMAGEHLP [f=0000000] Error: 0x6fbc0000 mingwm10 [f=0000000] Error: 0x75880000 SHELL32 [f=0000000] Error: 0x76950000 SHLWAPI [f=0000000] Error: 0x75090000 WS2_32 [f=0000000] Error: 0x74d70000 NSI [f=0000000] Error: 0x61b80000 zlib1 [f=0000000] Error: 0x70780000 vorbisfile [f=0000000] Error: 0x68140000 ogg [f=0000000] Error: 0x64cc0000 vorbis [f=0000000] Error: 0x6b600000 OpenAL32 [f=0000000] Error: 0x748d0000 WINMM [f=0000000] Error: 0x66fc0000 freetype6 [f=0000000] Error: 0x62aa0000 glew32 [f=0000000] Error: 0x002e0000 SDL [f=0000000] Error: 0x7c340000 MSVCR71 [f=0000000] Error: 0x73840000 apphelp [f=0000000] Error: 0x6fec0000 AcLayers [f=0000000] Error: 0x74590000 USERENV [f=0000000] Error: 0x74580000 profapi [f=0000000] Error: 0x74990000 WINSPOOL [f=0000000] Error: 0x700a0000 MPR [f=0000000] Error: 0x75030000 IMM32 [f=0000000] Error: 0x76570000 MSCTF [f=0000000] Error: 0x74910000 dsound [f=0000000] Error: 0x748a0000 POWRPROF [f=0000000] Error: 0x74d80000 CLBCatQ [f=0000000] Error: 0x72f90000 MMDevApi [f=0000000] Error: 0x716e0000 PROPSYS [f=0000000] Error: 0x716b0000 wdmaud [f=0000000] Error: 0x716a0000 ksuser [f=0000000] Error: 0x71690000 AVRT [f=0000000] Error: 0x69320000 AUDIOSES [f=0000000] Error: 0x69200000 msacm32 [f=0000000] Error: 0x71670000 MSACM32 [f=0000000] Error: 0x68f60000 midimap [f=0000000] Error: 0x734b0000 uxtheme [f=0000000] Error: 0x0f530000 atiglpxx [f=0000000] Error: 0x05570000 atioglxx [f=0000000] Error: 0x745c0000 VERSION [f=0000000] Error: 0x03cd0000 atiadlxy [f=0000000] Error: 0x73eb0000 WTSAPI32 [f=0000000] Error: 0x75290000 PSAPI [f=0000000] Error: 0x74e30000 WINTRUST [f=0000000] Error: 0x769b0000 CRYPT32 [f=0000000] Error: 0x750d0000 MSASN1 [f=0000000] Error: 0x0f140000 atigktxx [f=0000000] Error: 0x62c40000 aticfx32 [f=0000000] Error: 0x40fc0000 DINPUT [f=0000000] Error: 0x6e860000 HID [f=0000000] Error: 0x73a30000 mswsock [f=0000000] Error: 0x72190000 wship6 [f=0000000] Error: 0x73a20000 wshtcpip [f=0000000] Error: 0x74490000 dbghelp [f=0000000] Error: Exception: Privileged instruction (0xc0000096) [f=0000000] Error: Exception Address: 0x04254d86 [f=0000000] Error: Stacktrace: [f=0000000] Error: (0) Unknown [0x04254D86] [f=0000000] Error: (1) C:\Users\admin\Documents\My Games\Spring\engine\85.0\spring.exe [0x0090805A] [f=0000000] Error: (2) C:\Users\admin\Documents\My Games\Spring\engine\85.0\spring.exe [0x008FB66B] [f=0000000] Error: (3) C:\Users\admin\Documents\My Games\Spring\engine\85.0\spring.exe [0x008FB704] [f=0000000] Error: (4) C:\Users\admin\Documents\My Games\Spring\engine\85.0\spring.exe [0x008FB8 |
|
|
(i) The font must be one in the read(and/or write) dirs! Because you run in isolated mode, you only got one dir. So the file must be in "C:\Users\admin\Documents\My Games\Spring\fonts\fonts\FreeSansBold.otf" (ii) Copying the fontfile into the game archives does nothing cause it is the font that gets loaded by the engine itself befor any game/map archive (e.g. needed for game/map selection menu). (iii) Couldn't translate the stacktrace :/ |
|
|
Ok I understand the cause now. Isolated mode folder must contain all engine folder contains (fonts, base etc). Please close this ticket. |