Summary: | [gst-vaapi-master]gstreamer memory leak | ||
---|---|---|---|
Product: | libva | Reporter: | Yang Lianyue <lianyuex.yang> |
Component: | gst-vaapi | Assignee: | Wind Yuan <feng.yuan> |
Status: | VERIFIED NOTOURBUG | QA Contact: | Sean V Kelley <seanvk> |
Severity: | normal | ||
Priority: | medium | CC: | feng.yuan, lianyuex.yang, ouping.zhang, tienan.liu |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
gst_valgrind.log
gst-vagrind.log(libva Intel-driver at staging ) valgrind.log (latest libva-staging) valgrind_720p.mp4.log libva/intel-driver staging branch |
Description
Yang Lianyue
2013-07-25 02:00:16 UTC
Created attachment 82972 [details]
gst_valgrind.log
Created attachment 83248 [details]
gst-vagrind.log(libva Intel-driver at staging )
Environment:
--------------------------
Platform: HSW
Libva: (staging)e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0
Intel-driver: (staging)6e7e29e637ed89da38f493239dbceb059c9b3106
Gstreamer: (1.0) 7392c42263bd1a03c81fcb6049734cbffe200aaa
gst-plugins-base: (1.0) 6a79969b4bf209d2252bcf87d3fa8b96a1291254
gst-plugins-bad: (1.0) 977410bb8952bf62e20362aff41b861e745492e4
gst-plugins-good: (1.0) 41d2cf716d522b40a1a1233b43200d5f72df0f8f
gst-plugins-ugly: (1.0) b31e84d5f7c4c6eddcf1b955d131d223fa1929c0
Gst-vaapi: (master)ad7ac2fb8e167078555b19fbff03a537873dbc94
> Platform: HSW > Libva: (staging)e9e685fe752b9865ba9e28cb63e18ce3f8aed2a0 Could you test against the latest libva-staging ? > Intel-driver: (staging)6e7e29e637ed89da38f493239dbceb059c9b3106 I can't find this commit Created attachment 83282 [details]
valgrind.log (latest libva-staging)
gst-vagrind.log(libva Intel-driver at staging )
Environment:
--------------------------
Platform: HSW
Libva: (staging)d4988142a3f2256e38c5c5cdcdfc1b4f5f3c1ea9
Intel-driver: (staging)2b773b5ada3ce123e9b7d0aa6c99276d33d00465
Gstreamer: (1.0) 7392c42263bd1a03c81fcb6049734cbffe200aaa
gst-plugins-base: (1.0) 6a79969b4bf209d2252bcf87d3fa8b96a1291254
gst-plugins-bad: (1.0) 977410bb8952bf62e20362aff41b861e745492e4
gst-plugins-good: (1.0) 41d2cf716d522b40a1a1233b43200d5f72df0f8f
gst-plugins-ugly: (1.0) b31e84d5f7c4c6eddcf1b955d131d223fa1929c0
Gst-vaapi: (master)ad7ac2fb8e167078555b19fbff03a537873dbc94
gst-vaapi: (master) commit ad7ac2fb8e167078555b19fbff03a537873dbc94 bug can be reproduced. Created attachment 83698 [details]
valgrind_720p.mp4.log
gst-vaapi: (master) commit ad7ac2fb8e167078555b19fbff03a537873dbc94
bug can be reproduced.
cmd: valgrind -v --tool=memcheck --leak-check=yes --log-file=valgrind.log gst-launch-1.0 filesrc location=/home/720p.mp4 ! qtdemux ! vaapidecode ! vaapisink
Created attachment 83700 [details]
libva/intel-driver staging branch
libva: (staging) bc49c42bcbfb24286c06b3e7cdb171b2a01c6f80
intel-driver: (staging) b3afeef8092dc4eb7cb73fce672ddf7a55205f34
gst-vaapi 1.0: (master) ad7ac2fb8e167078555b19fbff03a537873dbc94
valgrind -v --tool=memcheck --leak-check=yes --log-file=valgrind.log gst-launch-1.0 filesrc location=/home/720p.mp4 ! qtdemux ! vaapidecode ! vaapisink
According to the last log, the lost didn't occur in libva/driver. it's a gstreamer leak in g_get_user_cache_dir (gutils.c:916) ==11249== by 0x4EAC364: gst_update_registry (gstregistry.c:1675) ==11249== by 0x4E589CD: init_post (gst.c:765) ==11249== by 0x53C7F6F: g_option_context_parse (goption.c:1995) ==11249== by 0x4030E4: main (gst-launch.c:970). This is not gst-vaapi related. since it's only malloc a small buffer for a dir path and only called once, I don't think it's very necessary to fix. Mark as NotOurBug. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.