[mythtv-commits] Ticket #8194: Seg Fault in mythfrontend on startup with DVD in drive

MythTV mythtv at cvs.mythtv.org
Sat Mar 27 19:58:55 UTC 2010

#8194: Seg Fault in mythfrontend on startup with DVD in drive
 Reporter:  bhuffman@…          |       Owner:  ijr    
     Type:  defect              |      Status:  new    
 Priority:  minor               |   Milestone:  unknown
Component:  MythTV - General    |     Version:  unknown
 Severity:  medium              |     Mlocked:  0      

Comment(by anonymous):

 Replying to [comment:4 skamithi]:
 > why its crashing when MythMainWindow::SetDrawEnabled() function is
 called I'm not sure of yet.

 Need to be careful about threading here.  MythMainWindow::SetDrawEnabled()
 calls QWidget::setUpdatesEnabled(), which in turn calls

 Unlike QWidget::update(), updateSystemBackground() performs its actions
 directly in the current thread rather than scheduling the update for the
 GUI thread (hence the errors: "QPixmap: It is not safe to use pixmaps
 outside the GUI thread").  Segfault occurs because one of the pixmap
 errors returns a NULL which is dereferenced without validation.

Ticket URL: <http://svn.mythtv.org/trac/ticket/8194#comment:6>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list