beyond-all-reason / beyond-all-reason/RecoilEngine

Crash [gb9462a0]: rts/Rendering/GL/StreamBuffer.h:250 - Game init on unsupported hw

Open
#1,830 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enginecrash
Dominant language
C++
Stars
683
Forks
293
Avg merge
3d 2h
Merged PRs (30d)
40

Description

Quite a few of these.

These all happen in a similar timeframe some time after the "LoadSkirmishAIs" and "[LuaMemPool::LogStats][handle=LuaIntro (unsynced)]" messages.

from https://server4.beyondallreason.info/telemetry/infolog/342619

```
[t=00:03:34.572296][f=-000001] [~ScopedOnceTimer][Game::LoadSkirmishAIs] 2293ms
[t=00:03:34.741183][f=-000001] [LuaMemPool::LogStats][handle=LuaIntro (unsynced)] index=2 numAllocs{int+, int-, ext, int_p}={0, 0, 133257, 0.0} allocedSize{int+, int-, ext}={0, 0, 11232498}, avgAllocTime{int+, int-, ext}={0.0000, 0.0000, 0.2452}
[t=00:03:40.242047][f=-000001] Error: Spring 105.1.1-2590-gb9462a0 BAR105 has crashed.
```

```
C:\windows\System32\DriverStore\FileRepository\u0369630.inf_amd64_0b7113978dd1c562\B369408\atio6axx.dll 0x00000000013b8cc7 ?? 0
C:\windows\System32\DriverStore\FileRepository\u0369630.inf_amd64_0b7113978dd1c562\B369408\atio6axx.dll 0x00000000013b21d3 ?? 0
C:\windows\System32\DriverStore\FileRepository\u0369630.inf_amd64_0b7113978dd1c562\B369408\atio6axx.dll 0x00000000009679f2 ?? 0
C:\windows\System32\DriverStore\FileRepository\u0369630.inf_amd64_0b7113978dd1c562\B369408\atio6axx.dll 0x0000000000ddf4ef ?? 0
C:\windows\System32\DriverStore\FileRepository\u0369630.inf_amd64_0b7113978dd1c562\B369408\atio6axx.dll 0x000000000121fb79 ?? 0
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x140ebe801 rts/Rendering/GL/StreamBuffer.h [250](http://github.com/beyond-all-reason/spring/tree/BAR105/rts/Rendering/GL/StreamBuffer.h#L250)
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x14011dd26 rts/Rendering/GL/RenderBuffers.h [804](http://github.com/beyond-all-reason/spring/tree/BAR105/rts/Rendering/GL/RenderBuffers.h#L804)
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x14011fddd rts/Game/UI/MiniMap.cpp [1316](http://github.com/beyond-all-reason/spring/tree/BAR105/rts/Game/UI/MiniMap.cpp#L1316)
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x14012306d rts/Game/UI/MiniMap.cpp [1141](http://github.com/beyond-all-reason/spring/tree/BAR105/rts/Game/UI/MiniMap.cpp#L1141)
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x140049774 rts/Game/Game.cpp [1554](http://github.com/beyond-all-reason/spring/tree/BAR105/rts/Game/Game.cpp#L1554)
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x140739d5f rts/System/SpringApp.cpp [856](http://github.com/beyond-all-reason/spring/tree/BAR105/rts/System/SpringApp.cpp#L856)
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x14073f5d8 rts/System/SpringApp.cpp [890](http://github.com/beyond-all-reason/spring/tree/BAR105/rts/System/SpringApp.cpp#L890)
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x14071e0b8 rts/System/Main.cpp [50](http://github.com/beyond-all-reason/spring/tree/BAR105/rts/System/Main.cpp#L50)
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x1400012ee /mxe/tmp-gcc-x86_64-w64-mingw32.static/gcc-13.2.0.build_/mingw-w64-v11.0.0/mingw-w64-crt/crt/crtexe.c 273
C:\Users\xxxxx\Downloads\Beyond-All-Reason\data\engine\105.1.1-2590-gb9462a0 bar\spring.exe 0x1400013e6 /mxe/tmp-gcc-x86_64-w64-mingw32.static/gcc-13.2.0.build_/mingw-w64-v11.0.0/mingw-w64-crt/crt/crtexe.c 164
C:\windows\SYSTEM32\ntdll.dll 0x000000000004cc91 ?? 0
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked telemetry log and the stack trace at rts/Rendering/GL/StreamBuffer.h:250, then follow the callers in rts/Rendering/GL/RenderBuffers.h:804 and rts/Game/UI/MiniMap.cpp:1316. Compare the crash timing after LoadSkirmishAIs and LuaMemPool::LogStats on the reported unsupported hardware. Done means game initialization no longer crashes in this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.