[gstreamer-bugs] [Bug 615342] [gstalsamixer] leaks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 10 00:22:17 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=615342
  GStreamer | gst-plugins-base | git

--- Comment #1 from Edward Hervey <bilboed at gmail.com> 2010-04-10 07:22:11 UTC ---
We're also leaking other things:

F12:
==20240==    at 0x4A0515D: malloc (vg_replace_malloc.c:195)
==20240==    by 0x3E78037B11: ??? (in /lib64/libasound.so.2.0.0)
==20240==    by 0x3E7803F734: ??? (in /lib64/libasound.so.2.0.0)
==20240==    by 0x3E7803C25A: snd_hctl_open (in /lib64/libasound.so.2.0.0)
==20240==    by 0x3E7804604C: snd_mixer_attach (in /lib64/libasound.so.2.0.0)
==20240==    by 0xB961DA0: gst_alsa_mixer_new (gstalsamixer.c:62)
==20240==    by 0xB962DFA: gst_alsa_mixer_element_change_state
(gstalsamixerelement.c:210)
==20240==    by 0x508226B: gst_element_change_state (gstelement.c:2531)
==20240==    by 0x50857D7: gst_element_set_state_func (gstelement.c:2487)
==20240==    by 0x401241: test_alsa_mixer_track (alsa.c:83)
==20240==    by 0x4E24F2E: srunner_run_all (check_run.c:372)
==20240==    by 0x4E200DA: gst_check_run_suite (gstcheck.c:556)
==20240==    by 0x401892: main (alsa.c:134)

karmik/lucid:
==11124==    at 0x4C25153: malloc (vg_replace_malloc.c:195)
==11124==    by 0x4013C20: _dl_close_worker (dl-close.c:374)
==11124==    by 0x401454B: _dl_close (dl-close.c:742)
==11124==    by 0x400E385: _dl_catch_error (dl-error.c:178)
==11124==    by 0x6BAB2AB: _dlerror_run (dlerror.c:164)
==11124==    by 0x6BAB00E: dlclose (dlclose.c:48)
==11124==    by 0x809CF85: ??? (in /usr/lib/libasound.so.2.0.0)
==11124==    by 0x809D4FC: snd_config_searcha_hooks (in
/usr/lib/libasound.so.2.0.0)
==11124==    by 0x809D65F: snd_config_searchva_hooks (in
/usr/lib/libasound.so.2.0.0)
==11124==    by 0x809D7ED: ??? (in /usr/lib/libasound.so.2.0.0)
==11124==    by 0x809D9C5: snd_config_search_definition (in
/usr/lib/libasound.so.2.0.0)
==11124==    by 0x80A93A4: ??? (in /usr/lib/libasound.so.2.0.0)
==11124==    by 0x80A60CA: snd_hctl_open (in /usr/lib/libasound.so.2.0.0)
==11124==    by 0x80AFEEC: snd_mixer_attach (in /usr/lib/libasound.so.2.0.0)
==11124==    by 0x79FB568: gst_alsa_mixer_new (gstalsamixer.c:62)
==11124==    by 0x79FC5EA: gst_alsa_mixer_element_change_state
(gstalsamixerelement.c:210)
==11124==    by 0x5513E9B: gst_element_change_state (gstelement.c:2531)
==11124==    by 0x5517407: gst_element_set_state_func (gstelement.c:2487)
==11124==    by 0x4013B1: test_alsa_mixer_track (alsa.c:83)
==11124==    by 0x504559E: srunner_run_all (check_run.c:372)


Googling some more showed that we should also maybe call snd_mixer_free()
before calling snd_mixer_close() and snd_mixer_detach()

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list