isle-portable icon indicating copy to clipboard operation
isle-portable copied to clipboard

`--debug` does not work with OpenGL renderer

Open madebr opened this issue 6 months ago • 0 comments

The debug window shows this during the intro cinematics: Image

The address sanitizer fails with the following error when trying to enter the information center:

Heap-buffer-overflow on address 0x6270000ed920 at pc 0x7ffff786eb42 bp 0x7fffffffcca0 sp 0x7fffffffc460
renderer.cpp
Heap-buffer-overflow on address 0x6270000ed920 at pc 0x7ffff786eb42 bp 0x7fffffffcca0 sp 0x7fffffffc460
READ of size 216 at 0x6270000ed920 thread T0
0x7ffff786eb41 __interceptor_memcpy 
0x7fffdc16c565 util_copy_rect 
0x7fffdc6d8d83 util_copy_box 
0x7fffdcdb180a u_default_texture_subdata 
0x7fffdc1c3b40 st_TexSubImage 
0x7fffdc1c4617 st_TexImage 
0x7fffdc19a97b teximage_err 
0x7fffdc19cdb0 _mesa_TexImage2D 
0x7ffff456b8bc OpenGL1Renderer::GetTextureId renderer.cpp:161 
0x7ffff441fa1e FrameBufferImpl::Blt framebuffer.cpp:65 
0x7ffff39f8e47 MxVideoPresenter::PutFrame mxvideopresenter.cpp:300 
0x7ffff3a03c2d MxVideoPresenter::PutData mxvideopresenter.cpp:510 
0x7ffff413497f LegoVideoManager::Tickle legovideomanager.cpp:334 
0x7ffff3869f16 MxTickleManager::Tickle mxticklemanager.cpp:56 
0x41b29a IsleApp::Tick 
0x40da25 SDL_AppIterate isleapp.cpp:329 
0x7ffff0abb745 SDL_IterateMainCallbacks SDL_main_callbacks.c:130 
0x7ffff0d3e96f GenericIterateMainCallbacks SDL_sysmain_callbacks.c:51 
0x7ffff0d3ea59 SDL_EnterAppMainCallbacks_REAL SDL_sysmain_callbacks.c:62 
0x7ffff0a72df9 SDL_EnterAppMainCallbacks SDL_dynapi_procs.h:207 
0x409181 SDL_main SDL_main_impl.h:59 
0x7ffff0abb80b SDL_RunApp_REAL SDL_runapp.c:40 
0x7ffff0a6b15d SDL_RunApp_DEFAULT SDL_dynapi_procs.h:804 
0x7ffff0a77e62 SDL_RunApp SDL_dynapi_procs.h:804 
0x4091ac main SDL_main_impl.h:137 
0x7ffff0e46149 __libc_start_call_main 
0x7ffff0e4620a __libc_start_main_impl 
0x409084 _start 
Allocated by thread T0 here:
0x7ffff78d9f98 operator new[] 
0x7ffff3ba3d07 LegoCacheSound::CopyData legocachsound.cpp:103 
0x7ffff3ba1a09 LegoCacheSound::Create legocachsound.cpp:57 
0x7ffff3bb94bf LegoLoadCacheSoundPresenter::StreamingTickle legoloadcachesoundpresenter.cpp:71 
0x7ffff385cb1b MxPresenter::Tickle mxpresenter.cpp:142 
0x7ffff384684b MxMediaPresenter::Tickle mxmediapresenter.cpp:173 
0x7ffff3838d93 MxMediaManager::Tickle mxmediamanager.cpp:68 
0x7ffff3bbcb5e LegoSoundManager::Tickle legosoundmanager.cpp:78 
0x7ffff3869f16 MxTickleManager::Tickle mxticklemanager.cpp:56 
0x41b29a IsleApp::Tick 
0x40da25 SDL_AppIterate isleapp.cpp:329 
0x7ffff0abb745 SDL_IterateMainCallbacks SDL_main_callbacks.c:130 
0x7ffff0d3e96f GenericIterateMainCallbacks SDL_sysmain_callbacks.c:51 
0x7ffff0d3ea59 SDL_EnterAppMainCallbacks_REAL SDL_sysmain_callbacks.c:62 
0x7ffff0a72df9 SDL_EnterAppMainCallbacks SDL_dynapi_procs.h:207 
0x409181 SDL_main SDL_main_impl.h:59 
0x7ffff0abb80b SDL_RunApp_REAL SDL_runapp.c:40 
0x7ffff0a6b15d SDL_RunApp_DEFAULT SDL_dynapi_procs.h:804 
0x7ffff0a77e62 SDL_RunApp SDL_dynapi_procs.h:804 
0x4091ac main SDL_main_impl.h:137 
0x7ffff0e46149 __libc_start_call_main 
0x7ffff0e4620a __libc_start_main_impl 
0x409084 _start 

Using current master

madebr avatar Jun 25 '25 22:06 madebr