Bug 81180 - Memory management issues with gltf
Summary: Memory management issues with gltf
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.3.0.2 rc
Hardware: Other All
: medium normal
Assignee: Tamás Zolnai
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 81107
  Show dependency treegraph
 
Reported: 2014-07-10 16:25 UTC by Michael Meeks
Modified: 2014-08-15 13:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meeks 2014-07-10 16:25:58 UTC
Removing/recreating one gltf model shows that memory leaks. Starting slideshow again and again leads to bad_allocation problem. We will run memory analyzer tool again, so hopefully it will find the problem.
Comment 1 Markus Mohrhard 2014-07-12 04:59:24 UTC
I forgot to push one of my memory leak fixes. http://cgit.freedesktop.org/libreoffice/core/commit/?id=dfdc9f5ba4493369a0c6fb3a1d7c5781deeb5bc2

But there are still a number of leaks mainly in opencollada.
Comment 2 Markus Mohrhard 2014-07-13 05:38:36 UTC
I could not find any memory leaks in gltf. Maybe we have OpenGL resource leaks or they leaks are not detected by Lsan.
Comment 3 Tamás Zolnai 2014-08-15 13:56:49 UTC
It is solved by integrating libglt-0.0.0 into LibreOffice:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=48d1f860716720abdd7febdad4b57b9f31a6a1dc