[Scummvm-tracker] [ScummVM :: Bugs] #16344: TETRAEDGE: Allocator out of memory: couldn't allocate more memory from linear allocator.!
ScummVM :: Bugs
trac at scummvm.org
Tue Nov 11 22:37:46 UTC 2025
#16344: TETRAEDGE: Allocator out of memory: couldn't allocate more memory from
linear allocator.!
------------------------------------------+--------------------------------
Reporter: automatedbugreportingfacility | Owner: (none)
Type: defect | Status: new
Priority: high | Component: Engine: Tetraedge
Version: | Resolution:
Keywords: crash | Game: Syberia 1
------------------------------------------+--------------------------------
Comment (by antoniou79):
Update:
I am able to trigger this crash no Windows, with recent code from master
HEAD (3.0git), if debugging with Visual Studio, with the "Software" 3d
rendered selected for the game.
Stacktrace:
{{{
scummvm.exe!TinyGL::LinearAllocator::allocate(unsigned __int64
size=508896) Line 261
at D:\WORKSPACE\scummvm\graphics\tinygl\zgl.h(261)
scummvm.exe!TinyGL::Internal::allocateFrame(int size=508896) Line 821
at D:\WORKSPACE\scummvm\graphics\tinygl\zdirtyrect.cpp(821)
scummvm.exe!TinyGL::RasterizationDrawCall::RasterizationDrawCall() Line
305
at D:\WORKSPACE\scummvm\graphics\tinygl\zdirtyrect.cpp(305)
scummvm.exe!TinyGL::GLContext::glopEnd(TinyGL::GLParam *
__formal=0x0000000000000000) Line 261
at D:\WORKSPACE\scummvm\graphics\tinygl\vertex.cpp(261)
scummvm.exe!TinyGL::GLContext::glopDrawElements(TinyGL::GLParam *
p=0x000000ec3a0f9a98) Line 279
at D:\WORKSPACE\scummvm\graphics\tinygl\arrays.cpp(279)
scummvm.exe!TinyGL::glopDrawElements(TinyGL::GLContext *
c=0x00000218ce059650, TinyGL::GLParam * p=0x000000ec3a0f9a98) Line 103
at D:\WORKSPACE\scummvm\graphics\tinygl\opinfo.h(103)
scummvm.exe!TinyGL::GLContext::gl_add_op(TinyGL::GLParam *
p=0x000000ec3a0f9a98) Line 147
at D:\WORKSPACE\scummvm\graphics\tinygl\list.cpp(147)
scummvm.exe!tglDrawElements(int mode=4, int count=3348, int type=5123,
const void * indices=0x00000218d817ee3c) Line 931
at D:\WORKSPACE\scummvm\graphics\tinygl\api.cpp(931)
scummvm.exe!Tetraedge::TeMeshTinyGL::draw() Line 132
at
D:\WORKSPACE\scummvm\engines\tetraedge\te\te_mesh_tinygl.cpp(132)
scummvm.exe!Tetraedge::TeModel::draw() Line 118
at D:\WORKSPACE\scummvm\engines\tetraedge\te\te_model.cpp(118)
scummvm.exe!Tetraedge::TeScene::draw() Line 70
at D:\WORKSPACE\scummvm\engines\tetraedge\te\te_scene.cpp(70)
scummvm.exe!Tetraedge::InGameScene::draw() Line 422
at
D:\WORKSPACE\scummvm\engines\tetraedge\game\in_game_scene.cpp(422)
scummvm.exe!Tetraedge::SyberiaGame::draw() Line 271
at
D:\WORKSPACE\scummvm\engines\tetraedge\game\syberia_game.cpp(271)
scummvm.exe!Tetraedge::Application::performRender() Line 510
at
D:\WORKSPACE\scummvm\engines\tetraedge\game\application.cpp(510)
scummvm.exe!Tetraedge::Application::run() Line 390
at
D:\WORKSPACE\scummvm\engines\tetraedge\game\application.cpp(390)
scummvm.exe!Tetraedge::TetraedgeEngine::run() Line 312
at D:\WORKSPACE\scummvm\engines\tetraedge\tetraedge.cpp(312)
scummvm.exe!runGame(const Plugin * enginePlugin=0x00000218cc9a7160,
OSystem & system={...}, const DetectedGame & game={...}, const void *
meDescriptor=0x00000218ce24bb90) Line 318
at D:\WORKSPACE\scummvm\base\main.cpp(318)
scummvm.exe!scummvm_main(int argc=1, const char * const *
argv=0x00000218be12abc0) Line 804
at D:\WORKSPACE\scummvm\base\main.cpp(804)
scummvm.exe!SDL_main(int argc=1, char * * argv=0x00000218be12abc0) Line 75
at
D:\WORKSPACE\scummvm\backends\platform\sdl\win32\win32-main.cpp(75)
scummvm.exe!WinMain(HINSTANCE__ * __formal=0x00007ff78a840000, HINSTANCE__
* __formal=0x0000000000000000, char * __formal=0x00000218be104e01, int
__formal=10) Line 56
at
D:\WORKSPACE\scummvm\backends\platform\sdl\win32\win32-main.cpp(56)
scummvm.exe!invoke_main() Line 107
at
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(107)
scummvm.exe!__scrt_common_main_seh() Line 288
at
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288)
scummvm.exe!__scrt_common_main() Line 331
at
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(331)
scummvm.exe!WinMainCRTStartup(void * __formal=0x000000ec39f7e000) Line 17
at
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_winmain.cpp(17)
kernel32.dll!00007ffd3bb07374()
ntdll.dll!00007ffd3db1cc91()
}}}
For Windows at least, at the time of the error, at the call of allocate()
method in graphics/tinygl/zgl.h, the "size" argument for the call has a
value of 508896, _memoryPosition is 5018880 and _memorySize is 5242880.
--
Ticket URL: <https://bugs.scummvm.org/ticket/16344#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list