id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 191,Some recorded streams cause std::bad_alloc in mythfrontend,Mike Cannon ,Isaac Richards,"== 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.",defect,closed,minor,unknown,mythtv,0.18.1,medium,duplicate,"bad_alloc, firewire, 6200",m_cannon@…,0