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 773828 - qtmux: Crash on EOS with GST_DEBUG enabled
qtmux: Crash on EOS with GST_DEBUG enabled
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.11.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-02 12:26 UTC by Vivia Nikolaidou
Modified: 2016-11-02 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vivia Nikolaidou 2016-11-02 12:26:05 UTC
GST_DEBUG=splitmuxsink:6 GST_DEBUG_NO_COLOR=1 gst-launch-1.0 videotestsrc  ! x264enc ! splitmuxsink location=file%03d.mov max-size-time=60000000000



0:00:28.731786945 31104 0x556fa4c2df20 LOG             splitmuxsink gstsplitmuxsink.c:959:handle_gathered_gop:<splitmuxsink0> mq at TS +0:01:10.000000000 bytes 13390123
0:00:28.731793916 31104 0x556fa4c2df20 INFO            splitmuxsink gstsplitmuxsink.c:973:handle_gathered_gop:<splitmuxsink0> mq overflowed since last, draining out. max out TS is +0:01:00.000000000
0:00:28.731801405 31104 0x556fa4c2df20 LOG             splitmuxsink gstsplitmuxsink.c:1304:handle_mq_input:<multiqueue:sink_0> Sending splitmuxsink-unblock event
0:00:28.731817355 31104 0x556fa4c2df20 LOG             splitmuxsink gstsplitmuxsink.c:1132:handle_mq_input:<multiqueue:sink_0> Fired probe type 0x1040
0:00:28.731820151 31104 0x556fa4c2ded0 INFO            splitmuxsink gstsplitmuxsink.c:632:complete_or_wait_on_out:<multiqueue:src_0> Woken for new max running time +0:01:00.000000000
0:00:28.731837377 31104 0x556fa4c2ded0 LOG             splitmuxsink gstsplitmuxsink.c:599:complete_or_wait_on_out:<multiqueue:src_0> Checking running time +0:01:00.000000000 against max +0:01:00.000000000
0:00:28.731851197 31104 0x556fa4c2ded0 INFO            splitmuxsink gstsplitmuxsink.c:579:send_eos:<splitmuxsink0> Sending EOS on <muxer:video_0>
0:00:28.731863626 31104 0x556fa4c2df20 DEBUG           splitmuxsink gstsplitmuxsink.c:1320:handle_mq_input:<multiqueue:sink_0> Sleeping for fragment restart
Caught SIGSEGV
  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 84
  • #1 g_main_context_iterate
  • #2 g_main_context_iterate
  • #3 g_main_loop_run
  • #4 gst_bus_poll
    at gstbus.c line 1181
  • #5 event_loop
    at gst-launch.c line 533
  • #6 main

Comment 1 Vivia Nikolaidou 2016-11-02 12:30:25 UTC


Thread 2 (Thread 0x7fe5e2cb5700 (LWP 31278))

  • #0 nanosleep
    at ../sysdeps/unix/syscall-template.S line 84
  • #1 g_usleep
    at ././glib/gtimer.c line 259
  • #2 fault_handler_sighandler
    at gst-launch.c line 113
  • #3 fault_handler_sighandler
    at gst-launch.c line 94
  • #4 <signal handler called>
  • #5 gst_qt_mux_collected
    at gstqtmux.c line 3594
  • #6 gst_qt_mux_collected
    at gstqtmux.c line 3618
  • #7 gst_collect_pads_check_collected
    at gstcollectpads.c line 1351
  • #8 gst_collect_pads_event_default
    at gstcollectpads.c line 1792
  • #9 gst_qt_mux_sink_event
    at gstqtmux.c line 4678
  • #10 gst_collect_pads_event
    at gstcollectpads.c line 2014
  • #11 gst_pad_send_event_unchecked
    at gstpad.c line 5609
  • #12 gst_pad_send_event
    at gstpad.c line 5779
  • #13 complete_or_wait_on_out
    at gstsplitmuxsink.c line 581
  • #14 complete_or_wait_on_out
    at gstsplitmuxsink.c line 612
  • #15 handle_mq_output
    at gstsplitmuxsink.c line 780
  • #16 probe_hook_marshal
    at gstpad.c line 3470
  • #17 g_hook_list_marshal
    at ././glib/ghook.c line 672
  • #18 do_probe_callbacks
    at gstpad.c line 3622
  • #19 gst_pad_push_data
    at gstpad.c line 4448
  • #20 gst_pad_push
    at gstpad.c line 4577
  • #21 gst_multi_queue_loop
    at gstmultiqueue.c line 1611
  • #22 gst_multi_queue_loop
    at gstmultiqueue.c line 1915
  • #23 gst_task_func
    at gsttask.c line 334
  • #24 g_thread_pool_thread_proxy
    at ././glib/gthreadpool.c line 307
  • #25 g_thread_proxy
    at ././glib/gthread.c line 784
  • #26 start_thread
    at pthread_create.c line 333
  • #27 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 105

Comment 2 Sebastian Dröge (slomo) 2016-11-02 12:34:51 UTC
commit 09c4cc55f2beecc91e83de35a767e4a020c37c26
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Wed Nov 2 14:33:28 2016 +0200

    qtmux: Don't deref NULL pads in debug output
    
    That tends to crash.