Opened 11 years ago
Closed 11 years ago
Last modified 10 years ago
#12079 closed Bug Report - Crash (fixed)
Attempt to play any rec. from LiveTV group segfaults FE
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 0.28 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Attempt to play any recording from LiveTV group segfaults FE. Issue is the same on current master and on 0.27-fixes. FE log attached.
Attachments (2)
Change History (8)
comment:1 Changed 11 years ago by
It looks like issue is caused by https://github.com/MythTV/mythtv/commit/1cfdfa3f56876eb20170f33e9592b5c7ffd05064 Reverting this commit solves issue form me on master & o/27-fixes.
comment:2 Changed 11 years ago by
Damn, https://github.com/MythTV/mythtv/commit/1cfdfa3f56876eb20170f33e9592b5c7ffd05064 is false positive :-(. Issue is present without this commit. Interesting is that moving rec. from LiveTV group to any other group causes it plays OK.
comment:3 Changed 11 years ago by
There is no way 0.27 or devel/027candidates could have the crash you describe; the code just didn't exist there.
What you need is either revert https://github.com/MythTV/mythtv/commit/7fd5ad119c73
or replace line 1022
int cardid = player_ctx->recorder->GetRecorderNumber(); QString channum = player_ctx->playingInfo->GetChanNum(); QString inputname; int cardinputid = CardUtil::GetCardInputID(cardid, channum, inputname); CardUtil::SetStartChannel(cardinputid, channum);
with:
if (IsWatchingInprogress()) { int cardid = player_ctx->recorder->GetRecorderNumber(); QString channum = player_ctx->playingInfo->GetChanNum(); QString inputname; int cardinputid = CardUtil::GetCardInputID(cardid, channum, inputname); CardUtil::SetStartChannel(cardinputid, channum); }
personally, I feel that a complete revert is better as it doesn't make sense to save the cardid at this stage
comment:4 Changed 11 years ago by
Owner: | set to Jean-Yves Avenard <jyavenard@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:6 Changed 10 years ago by
Milestone: | unknown → 0.28 |
---|
gdb trace