Index: mrpt-salsa/libs/opengl/CMakeLists.txt
===================================================================
--- mrpt-salsa.orig/libs/opengl/CMakeLists.txt
+++ mrpt-salsa/libs/opengl/CMakeLists.txt
@@ -43,6 +43,15 @@ if(NOT BUILD_mrpt-opengl)
   return()
 endif()
 
+# Workaround to Debian bug https://bugs.debian.org/1115155
+# Apparently caused by memory corruption in the vtable of these classes,
+# but neither sanitizers, nor valgrind detect anything wrong.
+set_source_files_properties(
+    src/CRenderizableShaderTriangles.cpp
+    src/CTexturedPlane.cpp
+    PROPERTIES COMPILE_OPTIONS "-O1"
+)
+
 if (MRPT_OPENGL_PROFILER)
 	target_compile_definitions(opengl PRIVATE MRPT_OPENGL_PROFILER)
 endif()
