After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726489 - tsdemux: Memory Leak when seeking in AVCHD file
tsdemux: Memory Leak when seeking in AVCHD file
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.2.2
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-17 06:59 UTC by mike morrison
Modified: 2014-03-17 21:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of memory leak after dragging the position slider back and forth for about 30 seconds (586.56 KB, image/png)
2014-03-17 06:59 UTC, mike morrison
Details

Description mike morrison 2014-03-17 06:59:37 UTC
Created attachment 272114 [details]
screenshot of memory leak after dragging the position slider back and forth for about 30 seconds

I was trying to track down a memory leak in my program but soon found that it only happens with AVCHD files which made me think it may be a memory leak within GStreamer. I then tried the same file in Totem and noticed it has the same issue.

Here are the steps to reproduce in Totem:

1. Open an AVCHD video file in Totem (I will try to attach one)
2. Pause the video
3. Open gnome-system-monitor and filter the processes list for totem
4. Drag the position slider back and forth while watching the memory usage of totem in gnome-system-monitor


The memory usage will continue to climb until it eventually causes the program to hang or crash
Comment 1 mike morrison 2014-03-17 07:07:17 UTC
Here is a dropbox link to a 5mb AVCHD file that causes gstreamer to leak memory when seeking:

https://www.dropbox.com/s/muoaeu8ew56ykan/00167.MTS
Comment 2 Edward Hervey 2014-03-17 08:34:50 UTC
Hi,

  I can't reproduce that leak with 1.2.3 . Can you update and confirm ?
Comment 3 mike morrison 2014-03-17 21:32:54 UTC
I updated to GStreamer 1.2.3 and can confirm that my issue is resolved with this version.

I can now generate thumbnails for 300+ avchd files without running out of memory.
Comment 4 Tim-Philipp Müller 2014-03-17 21:40:19 UTC
Great, thanks for checking and confirming it's no longer an issue.