[Bug 654380] [hlsdemux] Crashes after some time and invalid memory accesses

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 1 09:11:33 PDT 2011


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

Jan Edhner <edhner> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edhner at gmail.com

--- Comment #14 from Jan Edhner <edhner at gmail.com> 2011-09-01 16:11:16 UTC ---
I think I might have reproduced this problem! At least I get a similar Aborted
message. Here is a valgrind log (or part of one) that might be interesting:

==00:00:03:07.817 1688== Invalid write of size 1
==00:00:03:07.817 1688==    at 0x8012DAB: gst_m3u8_client_update (m3u8.c:230)
==00:00:03:07.817 1688==    by 0x8015F2B: gst_hls_demux_update_playlist.clone.2
(gsthlsdemux.c:1139)
==00:00:03:07.817 1688==    by 0x801682A: gst_hls_demux_loop
(gsthlsdemux.c:992)
==00:00:03:07.817 1688==    by 0x42100918: gst_task_func (gsttask.c:318)
==00:00:03:07.817 1688==    by 0x421019EB: default_func (gsttaskpool.c:70)
==00:00:03:07.817 1688==    by 0x4FF17130: ??? (in
/lib/libglib-2.0.so.0.2800.6)
==00:00:03:07.817 1688==    by 0x4FF15D21: ??? (in
/lib/libglib-2.0.so.0.2800.6)
==00:00:03:07.817 1688==    by 0x4FDECB15: start_thread (pthread_create.c:297)
==00:00:03:07.817 1688==    by 0x4FD2D1FD: clone (clone.S:130)
==00:00:03:07.817 1688==  Address 0x10528959 is 9 bytes after a block of size
976 alloc'd
==00:00:03:07.817 1688==    at 0x40051AD: calloc (vg_replace_malloc.c:467)
==00:00:03:07.817 1688==    by 0x4FF31DF4: g_malloc0 (in
/lib/libglib-2.0.so.0.2800.6)
==00:00:03:07.817 1688==    by 0x8014ECA: gst_hls_src_buf_to_utf8_playlist
(gsthlsdemux.c:1114)
==00:00:03:07.817 1688==    by 0x8015EFC: gst_hls_demux_update_playlist.clone.2
(gsthlsdemux.c:1133)
==00:00:03:07.817 1688==    by 0x801682A: gst_hls_demux_loop
(gsthlsdemux.c:992)
==00:00:03:07.817 1688==    by 0x42100918: gst_task_func (gsttask.c:318)
==00:00:03:07.817 1688==    by 0x421019EB: default_func (gsttaskpool.c:70)
==00:00:03:07.817 1688==    by 0x4FF17130: ??? (in
/lib/libglib-2.0.so.0.2800.6)
==00:00:03:07.817 1688==    by 0x4FF15D21: ??? (in
/lib/libglib-2.0.so.0.2800.6)
==00:00:03:07.817 1688==    by 0x4FDECB15: start_thread (pthread_create.c:297)
==00:00:03:07.817 1688==    by 0x4FD2D1FD: clone (clone.S:130)

What I did was to create a script that does play/stop (play=create pipeline and
set to state PLAYING, stop pipeline=NULL) over and over. I takes "a while"
(completly random) before I get this so this does not happen every time I play
something.

After looking at the code my thinking is that it might have something to do
with playlists that have an empty line at the end of the file but I am not
sure.

Oh, I am using the git HEAD (did git pull this morning) version of
gst-plugins-bad

-- 
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