[mythtv-commits] Ticket #7907: mythfrontend segfaults sitting at watch recordings screen
MythTV
mythtv at cvs.mythtv.org
Thu Jan 14 05:56:45 UTC 2010
#7907: mythfrontend segfaults sitting at watch recordings screen
-----------------------------------------------------+----------------------
Reporter: Ken Emerson <kenneth.emerson@…> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: low | Mlocked: 0
-----------------------------------------------------+----------------------
Comment(by mdean):
Looks like playbackbox.cpp (around line 1195) is calling
MythUIButtonList::GetItemAt() and passing an arg of -1, which results in
calling QList::at() with an arg of -1, which triggers a Qt abort due to a
failed assert. Robert McNamara has a little patch that checks the bounds
in GetItemAt(), but since the code generally doesn't check validity of the
value returned by GetItemAt(), we'd need to modify every location where
GetItemAt() is called. And, even then, we probably still need to fix the
issue of calling GetItemAt() with an invalid value. I'll leave it to the
MythUI experts to decide what the best approach is--just thought I'd
mention this in case it saves someone else 30 seconds of digging. :)
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7907#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list