[mythtv-commits] Ticket #12040: Core dump in MythUIButtonList::GetItemCurrent
MythTV
noreply at mythtv.org
Fri Jan 31 05:48:33 UTC 2014
#12040: Core dump in MythUIButtonList::GetItemCurrent
---------------------------------------+------------------------
Reporter: faginbagin <mythtv@…> | Owner:
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.27-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
---------------------------------------+------------------------
I think this line (~1564) in MythUIButtonList::GetItemCurrent():
{{{
if (m_itemList.isEmpty() || m_selPosition > m_itemList.size() ||
}}}
should be changed to:
{{{
if (m_itemList.isEmpty() || m_selPosition >= m_itemList.size() ||
}}}
to prevent a core dump like the one I saw. See attached stack trace, in
particular thread 1 where the Qt library throws an assertion when a couple
of lines later, an attempt is made to fetch the item at position 2 (the
third item). Examination of m_itemList shows it has a size of 2.
Looking back at the logs, it appears mythfrontend was coming out of
playback mode and there had been a decoding error. I think another
frontend had deleted another recording of the same series shortly before
that time. Perhaps that's a clue to reproducing the crash?
--
Ticket URL: <http://code.mythtv.org/trac/ticket/12040>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list