[mythtv-commits] Ticket #3757: Reduce polling in mythwelcome

MythTV mythtv at cvs.mythtv.org
Fri Sep 28 15:19:33 UTC 2007


#3757: Reduce polling in mythwelcome
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  ijr 
     Type:  defect     |       Status:  new 
 Priority:  minor      |    Milestone:  0.21
Component:  mythtv     |      Version:  head
 Severity:  low        |   Resolution:      
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by candrews at integralblue.com):

 Recompiling yielded a better backtrace:
 {{{
 #0  0x000000346e2ccfb2 in select () from /lib/libc.so.6
 #1  0x000000323eb7fec3 in QEventLoop::processEvents (this=0xb35650,
 flags=4)
     at kernel/qeventloop_x11.cpp:291
 #2  0x000000323ec01dbf in QEventLoop::enterLoop (this=0xb35650)
     at kernel/qeventloop.cpp:198
 #3  0x000000323ebe50d4 in QApplication::enter_loop (this=0x7fff34361490)
     at kernel/qapplication.cpp:2793
 #4  0x00000032427d99c5 in MythDialog::exec (this=0xb38020)
     at mythdialogs.cpp:152
 #5  0x0000000000415cc1 in WelcomeDialog::exec (this=0xb38020)
     at welcomedialog.cpp:105
 #6  0x000000000040f4e2 in main (argc=1, argv=0x7fff34361718) at
 main.cpp:100
 #7  0x000000346e21db74 in __libc_start_main () from /lib/libc.so.6
 #8  0x000000000040e7a9 in _start ()
 }}}
 On line 4, the offending code is: {{{qApp->enter_loop();}}}
 Line 5 is: {{{    return MythDialog::exec();}}}

 Neither of those is an obvious problem. It seems the issue is with QT (but
 not being a QT programmer, I don't know). So... what is the purpose of
 {{{qApp->enter_loop();}}}, and could that be the polling source?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3757#comment:14>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list