Opened 14 years ago
Closed 14 years ago
#7329 closed defect (fixed)
Mythfrontend memory leak using OpenGL painter
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - User Interface Library | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I've noticed a fairly noticeable memory leak when using the OpenGL painter. Each leak occurs when I watch recordings. It doesn't leak during the recording but when I enter and leave playback of the recording. The leak seems to eat about 1% (~20MB) of my memory each time I watch a recording. When using the Qt painter no leak is observed. I tried different themes and OSD themes but they all experience the leak. In addition I also tried switching between software and vdpau video decoding/rendering without any difference.
I've compiled a debug build and ran under Valgrind.
Below is my current set-up
- Theme: Mythcenter-wide
- OSD: Metallurgy
- Compile Options:
MythTV Version : 22464M MythTV Branch : branches/release-0-22-fixes Network Protocol : 50 Library API : 0.22.20091008-1 QT Version : 4.4.3 Options compiled in:
linux release using_oss using_alsa using_pulse using_backend using_directfb using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg
Attachments (2)
Change History (4)
Changed 14 years ago by
Attachment: | valgrind_opengl_memleak.log added |
---|
Changed 14 years ago by
Attachment: | mfe_opengl_memleak.log added |
---|
mythfrontend log during valgrind session
comment:1 Changed 14 years ago by
Status: | new → infoneeded_new |
---|
I can not reproduce this with either the OpenGL painter or the Qt painter with XVideo video renderer. But I can produce a ~15MB memory growth per playback using the VDPAU video renderer when using either painter.
Are you using the VDPAU video renderer?
valgrind log using --leak-check=full --show-reachable=yes while loading mythfrontend, briefly watching one recording and then exiting all the way out