[mythtv-commits] Ticket #191: Some recorded streams cause
std::bad_alloc in mythfrontend
MythTV
mythtv at cvs.mythtv.org
Tue Aug 2 05:54:04 UTC 2005
#191: Some recorded streams cause std::bad_alloc in mythfrontend
--------------------+-------------------------------------------------------
Id: 191 | Status: new
Component: mythtv | Modified: Tue Aug 2 05:54:03 2005
Severity: medium | Milestone:
Priority: minor | Version: 0.18.1
Owner: ijr | Reporter: Mike Cannon <m_cannon at pacbell.net>
--------------------+-------------------------------------------------------
== Problem ==
Some recorded streams* cause std::bad_alloc in mythfrontend.
== System ==
Fedora Core 4 using mythtv-0.18.1-113.rhfc4.at.i386.rpm
Also when built from mythtv-0.18.1-113.rhfc4.at.src.rpm
and it has been reported on FC3.
== Analysis ==
What's characteristic about this is the stream has (at the
beginning) frames with 0 height/width and you get
OSDSet::m_wmult and OSDSet::m_hmult set to 0.0.
Next time in OSDSet::Reinit()...
{{{
float wchange = wmult / m_wmult; // inf
float hchange = hmult / m_hmult; // inf
}}}
and soon, eg, OSDTypeEditSlider::Reinit() tries
(osdtypes.cpp:1228) to do
{{{
... new unsigned char[m_drawwidth + 1];
// m_drawwidth == -2147483648
}}}
== (*) ==
Perhaps 20% of recordings from a Motorola STB
DCT-62xx via firewire seem to cause this.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/191>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list