100% CPU usage with SVN trunk

Mark Kretschmann markey at web.de
Sat Jun 17 10:15:41 UTC 2006


Hi guys,

a user was reporting 100% CPU usage with SVN trunk today. User says CPU usage 
increases shortly after startup, and never goes back. Now, check the first 
line of the debug output he sent:

"QObject: 605 timers now exist for object QObject::unnamed"

Looks like we create a timer repeatedly without deleting it? 605 timers could 
explain high CPU usage, I guess. (BTW, this shows how useful it could be to  
give all QObjects a proper name, instead of keeping it unnamed!)

Any ideas?



log:

QObject: 605 timers now exist for object QObject::unnamed
amarok:     BEGIN: virtual App::~App()
amarok:       [CollectionDB] track ended: 
file:///home/david/Music/Mogwai/07%202%20Rights%20Make%201%20Wrong.mp3
amarok:       [static void PluginManager::unload(amaroK::Plugin*)]
amarok:       [PluginManager] Unloading library: libamarok_void-engine_plugin
QObject::disconnect: Unexpected null parameter
QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) 
to KHTMLPart::slotActiveFrameChanged( KParts::Part * )
QObject::disconnect: Unexpected null parameter
QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) 
to KHTMLPart::slotActiveFrameChanged( KParts::Part * )
amarok:       [virtual CollectionView::~CollectionView()]
amarok:       BEGIN: virtual PlaylistBrowser::~PlaylistBrowser()
amarok:       END__: virtual PlaylistBrowser::~PlaylistBrowser() - Took 
0.00048s
QObject::disconnect: Unexpected null parameter
QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) 
to KHTMLPart::slotActiveFrameChanged( KParts::Part * )
amarok:       BEGIN: virtual ScriptManager::~ScriptManager()
amarok:       END__: virtual ScriptManager::~ScriptManager() - Took 0.0072s
amarok:       BEGIN: virtual ThreadWeaver::~ThreadWeaver()
amarok:         [ThreadWeaver] Forcibly terminating INotify thread...
amarok:         [ThreadWeaver] Waiting on thread...
amarok:         [ThreadWeaver] Waiting on thread...
amarok:       END__: virtual ThreadWeaver::~ThreadWeaver() - Took 0.0015s
amarok:       [static void PluginManager::unload(amaroK::Plugin*)]
amarok:       [xine-engine] xine closed
amarok:       [xine-engine] Scope statistics:
amarok:   Average list size: 66
amarok:   Buffer failure:    0.220435%
amarok:       [PluginManager] Unloading library: libamarok_xine-engine
amarok:     END__: virtual App::~App() - Took 1.1s
*** glibc detected *** double free or corruption (fasttop): 0xa4812018 ***

-- 
Mark



More information about the Amarok mailing list