[mythtv-commits] Ticket #12902: Cannot make QOpenGLContext current in a different thread (occurred while watching live tv)

MythTV noreply at mythtv.org
Sun Jan 8 08:27:34 UTC 2017


#12902: Cannot make QOpenGLContext current in a different thread (occurred while
watching live tv)
-------------------------------------------------+-------------------------
 Reporter:  William L. DeRieux IV                |          Owner:
  <WilliamDeRieux@…>                             |
     Type:  Bug Report - Crash                   |         Status:  new
 Priority:  critical                             |      Milestone:  0.28.1
Component:  Qt5 issues                           |        Version:  0.28.0
 Severity:  high                                 |     Resolution:
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by WilliamDeRieux@…):

 I just tested this again without my modifications.
 I forced MythPlayer::ChangeSpeed() to be called by doing the following
 1) Play video or live tv
 2) Menu -> Playback ->  Adjust Time Stretch -> set to anything other than
 1.0x

 And I had no issue occur.

 The problem must be the way in which MythPlayer::ChangeSpeed() is
 called....from the decoder thread.
 Also, I seem to remember this issue taking a little while to take effect
 (maybe watiching live tv for at least an hour or so)
 {{{
 #10 0x00007ffff74485fb in MythPlayer::ChangeSpeed() (this=0x1fc4f90) at
 mythplayer.cpp:3741
 #11 0x00007ffff743feea in MythPlayer::FileChangedCallback()
 (this=0x1fc4f90) at mythplayer.cpp:2708
 #12 0x00007ffff74abbcd in DecoderBase::FileChanged() (this=0xdaa500) at
 decoderbase.cpp:902
 #13 0x00007ffff74b6ed1 in NuppelDecoder::GetFrame(DecodeTypes)
 (this=0xdaa500, decodetype=kDecodeAV) at nuppeldecoder.cpp:1069
 #14 0x00007ffff74465de in MythPlayer::DecoderGetFrame(DecodeTypes, bool)
 (this=0x1fc4f90, decodetype=kDecodeAV, unsafe=false) at
 mythplayer.cpp:3469
 #15 0x00007ffff7445ef1 in MythPlayer::DecoderLoop(bool) (this=0x1fc4f90,
 pause=true) at mythplayer.cpp:3384
 }}}

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


More information about the mythtv-commits mailing list