2025-07-02 00:25 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001170Spring engineGeneralpublic2008-10-22 15:44
ReporterBeherith 
Assigned ToAuswaschbar 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.77b4+svn 
Target VersionFixed in Version 
Summary0001170: Crash with using windowed mode SVN R6841 - Could not allocate font texture
DescriptionI play in windowed mode, and when I start the game, the spring doesnt start maximised, so if I move OR maximise the window, my the game crashes, with a
"Could not allocate font texture" message. This also happens if i try to move or minimize when the game is still on loading screen.
Infolog doesnt contain a stacktrace.

I used R6841 spring.exe, unitsync.dll and correspoding base files.
Additional Informationc2d 2.77ghz, 8800gt, 2gb ram, winxp pro sp2

Infolog:

using configuration source "Software\SJ\Spring"
OS: Microsoft Windows XP Professional Service Pack 2 (build 2600)
Hardware: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz; 2046MB RAM, 3940MB pagefile
Using read-write data directory: S:\Spring\
Scanning: S:\Spring\maps
Scanning: S:\Spring\base
Scanning: S:\Spring\mods
Video mode set to 1920 x 1200 / 32 bit
[ 0] SDL: 1.2.10
[ 0] GL: 2.1.2
[ 0] GL: NVIDIA Corporation
[ 0] GL: GeForce 8800 GT/PCI/SSE2
[ 0] GLEW: 1.4.0
[ 0] Connecting to local server using number 0
[ 0] Became player 0
[ 0] Using map FolsomDamFinal.smf
[ 0] Recording demo demos/local_20081022_122644_FolsomDamFinal_0.77b5 (R6841).sdf
[ 0] Using script Commanders
[ 0] Using mod Balanced Annihilation V6.5
[ 0] Connecting to server
[ 0] Parsing unit icons
[ 0] Loading all definitions: 0.546000
[ 0] Opening map file
[ 0] Loading Map
[ 0] Loading detail textures
[ 0] Creating overhead texture
[ 0] Creating ground shading
[ 0] Loading tile file
[ 0] Reading tiles
[ 0] Reading tile map
[ 0] Creating projectile texture
[ 0] Number of damage types: 42
[ 0] Loading weapon definitions
[ 0] Loading unit definitions
[ 0] Loading feature definitions
[ 0] Creating unit textures
[ 0] Initializing map features
[ 0] Couldnt find wreckage info pdrock1
[ 0] Unknown map feature type pdrock1
[ 0] Couldnt find wreckage info pdrock1a
[ 0] Unknown map feature type pdrock1a
[ 0] Couldnt find wreckage info pdrock2
[ 0] Unknown map feature type pdrock2
[ 0] Couldnt find wreckage info pdrock2a
[ 0] Unknown map feature type pdrock2a
[ 0] Couldnt find wreckage info pdrock3
[ 0] Unknown map feature type pdrock3
[ 0] Couldnt find wreckage info pdrock3a
[ 0] Unknown map feature type pdrock3a
[ 0] Couldnt find wreckage info pdrock4
[ 0] Unknown map feature type pdrock4
[ 0] Couldnt find wreckage info pdrock4a
[ 0] Unknown map feature type pdrock4a
[ 0] Couldnt find wreckage info pdrock4a
[ 0] Unknown map feature type pdrock4a
[ 0] Reading estimate path costs (1 thread)
[ 0] Pathing data checksum: 6acd6fef
[ 0] Creating sky
[ 0] Loading LuaRules
[ 0] LUARULES-DRAW (GADGETS)
[ 0] LUARULES-DRAW (GADGETS)
[ 0] Loading LuaGaia
[ 0] Loading LuaUI
[ 0] Using LUAUI_DIRNAME = LuaUI/
[ 0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
[ 0] LuaUI: bound F11 to the widget selector
[ 0] LuaUI: bound CTRL+F11 to tweak mode
[ 0] Failed to load: Hedtrak3.lua ([string "S:\Spring\LuaUI\Widgets\Hedtrak3.lua"]:283: 'then' expected near 'windowMoving')
[ 0] Failed to load: beherithcam.lua ([string "S:\Spring\LuaUI\Widgets\beherithcam.lua"]:22: unexpected symbol near '10')
[ 0] Failed to load: gui_take_remind.lua ([string "S:\Spring\LuaUI\Widgets\gui_take_remind.lua"]:85: '=' expected near 'Spring')
[ 0] Failed to load: template.lua ([string "S:\Spring\LuaUI\Widgets\template.lua"]:19: '}' expected (to close '{' at line 13) near '=')
[ 0] Failed to load: unit_comm_stupidtags.lua ([string "S:\Spring\LuaUI\Widgets\unit_comm_stupidtags.lua"]:57: unexpected symbol near '[')
[ 0] Failed to load: gui_advplayerslist.lua (duplicate name)
[ 0] Failed to load: gui_comm_ends.lua (duplicate name)
[ 0] Failed to load: gui_defenserange.lua (duplicate name)
[ 0] Failed to load: gui_take_remind.lua ([string "LuaUI/Widgets/gui_take_remind.lua"]:85: '=' expected near 'Spring')
[ 0] Failed to load: unit_comm_nametags.lua (duplicate name)
[ 0] Failed to load: unit_healthbars.lua (duplicate name)
[ 0] ahoj
[ 0] Loaded widget: MexUpg Helper <helper.lua>
[ 0] Loaded widget: Commander Name Tags1.0 <unit_comm_nametags.lua>
[ 0] Loaded widget: Wisse Layout <gui_transparent.lua>
[ 0] Loaded widget: Export Heightmap <cmd_heightmapexporter.lua>
[ 0] Loaded widget: Resource Bar Plus v1.1 <gui_resbarplus.lua>
[ 0] Loaded widget: AdvPlayersList <gui_advplayerslist.lua>
[ 0] Loaded widget: CommanderEnds <gui_comm_ends.lua>
[ 0] Loaded widget: Don't Shoot <unit_dontshoot.lua>
[ 0] Loaded widget: ImmobileBuilder <unit_immobile_buider.lua>
[ 0] Loaded widget: MetalMakers <unit_metal_maker.lua>
[ 0] Loaded widget: ReclaimInfo <gui_reclaiminfo.lua>
[ 0] Loaded widget: Stockpiler <unit_stockpile.lua>
[ 0] Loaded widget: Emotes <cmd_emotes.lua>
[ 0] Loaded widget: SoundVolume <snd_volume.lua>
[ 0] Loaded widget: MouseTrail <gui_mousetrail.lua>
[ 0] Loaded widget: Transporting <gui_transporting.lua>
[ 0] Loaded widget: BuildBar <unit_buildbar.lua>
[ 0] Loaded widget: Tooltip <gui_tooltip.lua>
[ 0] Loaded widget: Defense Range v4.11 <gui_defenseRange.lua>
[ 0] Loaded widget: Ghost Radar v1.11 <unit_ghostRadar.lua>
[ 0] Loaded widget: Transportation Assister <unit_transport_assist.lua>
[ 0] Loaded widget: Start Point Remover <init_start_point_remover.lua>
[ 0] Loaded widget: take com control too <takecomcontroltoo.lua>
[ 0] Loaded widget: Attack AoE <gui_attack_aoe.lua>
[ 0] Loaded widget: CommandInsert <gui_commandinsert.lua>
[ 0] Loaded widget: FastSwitch <gui_fastswitch.lua>
[ 0] Loaded widget: Select n Center! <gui_center_n_select.lua>
[ 0] Loaded widget: LupsManager <gfx_lups_manager.lua>
[ 0] Loaded widget: Lups <lups_wrapper.lua>
[ 0] Loaded widget: CustomFormations <unit_customformations.lua>
[ 0] Loaded widget: HealthBars <unit_healthbars.lua>
[ 0] LuaUI v0.3
[ 0] Finalizing...
[ 0] Spring 0.77b5 (R6841)
[ 0] Build date/time: Oct 22 2008 01:14:38
[ 0] Upgrade pairs registered
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0003008

Beherith (reporter)

Ah, more info:
I finally managed to get a stack trace out of this crash. This also crashes when I just click on the title bar of the window, dont even need to drag it.
About 1 of every 4 crashes this way give me a stacktrace, when they do, they dont say the couldnt allocate font texture error, just say spring has crashed, and i get the stacktrace.

So, here is the infolog:
using configuration source "Software\SJ\Spring"
OS: Microsoft Windows XP Professional Service Pack 2 (build 2600)
Hardware: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz; 2046MB RAM, 3940MB pagefile
Using read-write data directory: S:\Spring\
Scanning: S:\Spring\maps
Scanning: S:\Spring\base
Scanning: S:\Spring\mods
Video mode set to 1920 x 1200 / 32 bit
[ 0] SDL: 1.2.10
[ 0] GL: 2.1.2
[ 0] GL: NVIDIA Corporation
[ 0] GL: GeForce 8800 GT/PCI/SSE2
[ 0] GLEW: 1.4.0
[ 0] Connecting to local server using number 0
[ 0] Became player 0
[ 0] Using map FolsomDamFinal.smf
[ 0] Recording demo demos/local_20081022_122039_FolsomDamFinal_0.77b5 (R6841).sdf
[ 0] Using script Commanders
[ 0] Using mod Balanced Annihilation V6.5
[ 0] Connecting to server
[ 0] Parsing unit icons
[ 0] Loading all definitions: 0.541000
[ 0] Opening map file
[ 0] Loading Map
[ 0] Loading detail textures
[ 0] Creating overhead texture
[ 0] Creating ground shading
[ 0] Loading tile file
[ 0] Reading tiles
[ 0] Reading tile map
[ 0] Creating projectile texture
[ 0] Number of damage types: 42
[ 0] Loading weapon definitions
[ 0] Loading unit definitions
[ 0] Loading feature definitions
[ 0] Creating unit textures
[ 0] Initializing map features
[ 0] Couldnt find wreckage info pdrock1
[ 0] Unknown map feature type pdrock1
[ 0] Couldnt find wreckage info pdrock1a
[ 0] Unknown map feature type pdrock1a
[ 0] Couldnt find wreckage info pdrock2
[ 0] Unknown map feature type pdrock2
[ 0] Couldnt find wreckage info pdrock2a
[ 0] Unknown map feature type pdrock2a
[ 0] Couldnt find wreckage info pdrock3
[ 0] Unknown map feature type pdrock3
[ 0] Couldnt find wreckage info pdrock3a
[ 0] Unknown map feature type pdrock3a
[ 0] Couldnt find wreckage info pdrock4
[ 0] Unknown map feature type pdrock4
[ 0] Couldnt find wreckage info pdrock4a
[ 0] Unknown map feature type pdrock4a
[ 0] Couldnt find wreckage info pdrock4a
[ 0] Unknown map feature type pdrock4a
[ 0] Reading estimate path costs (1 thread)
[ 0] Pathing data checksum: 6acd6fef
[ 0] Creating sky
[ 0] Loading LuaRules
[ 0] LUARULES-DRAW (GADGETS)
[ 0] LUARULES-DRAW (GADGETS)
[ 0] Loading LuaGaia
[ 0] Loading LuaUI
[ 0] Using LUAUI_DIRNAME = LuaUI/
[ 0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
[ 0] LuaUI: bound F11 to the widget selector
[ 0] LuaUI: bound CTRL+F11 to tweak mode
[ 0] Failed to load: Hedtrak3.lua ([string "S:\Spring\LuaUI\Widgets\Hedtrak3.lua"]:283: 'then' expected near 'windowMoving')
[ 0] Failed to load: beherithcam.lua ([string "S:\Spring\LuaUI\Widgets\beherithcam.lua"]:22: unexpected symbol near '10')
[ 0] Failed to load: gui_take_remind.lua ([string "S:\Spring\LuaUI\Widgets\gui_take_remind.lua"]:85: '=' expected near 'Spring')
[ 0] Failed to load: template.lua ([string "S:\Spring\LuaUI\Widgets\template.lua"]:19: '}' expected (to close '{' at line 13) near '=')
[ 0] Failed to load: unit_comm_stupidtags.lua ([string "S:\Spring\LuaUI\Widgets\unit_comm_stupidtags.lua"]:57: unexpected symbol near '[')
[ 0] Failed to load: gui_advplayerslist.lua (duplicate name)
[ 0] Failed to load: gui_comm_ends.lua (duplicate name)
[ 0] Failed to load: gui_defenserange.lua (duplicate name)
[ 0] Failed to load: gui_take_remind.lua ([string "LuaUI/Widgets/gui_take_remind.lua"]:85: '=' expected near 'Spring')
[ 0] Failed to load: unit_comm_nametags.lua (duplicate name)
[ 0] Failed to load: unit_healthbars.lua (duplicate name)
[ 0] ahoj
[ 0] Loaded widget: MexUpg Helper <helper.lua>
[ 0] Loaded widget: Commander Name Tags1.0 <unit_comm_nametags.lua>
[ 0] Loaded widget: Wisse Layout <gui_transparent.lua>
[ 0] Loaded widget: Export Heightmap <cmd_heightmapexporter.lua>
[ 0] Loaded widget: Resource Bar Plus v1.1 <gui_resbarplus.lua>
[ 0] Loaded widget: AdvPlayersList <gui_advplayerslist.lua>
[ 0] Loaded widget: CommanderEnds <gui_comm_ends.lua>
[ 0] Loaded widget: Don't Shoot <unit_dontshoot.lua>
[ 0] Loaded widget: ImmobileBuilder <unit_immobile_buider.lua>
[ 0] Loaded widget: MetalMakers <unit_metal_maker.lua>
[ 0] Loaded widget: ReclaimInfo <gui_reclaiminfo.lua>
[ 0] Loaded widget: Stockpiler <unit_stockpile.lua>
[ 0] Loaded widget: Emotes <cmd_emotes.lua>
[ 0] Loaded widget: SoundVolume <snd_volume.lua>
[ 0] Loaded widget: MouseTrail <gui_mousetrail.lua>
[ 0] Loaded widget: Transporting <gui_transporting.lua>
[ 0] Loaded widget: BuildBar <unit_buildbar.lua>
[ 0] Loaded widget: Tooltip <gui_tooltip.lua>
[ 0] Loaded widget: Defense Range v4.11 <gui_defenseRange.lua>
[ 0] Loaded widget: Ghost Radar v1.11 <unit_ghostRadar.lua>
[ 0] Loaded widget: Transportation Assister <unit_transport_assist.lua>
[ 0] Loaded widget: Start Point Remover <init_start_point_remover.lua>
[ 0] Loaded widget: Attack AoE <gui_attack_aoe.lua>
[ 0] Loaded widget: take com control too <takecomcontroltoo.lua>
[ 0] Loaded widget: CommandInsert <gui_commandinsert.lua>
[ 0] Loaded widget: FastSwitch <gui_fastswitch.lua>
[ 0] Loaded widget: Select n Center! <gui_center_n_select.lua>
[ 0] Loaded widget: LupsManager <gfx_lups_manager.lua>
[ 0] Loaded widget: Lups <lups_wrapper.lua>
[ 0] Loaded widget: CustomFormations <unit_customformations.lua>
[ 0] Loaded widget: HealthBars <unit_healthbars.lua>
[ 0] LuaUI v0.3
[ 0] Finalizing...
[ 0] Spring 0.77b5 (R6841)
[ 0] Build date/time: Oct 22 2008 01:14:38
[ 0] Upgrade pairs registered
[ 0] New connection established in 0 (wanted number was 0)
[ 0] Player joined as 0
[ 0] Spring 0.77b5 (R6841) has crashed.
[ 0] Exception: Access violation (0xc0000005)
[ 0] Exception Address: 0x00a6859a
[ 0] DLL information:
[ 0] 0x00400000 spring
[ 0] 0x7c900000 ntdll
[ 0] 0x7c800000 kernel32
[ 0] 0x77dd0000 ADVAPI32
[ 0] 0x77e70000 RPCRT4
[ 0] 0x73f10000 dsound
[ 0] 0x77c10000 msvcrt
[ 0] 0x7e410000 USER32
[ 0] 0x77f10000 GDI32
[ 0] 0x774e0000 ole32
[ 0] 0x76b40000 WINMM
[ 0] 0x77c00000 VERSION
[ 0] 0x68b20000 GLU32
[ 0] 0x5ed00000 OPENGL32
[ 0] 0x73760000 DDRAW
[ 0] 0x73bc0000 DCIMAN32
[ 0] 0x76c90000 IMAGEHLP
[ 0] 0x6fbc0000 mingwm10
[ 0] 0x7c9c0000 SHELL32
[ 0] 0x77f60000 SHLWAPI
[ 0] 0x71ad0000 WSOCK32
[ 0] 0x71ab0000 WS2_32
[ 0] 0x71aa0000 WS2HELP
[ 0] 0x6ed80000 glew32
[ 0] 0x10000000 SDL
[ 0] 0x7c340000 MSVCR71
[ 0] 0x00dd0000 DevIL
[ 0] 0x66fc0000 freetype6
[ 0] 0x61b80000 zlib1
[ 0] 0x003e0000 ILU
[ 0] 0x76390000 IMM32
[ 0] 0x773d0000 comctl32
[ 0] 0x5d090000 comctl32
[ 0] 0x74720000 MSCTF
[ 0] 0x10100000 lgscroll
[ 0] 0x78130000 MSVCR80
[ 0] 0x7c420000 MSVCP80
[ 0] 0x77690000 NTMARTA
[ 0] 0x76f60000 WLDAP32
[ 0] 0x71bf0000 SAMLIB
[ 0] 0x755c0000 msctfime
[ 0] 0x69500000 nvoglnt
[ 0] 0x18800000 RTSUltraMonHook
[ 0] 0x71a50000 mswsock
[ 0] 0x662b0000 hnetcfg
[ 0] 0x71a90000 wshtcpip
[ 0] 0x76c30000 WINTRUST
[ 0] 0x77a80000 CRYPT32
[ 0] 0x77b20000 MSASN1
[ 0] 0x72d20000 wdmaud
[ 0] 0x72d10000 msacm32
[ 0] 0x77be0000 MSACM32
[ 0] 0x77bd0000 midimap
[ 0] 0x73ee0000 KsUser
[ 0] 0x59a60000 DBGHELP
[ 0] Stacktrace:
[ 0] (0) S:\Spring\spring.exe [0x00A6859A]
[ 0] (1) S:\Spring\spring.exe [0x00C5E4B6]
[ 0] (2) S:\Spring\spring.exe [0x00A61911]
[ 0] (3) S:\Spring\spring.exe [0x00C5E137]
[ 0] (4) S:\Spring\spring.exe [0x009983FF]
[ 0] (5) S:\Spring\spring.exe [0x0099A618]
[ 0] (6) S:\Spring\spring.exe [0x0099AFD0]
[ 0] (7) S:\Spring\spring.exe [0x005BAE45]
[ 0] (8) S:\Spring\spring.exe [0x005C4CDB]
[ 0] (9) S:\Spring\spring.exe [0x005B77BD]
[ 0] (10) S:\Spring\spring.exe [0x005B79B9]
[ 0] (11) S:\Spring\spring.exe [0x00A34C01]
[ 0] (12) S:\Spring\spring.exe [0x004010A7]
[ 0] (13) S:\Spring\spring.exe [0x00401123]
[ 0] (14) D:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816FF7]

And here is the stacktrace:

e:/projects/libogg-1.1/src/bitwise.c:447 [oggpackB_get_buffer]
e:/projects/libogg-1.1/src/bitwise.c:447 [oggpackB_get_buffer]
e:/projects/libogg-1.1/src/bitwise.c:447 [oggpackB_get_buffer]
e:/projects/libogg-1.1/src/bitwise.c:447 [oggpackB_get_buffer]
rts/Rendering/glFont.cpp:135
rts/Rendering/glFont.cpp:239 [CglFont]
rts/Rendering/glFont.cpp:259
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/basic_string.h:288 [std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_rep() const]
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include/c++/bits/basic_string.h:483 [~basic_string]
rts/System/SpringApp.cpp:619
rts/System/SpringApp.cpp:1011
rts/System/Main.cpp:60 [Run(int, char**)]
rts/System/Main.cpp:122 [WinMain@16]
Action.cpp:0
/src/mingw-runtime-3.13-20070825-1/crt1.c:237 [__mingw_CRTStartup]
/src/mingw-runtime-3.13-20070825-1/crt1.c:271
UNTRANSLATED: D:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816FF7]
--
profile=default sys=windows auto=yes rev=6841 file=http://pastebin.com/d2e5d006f buildsys=scons

~0003009

Auswaschbar (reporter)

should be fixed in 0.77b5+
+Notes

-Issue History
Date Modified Username Field Change
2008-10-22 12:30 Beherith New Issue
2008-10-22 12:37 Beherith Note Added: 0003008
2008-10-22 15:44 Auswaschbar Note Added: 0003009
2008-10-22 15:44 Auswaschbar Status new => resolved
2008-10-22 15:44 Auswaschbar Resolution open => fixed
2008-10-22 15:44 Auswaschbar Assigned To => Auswaschbar
+Issue History