https://bugs.kde.org/show_bug.cgi?id=372384

--- Comment #11 from David Edmundson <k...@davidedmundson.co.uk> ---
Thanks for doing that heapprofile output, it would be ideal, except for the
fact you can't profile on one machine and profile on another. It tries to
resolve symbols that simply won't match :S 

The valgrind output had one useful piece:
=2222== 39,846,072 bytes in 8 blocks are possibly lost in loss record 77,372 of
77,372
==2222==    at 0x4C2CB3F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2222==    by 0x22EBAC48: ??? (in /usr/lib/nvidia-370/libGLX_nvidia.so.370.28)
==2222==    by 0x245CA6D6: ??? (in
/usr/lib/nvidia-370/libnvidia-glcore.so.370.28)
==2222==    by 0x245B7A9C: ??? (in
/usr/lib/nvidia-370/libnvidia-glcore.so.370.28)
==2222==    by 0x24691AA3: ??? (in
/usr/lib/nvidia-370/libnvidia-glcore.so.370.28)
==2222==    by 0x246933EA: ??? (in
/usr/lib/nvidia-370/libnvidia-glcore.so.370.28)
==2222==    by 0x2431B1B8: ??? (in
/usr/lib/nvidia-370/libnvidia-glcore.so.370.28)
==2222==    by 0x243250A7: ??? (in
/usr/lib/nvidia-370/libnvidia-glcore.so.370.28)
==2222==    by 0x2432910C: ??? (in
/usr/lib/nvidia-370/libnvidia-glcore.so.370.28)
==2222==    by 0x24342B86: ??? (in
/usr/lib/nvidia-370/libnvidia-glcore.so.370.28)
==2222==    by 0x6A464B3: glTexImage2D (qopenglfunctions.h:995)
==2222==    by 0x6A464B3: QSGAtlasTexture::Atlas::bind(QSGTexture::Filtering)
(qsgatlastexture.cpp:347)
==2222==    by 0x6A49B42:
QSGOpaqueTextureMaterialShader::updateState(QSGMaterialShader::RenderState
const&, QSGMaterial*, QSGMaterial*) (qsgtexturematerial.cpp:99)
==2222==    by 0x6A30101:
QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*)
(qsgbatchrenderer.cpp:2260)
==2222==    by 0x6A31644: QSGBatchRenderer::Renderer::renderBatches()
(qsgbatchrenderer.cpp:2503)
==2222==    by 0x6A36EA4: QSGBatchRenderer::Renderer::render()
(qsgbatchrenderer.cpp:2697)
==2222==    by 0x6A428FE: QSGRenderer::renderScene(QSGBindable const&)
(qsgrenderer.cpp:217)
==2222==    by 0x6A4319A: QSGRenderer::renderScene(unsigned int)
(qsgrenderer.cpp:177)
==2222==    by 0x6A5355D: QSGRenderContext::renderNextFrame(QSGRenderer*,
unsigned int) (qsgcontext.cpp:555)
==2222==    by 0x6A9A92D: QQuickWindowPrivate::renderSceneGraph(QSize const&)
(qquickwindow.cpp:424)
==2222==    by 0x6A6C72E: QSGRenderThread::syncAndRender()
(qsgthreadedrenderloop.cpp:623)
==2222==    by 0x6A71CAB: QSGRenderThread::run()
(qsgthreadedrenderloop.cpp:704)
==2222==    by 0x9AE8C67: QThreadPrivate::start(void*) (qthread_unix.cpp:341)
==2222==    by 0xAB76709: start_thread (pthread


Which implies either we're leaking a QSGTexture somewhere. 
Or Qt isn't cleaning up properly.
Or Nvidia isn't.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to