[mythtv-commits] Ticket #1910: MythMainWindow::RegisterMediaHandler crashes if no MediaMontior configured

MythTV mythtv at cvs.mythtv.org
Fri Jun 2 08:14:16 UTC 2006


#1910: MythMainWindow::RegisterMediaHandler crashes if no MediaMontior configured
--------------------+-------------------------------------------------------
 Reporter:  rtsai   |        Owner:  danielk
     Type:  defect  |       Status:  new    
 Priority:  minor   |    Milestone:  0.20   
Component:  mythtv  |      Version:  head   
 Severity:  medium  |   Resolution:         
--------------------+-------------------------------------------------------
Comment (by mythdev at penyball.cix.co.uk):

 fyi this fails on 32bit linux 2.6.16.5 and 2.6.14 - stepping upto the fail
 point it is in the QValueList header - line 563 of qvaluelist.h @ QT 3.3.3
 - when this == 0x0
 {{{
     void detach() { if ( sh->count > 1 ) detachInternal(); }
 }}}
 this being invoked from the last line below
 {{{
 void MediaMonitor::MonitorRegisterExtensions(uint mediatype,
                                              const QString &extensions)
 {
     VERBOSE(VB_IMPORTANT, QString("MonitorRegisterExtensions(0x%1, %2)")
             .arg(mediatype, 0, 16).arg(extensions));

     QValueList<MythMediaDevice*>::iterator it = m_Devices.begin();
 }}}
 Still exists with distclean builds of myth & plugins

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1910>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list