GNOME Bugzilla – Bug 764360
playbin: Disabling subtitles can cause the pipeline to stall
Last modified: 2017-07-12 20:54:41 UTC
My Totem movie player ver 3.18 hangs and becomes unresponsive if I remove the subtitles. Let me know if you need any more details.
Thanks for taking the time to report this. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces for more information on how to do so. When pasting a stack trace in this bug report, please reset the status of this bug report from NEEDINFO to its previous status. Thanks in advance!
s/crash/hang/ You can always run "killall -SEGV totem" to gather the information on where it was hung.
Adding stack trace as requested. [anishjp@localhost ~]$ gdb /usr/bin/totem GNU gdb (GDB) Fedora 7.10.1-30.fc23 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/totem...Reading symbols from /usr/bin/totem...(no debugging symbols found)...done. (no debugging symbols found)...done. Missing separate debuginfos, use: dnf debuginfo-install totem-3.18.1-1.fc23.x86_64 (gdb) run Starting program: /usr/bin/totem [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffdfc1e700 (LWP 4830)] [New Thread 0x7fffdf41d700 (LWP 4831)] [New Thread 0x7fffd7fff700 (LWP 4832)] [New Thread 0x7fffd6899700 (LWP 4833)] [New Thread 0x7fffd5dbc700 (LWP 4834)] [New Thread 0x7fffbcecb700 (LWP 4835)] [New Thread 0x7fffb75f0700 (LWP 4836)] [New Thread 0x7fffb6def700 (LWP 4837)] [Thread 0x7fffb75f0700 (LWP 4836) exited] [New Thread 0x7fffb75f0700 (LWP 4850)] [New Thread 0x7fffb65ee700 (LWP 4851)] [New Thread 0x7fffb5ded700 (LWP 4852)] [New Thread 0x7fffb55ec700 (LWP 4853)] [New Thread 0x7fffb4deb700 (LWP 4854)] [New Thread 0x7fffa7fff700 (LWP 4855)] [New Thread 0x7fffa77fe700 (LWP 4856)] [New Thread 0x7fffa6ffd700 (LWP 4857)] [New Thread 0x7fffa67fc700 (LWP 4859)] [Thread 0x7fffa7fff700 (LWP 4855) exited] [Thread 0x7fffd5dbc700 (LWP 4834) exited] [Thread 0x7fffa67fc700 (LWP 4859) exited] [Thread 0x7fffb65ee700 (LWP 4851) exited] [Thread 0x7fffb75f0700 (LWP 4850) exited] [Thread 0x7fffb5ded700 (LWP 4852) exited] [Thread 0x7fffb55ec700 (LWP 4853) exited] [Thread 0x7fffb4deb700 (LWP 4854) exited] [Thread 0x7fffa77fe700 (LWP 4856) exited] [New Thread 0x7fffa77fe700 (LWP 4864)] [Thread 0x7fffa6ffd700 (LWP 4857) exited] [New Thread 0x7fffa6ffd700 (LWP 4865)] [New Thread 0x7fffb4deb700 (LWP 4866)] [New Thread 0x7fffb55ec700 (LWP 4867)] [New Thread 0x7fffb5ded700 (LWP 4868)] [New Thread 0x7fffb75f0700 (LWP 4869)] [New Thread 0x7fffb65ee700 (LWP 4870)] [Thread 0x7fffa6ffd700 (LWP 4865) exited] [Thread 0x7fffb4deb700 (LWP 4866) exited] [Thread 0x7fffb55ec700 (LWP 4867) exited] [Thread 0x7fffa77fe700 (LWP 4864) exited] [Thread 0x7fffb5ded700 (LWP 4868) exited] [Thread 0x7fffb75f0700 (LWP 4869) exited] [New Thread 0x7fffb75f0700 (LWP 4871)] [Thread 0x7fffb65ee700 (LWP 4870) exited] [New Thread 0x7fffb65ee700 (LWP 4872)] [New Thread 0x7fffb5ded700 (LWP 4873)] [New Thread 0x7fffa77fe700 (LWP 4874)] [New Thread 0x7fffb55ec700 (LWP 4875)] [New Thread 0x7fffb4deb700 (LWP 4876)] [New Thread 0x7fffa7fff700 (LWP 4877)] [New Thread 0x7fffa6ffd700 (LWP 4878)] [New Thread 0x7fffa67fc700 (LWP 4879)] [New Thread 0x7fffa5ffb700 (LWP 4880)] [Thread 0x7fffa67fc700 (LWP 4879) exited] [Thread 0x7fffa77fe700 (LWP 4874) exited] [Thread 0x7fffb5ded700 (LWP 4873) exited] [Thread 0x7fffa6ffd700 (LWP 4878) exited] [Thread 0x7fffa5ffb700 (LWP 4880) exited] [Thread 0x7fffa7fff700 (LWP 4877) exited] [Thread 0x7fffb55ec700 (LWP 4875) exited] [Thread 0x7fffb65ee700 (LWP 4872) exited] [Thread 0x7fffb4deb700 (LWP 4876) exited] [New Thread 0x7fffb4deb700 (LWP 4881)] [Thread 0x7fffb4deb700 (LWP 4881) exited] Detaching after fork from child process 4883. [New Thread 0x7fffb4deb700 (LWP 4899)] [New Thread 0x7fffb55ec700 (LWP 4900)] [New Thread 0x7fffb65ee700 (LWP 4901)] [New Thread 0x7fffa7fff700 (LWP 4902)] [New Thread 0x7fffa576b700 (LWP 4903)] [New Thread 0x7fffa4d4a700 (LWP 4904)] [New Thread 0x7fff7bffd700 (LWP 4905)] [New Thread 0x7fff7b7fc700 (LWP 4906)] [New Thread 0x7fff7affb700 (LWP 4907)] [New Thread 0x7fff7a7fa700 (LWP 4908)] [New Thread 0x7fff79184700 (LWP 4909)] [New Thread 0x7fff6bfff700 (LWP 4910)] [New Thread 0x7fff6b7fe700 (LWP 4911)] [New Thread 0x7fff6affd700 (LWP 4912)] [Thread 0x7fffb75f0700 (LWP 4871) exited] ^C Program received signal SIGINT, Interrupt. 0x00007fffefcbffdd in poll () from /lib64/libc.so.6 (gdb) thread apply all bt
+ Trace 236186
Thread 50 (Thread 0x7fff6affd700 (LWP 4912))
Thread 49 (Thread 0x7fff6b7fe700 (LWP 4911))
Thread 48 (Thread 0x7fff6bfff700 (LWP 4910))
Thread 47 (Thread 0x7fff79184700 (LWP 4909))
Thread 42 (Thread 0x7fffa4d4a700 (LWP 4904))
Thread 41 (Thread 0x7fffa576b700 (LWP 4903))
Thread 40 (Thread 0x7fffa7fff700 (LWP 4902))
Thread 39 (Thread 0x7fffb65ee700 (LWP 4901))
Thread 38 (Thread 0x7fffb55ec700 (LWP 4900))
Thread 9 (Thread 0x7fffb6def700 (LWP 4837))
Thread 7 (Thread 0x7fffbcecb700 (LWP 4835))
Thread 5 (Thread 0x7fffd6899700 (LWP 4833))
Cant change the status to its original state. All I see is "needinfo" and "Resolved".
I can reproduce this. Unlike last time this broke, this is not a deadlock, but a pipeline stall. Please describe or share the media you are playing, so we can narrow down which condition will trigger this issue. For my part, I could reproduce with any MP4 and an SRT file.
[anishjp@localhost Season 1]$ mediainfo S01E02.mkv General Unique ID : 232404975377761004484827712059706682943 (0xAED791F411E3A97B884ABC0293AFAE3F) Complete name : S01E02.mkv Format : Matroska Format version : Version 4 / Version 2 File size : 140 MiB Duration : 22mn 51s Overall bit rate : 859 Kbps Encoded date : UTC 2015-07-20 21:42:57 Writing application : mkvmerge v7.9.0 ('Birds') 64bit Writing library : libebml v1.3.1 + libmatroska v1.4.2 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L3.1 Format settings, CABAC : Yes Format settings, ReFrames : 5 frames Codec ID : V_MPEG4/ISO/AVC Duration : 22mn 51s Bit rate : 809 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.037 Stream size : 132 MiB (94%) Writing library : x264 core 129 r2230 1cffe9f Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=809 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : HE-AAC / LC Codec ID : A_AAC Duration : 22mn 51s Bit rate : 48.0 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz / 24.0 KHz Frame rate : 23.438 fps (1024 spf) Compression mode : Lossy Delay relative to video : 31ms Stream size : 7.82 MiB (6%) Language : English Default : Yes Forced : No Text ID : 3 Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text Duration : 22mn 46s Bit rate : 74 bps Count of elements : 366 Stream size : 12.4 KiB (0%) Language : English Default : Yes Forced : No
*** Bug 779164 has been marked as a duplicate of this bug. ***
I can't reproduce this with 1.12.1, mp4 file + srt. Any chance you could re-test with 1.12? (Nicolas, anishjp)
Created attachment 355359 [details] tick.srt Just for reference / crosschecking. This is the SRT I tried with. It's possibel it does not trigger the bug though because it's got fairly frequent data.
Works for me now too.
Alright. Let's assume it's fixed then. Anish, please re-open if you can still reproduce this with recent versions of GStreamer, thanks!