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

MythTV noreply at mythtv.org
Wed Aug 31 14:45:00 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 mike.bibbings@…):

 Replying to [comment:8 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
 segfault.
 >
 > 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 :)

 The seg fault happens like clockwork on my system (either with
 mythfrontend or with Kodi  and pvr.mythtv addon).

 I can patch a source build if you have some extra logging statements you
 would like included to narrow down the problem. Just let me have details
 of what and where. I currently have a source build of 0.28 fixes, but if
 you want me to patch 0.29 I can do that.

 Mike

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


More information about the mythtv-commits mailing list