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 680526 - tsdemux: crashes when seeking in HLS
tsdemux: crashes when seeking in HLS
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal critical
: 1.1.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-24 13:11 UTC by Tim-Philipp Müller
Modified: 2013-09-18 16:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2012-07-24 13:11:07 UTC
Don't think it's stream-specific, happens with multiple streams.

Applies to 0.10 git/SDK and 0.11.

Works fine with latest 0.10 release (mpegtsdemux).

-base/tests/examples/playback$ gdb --args ./.libs/lt-playback-test 0 http://ipad.akamai.com/Video_Content/cbc/being_erica/all.m3u8

Program received signal SIGSEGV, Segmentation fault.

Thread 140736995165952 (LWP 9922)

  • #0 mpegts_packetizer_next_packet
    at mpegtspacketizer.c line 2475
  • #1 mpegts_base_chain
    at mpegtsbase.c line 1423
  • #2 gst_pad_chain_data_unchecked
    at gstpad.c line 3587
  • #3 gst_pad_push_data
    at gstpad.c line 3800
  • #4 gst_pad_push
    at gstpad.c line 3903
  • #5 gst_single_queue_push_one
    at gstmultiqueue.c line 1057
  • #6 gst_multi_queue_loop
    at gstmultiqueue.c line 1303
  • #7 gst_task_func
    at gsttask.c line 316
  • #8 g_thread_pool_thread_proxy
    at /tmp/buildd/glib2.0-2.32.3/./glib/gthreadpool.c line 309
  • #9 g_thread_proxy
    at /tmp/buildd/glib2.0-2.32.3/./glib/gthread.c line 801
  • #10 start_thread
    at pthread_create.c line 304
  • #11 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 112
  • #12 ??

Comment 1 Edward Hervey 2013-06-16 10:17:18 UTC
I'm not getting the segfault ... because it can't seek anymore. I get this message whenever I seek

0:00:30.827658710 29612 0x7f530c0556d0 ERROR               hlsdemux gsthlsdemux.c:966:gst_hls_demux_cache_fragments:<hlsdemux1> Could not fetch the child playlist http://ipad.akamai.com/Video_Content/cbc/being_erica/1240k/prog_index.m3u8
Comment 2 Olivier Crête 2013-09-17 21:43:46 UTC
The tsdemux bug seems to be gone.

I fixed the bug that prevented any seek from happening (the GstUriDownloader was set to cancelled state but never reset on seek).

commit b92791d1020ff294c358ebc75bbb95e8b9c43417
Author: Olivier Crête <olivier.crete@collabora.com>
Date:   Tue Sep 17 17:41:39 2013 -0400

    hlsdemux: Reset GstUriDownloader cancellation when restarting to play