[mythtv-commits] Ticket #12856: mythbackend seg fault livetv via Kodi using Vbox Tuner

MythTV noreply at mythtv.org
Wed Aug 31 13:12:33 UTC 2016

#12856: mythbackend seg fault livetv via Kodi using Vbox Tuner
 Reporter:  mike.bibbings@…     |          Owner:
     Type:  Bug Report - Crash  |         Status:  new
 Priority:  minor               |      Milestone:  0.28.1
Component:  MythTV - General    |        Version:  Master Head
 Severity:  medium              |     Resolution:
 Keywords:                      |  Ticket locked:  0

Comment (by paulh):

 Made a little progress on this.

 I can randomly reproduce it now using a VBox as source by starting and
 stopping live TV and switching channels a few times it will eventually

 Using gdb to look at a few things the only strange thing I see is m_buffer
 instead of being filled with the stream data it contains a web page
 showing a "500 Internal Error". So for whatever reason the VBox is failing
 to start streaming and that is somehow causing the segfault.

 I suspect it has something to do with the QEventLoop in
 HTTPReader::DownloadStream(const QUrl url) exiting quicker than when a
 stream succeeds possibly with the order of the SIGNALS being called in a
 different order but I still can't see how that leads to the segfault in
 the BT. Open to suggestions :)

Ticket URL: <https://code.mythtv.org/trac/ticket/12856#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list