svn using 100% CPU

Julien frenchdj at gmx.de
Thu Dec 14 16:38:30 UTC 2006


Hello,

since a few days (maybe one week) the svn-amarok is really slow at 
startup and click-interaction (right-click on songs or drag 'n drop of 
songs). I have been using svn for one year and never had this exact 
problem. I'm using a P4 with HT enabled an 1.5 GB ram on actual gentoo 
(2.6.18 kernel).
By really slow I mean 100% CPU and no reaction (no graphic update). The 
latest version I tried is r613674.
Any advice?
Thanks,
Julien

Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use 
amarokapp.
amarok: BEGIN: App::App()
amarok: BEGIN: void App::fixHyperThreading()
amarok:     SMP system detected. Enabling WORKAROUND.
amarok: END__: void App::fixHyperThreading() - Took 0.00054s
amarok: END__: App::App() - Took 0.0044s
amarok: BEGIN: void App::continueInit()
amarok: BEGIN: EngineBase* EngineController::loadEngine(const QString&)
amarok:     [PluginManager] Plugin trader constraint: 
[X-KDE-Amarok-framework-version] == 28 and [X-KDE-Amarok-plugintype] == 
'engine' and [X-KDE-Amarok-name] != 'void-engine' and 
[X-KDE-Amarok-rank] > 0
amarok:     [PluginManager] Plugin trader constraint: 
[X-KDE-Amarok-framework-version] == 28 and [X-KDE-Amarok-plugintype] == 
'engine' and [X-KDE-Amarok-name] == 'void-engine' and 
[X-KDE-Amarok-rank] > 0
amarok:     [PluginManager] Trying to load: libamarok_void-engine_plugin
amarok:
amarok:     PluginManager Service Info:
amarok:     ---------------------------
amarok:     name                          : Keine Audio-Ausgabe
amarok:     library                       : libamarok_void-engine_plugin
amarok:     desktopEntryPath              : 
amarok_void-engine_plugin.desktop
amarok:     X-KDE-Amarok-plugintype       : engine
amarok:     X-KDE-Amarok-name             : void-engine
amarok:     X-KDE-Amarok-authors          : (Max Howell,Mark Kretschmann)
amarok:     X-KDE-Amarok-rank             : 1
amarok:     X-KDE-Amarok-version          : 1
amarok:     X-KDE-Amarok-framework-version: 28
amarok:
amarok: END__: EngineBase* EngineController::loadEngine(const QString&) 
- Took 0.0088s
amarok: BEGIN: CollectionDB::CollectionDB()
amarok: BEGIN: void CollectionDB::initialize()
amarok:       [ThreadWeaver] Creating pthread key, exit value is 0
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - 
Took 0.0011s
amarok: END__: void CollectionDB::initialize() - Took 0.31s
amarok: END__: CollectionDB::CollectionDB() - Took 0.78s
amarok: BEGIN: void CollectionDB::checkDatabase()
amarok: END__: void CollectionDB::checkDatabase() - Took 0.32s
amarok: BEGIN: MediaDeviceManager::MediaDeviceManager()
amarok: BEGIN: DeviceManager::DeviceManager()
amarok: BEGIN: Medium* DeviceManager::getDevice(QString)
amarok:         DeviceManager: getDevice called with name argument = init
amarok: BEGIN: QStringList DeviceManager::getDeviceStringList()
amarok: END__: QStringList DeviceManager::getDeviceStringList() - Took 
0.00057s
amarok: END__: Medium* DeviceManager::getDevice(QString) - Took 0.00086s
amarok:       DeviceManager:  connectDCOPSignal returned successfully!
amarok: END__: DeviceManager::DeviceManager() - Took 0.0019s
amarok: BEGIN: QStringList DeviceManager::getDeviceStringList()
amarok: END__: QStringList DeviceManager::getDeviceStringList() - Took 
0.00036s
amarok: BEGIN: void MediaDeviceManager::slotMediumAdded(const Medium*, 
QString)
amarok: END__: void MediaDeviceManager::slotMediumAdded(const Medium*, 
QString) - Took 5.9e-05s
amarok: BEGIN: void MediaDeviceManager::slotMediumAdded(const Medium*, 
QString)
amarok: END__: void MediaDeviceManager::slotMediumAdded(const Medium*, 
QString) - Took 3.3e-05s
amarok: BEGIN: void MediaDeviceManager::slotMediumAdded(const Medium*, 
QString)
amarok: END__: void MediaDeviceManager::slotMediumAdded(const Medium*, 
QString) - Took 3.1e-05s
amarok: END__: MediaDeviceManager::MediaDeviceManager() - Took 0.003s
amarok: BEGIN: void PlaylistWindow::init()
QLayout "unnamed" added to QVBox "unnamed", which already has a layout
amarok: BEGIN: void MountPointManager::init()
amarok:       [PluginManager] Plugin trader constraint: 
[X-KDE-Amarok-framework-version] == 28 and [X-KDE-Amarok-plugintype] == 
'device' and [X-KDE-Amarok-rank] > 0
amarok:       [MountPointManager] Received [3] device plugin offers
amarok:       [PluginManager] Trying to load: libamarok_smb-device
amarok:
amarok:       PluginManager Service Info:
amarok:       ---------------------------
amarok:       name                          : SMB-Gerät
amarok:       library                       : libamarok_smb-device
amarok:       desktopEntryPath              : amarok_smb-device.desktop
amarok:       X-KDE-Amarok-plugintype       : device
amarok:       X-KDE-Amarok-name             : smb-device
amarok:       X-KDE-Amarok-authors          : (Maximilian Kossick)
amarok:       X-KDE-Amarok-rank             : 100
amarok:       X-KDE-Amarok-version          : 1
amarok:       X-KDE-Amarok-framework-version: 28
amarok:
amarok:       [PluginManager] Trying to load: libamarok_massstorage-device
amarok:
amarok:       PluginManager Service Info:
amarok:       ---------------------------
amarok:       name                          : Wechsellaufwerk
amarok:       library                       : libamarok_massstorage-device
amarok:       desktopEntryPath              : 
amarok_massstorage-device.desktop
amarok:       X-KDE-Amarok-plugintype       : device
amarok:       X-KDE-Amarok-name             : massstorage-device
amarok:       X-KDE-Amarok-authors          : (Maximilian Kossick)
amarok:       X-KDE-Amarok-rank             : 100
amarok:       X-KDE-Amarok-version          : 1
amarok:       X-KDE-Amarok-framework-version: 28
amarok:
amarok:       [PluginManager] Trying to load: libamarok_nfs-device
amarok:
amarok:       PluginManager Service Info:
amarok:       ---------------------------
amarok:       name                          : NFS-Gerät
amarok:       library                       : libamarok_nfs-device
amarok:       desktopEntryPath              : amarok_nfs-device.desktop
amarok:       X-KDE-Amarok-plugintype       : device
amarok:       X-KDE-Amarok-name             : nfs-device
amarok:       X-KDE-Amarok-authors          : (Maximilian Kossick)
amarok:       X-KDE-Amarok-rank             : 100
amarok:       X-KDE-Amarok-version          : 1
amarok:       X-KDE-Amarok-framework-version: 28
amarok:
amarok: BEGIN: QStringList DeviceManager::getDeviceStringList()
amarok: END__: QStringList DeviceManager::getDeviceStringList() - Took 
0.00072s
amarok: BEGIN: void MountPointManager::mediumChanged(const Medium*)
amarok:         [MountPointManager] found handler for 
/org/freedesktop/Hal/devices/volume_uuid_6c38157f_c283_4611_9731_928c9f7eda33
amarok:         [MassStorageDeviceHandler] Found existing UUID config 
for ID 1 , uuid 
/org/freedesktop/Hal/devices/volume_uuid_6c38157f_c283_4611_9731_928c9f7eda33
amarok:         [MountPointManager] added device 1 with mount point /
amarok: END__: void MountPointManager::mediumChanged(const Medium*) - 
Took 0.058s
amarok: BEGIN: void MountPointManager::mediumChanged(const Medium*)
amarok:         [MountPointManager] found handler for 
/org/kde/mediamanager/fstab/hulud:mnt120gigmntmusik
amarok:         Found existing NFS config for ID 2 , server hulud ,share 
/mnt/120gig
amarok:         [MountPointManager] added device 2 with mount point 
/mnt/musik
amarok: END__: void MountPointManager::mediumChanged(const Medium*) - 
Took 0.064s
amarok: BEGIN: void MountPointManager::mediumChanged(const Medium*)
amarok:         [MountPointManager] found handler for 
/org/kde/mediamanager/fstab/hulud:mnt120gig2mntfilme
amarok:         Found existing NFS config for ID 3 , server hulud ,share 
/mnt/120gig2
amarok:         [MountPointManager] added device 3 with mount point 
/mnt/filme
amarok: END__: void MountPointManager::mediumChanged(const Medium*) - 
Took 0.044s
amarok: END__: void MountPointManager::init() - Took 0.18s
amarok:     [Moodbar] Resetting moodbar:
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout 
for PlaylistWindow/PlaylistWindow
amarok: BEGIN: Creating browsers. Please report long start times!
amarok: BEGIN: ContextBrowser
amarok: BEGIN: virtual void ThreadWeaver::Thread::run()
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - 
Took 0.00038s
amarok: END__: ContextBrowser - Took 0.4s
amarok: BEGIN: CollectionBrowser
amarok:           [CollectionView::CollectionView(CollectionBrowser*)]
amarok: END__: CollectionBrowser - Took 0.099s
amarok: BEGIN: PlaylistBrowser
amarok: BEGIN: PlaylistCategory* PlaylistBrowser::loadPodcasts()
amarok: BEGIN: void 
PlaylistBrowser::loadPodcastsFromDatabase(PlaylistCategory*)
amarok: BEGIN: QMap<int, PlaylistCategory*> 
PlaylistBrowser::loadPodcastFolders(PlaylistCategory*)
amarok: END__: QMap<int, PlaylistCategory*> 
PlaylistBrowser::loadPodcastFolders(PlaylistCategory*) - Took 0.21s
amarok: END__: void 
PlaylistBrowser::loadPodcastsFromDatabase(PlaylistCategory*) - Took 0.21s
amarok: END__: PlaylistCategory* PlaylistBrowser::loadPodcasts() - Took 
0.23s
amarok: END__: PlaylistBrowser - Took 0.31s
amarok: BEGIN: FileBrowser
amarok: END__: FileBrowser - Took 0.17s
amarok: BEGIN: MagnatuneBrowser
amarok: BEGIN: MagnatuneBrowser::MagnatuneBrowser(const char*)
amarok:             Magnatune browser starting...
amarok: END__: MagnatuneBrowser::MagnatuneBrowser(const char*) - Took 0.043s
amarok: END__: MagnatuneBrowser - Took 0.069s
amarok:         [PluginManager] Plugin trader constraint: 
[X-KDE-Amarok-framework-version] == 28 and [X-KDE-Amarok-plugintype] == 
'mediadevice' and [X-KDE-Amarok-rank] > 0
amarok: BEGIN: MediaBrowser
amarok: END__: MediaBrowser - Took 0.042s
amarok: END__: Creating browsers. Please report long start times! - Took 
1.4s
amarok: END__: void PlaylistWindow::init() - Took 2s
amarok: BEGIN: UrlLoader
amarok:       [KDE::ProgressBar::ProgressBar(QWidget*, QLabel*)]
amarok:       | Stamp: 1
amarok: BEGIN: void App::applySettings(bool)
amarok:         [Moodbar] Resetting moodbar:
amarok: BEGIN: virtual void ThreadWeaver::Thread::run()
amarok: BEGIN: virtual void 
PlayerWidget::engineStateChanged(Engine::State, Engine::State)
amarok:             [Moodbar] Resetting moodbar:
amarok: END__: virtual void 
PlayerWidget::engineStateChanged(Engine::State, Engine::State) - Took 
0.0017s
amarok:           [Scrobbler] Performing immediate handshake
amarok:           [Scrobbler] Handshake url: 
http://post.audioscrobbler.com/?hs=true&p=1.1&c=ark&v=1.4&u=Highelf
amarok:           [virtual void BrowserBar::polish()]
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - 
Took 0.0004s
amarok: BEGIN: virtual void ThreadWeaver::Thread::run()
amarok: BEGIN: virtual bool UrlUpdateJob::doJob()
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - 
Took 0.00094s
amarok: BEGIN: EngineBase* EngineController::loadEngine()
amarok: BEGIN: EngineBase* EngineController::loadEngine(const QString&)
amarok:                   [PluginManager] Plugin trader constraint: 
[X-KDE-Amarok-framework-version] == 28 and [X-KDE-Amarok-plugintype] == 
'engine' and [X-KDE-Amarok-name] != 'xine-engine' and 
[X-KDE-Amarok-rank] > 0
amarok:                   [PluginManager] Plugin trader constraint: 
[X-KDE-Amarok-framework-version] == 28 and [X-KDE-Amarok-plugintype] == 
'engine' and [X-KDE-Amarok-name] == 'xine-engine' and 
[X-KDE-Amarok-rank] > 0
amarok:                   [PluginManager] Trying to load: 
libamarok_xine-engine
amarok:                   [xine-engine] hello
amarok:
amarok:                   PluginManager Service Info:
amarok:                   ---------------------------
amarok:                   name                          : xine
amarok:                   library                       : 
libamarok_xine-engine
amarok:                   desktopEntryPath              : 
amarok_xine-engine.desktop
amarok:                   X-KDE-Amarok-plugintype       : engine
amarok:                   X-KDE-Amarok-name             : xine-engine
amarok:                   X-KDE-Amarok-authors          : (Max Howell)
amarok:                   X-KDE-Amarok-rank             : 255
amarok:                   X-KDE-Amarok-version          : 1
amarok:                   X-KDE-Amarok-framework-version: 28
amarok:
amarok: BEGIN: virtual bool XineEngine::init()
amarok:                     [xine-engine] 'Bringing joy to small mexican 
gerbils, a few weeks at a time.'
amarok:                     [xine-engine] 
w00t/home/highelf/.kde/share/apps/amarok/xine-config
amarok:                     [xine-engine] gapless playback enabled.
amarok: END__: virtual bool XineEngine::init() - Took 2.1s
amarok: END__: EngineBase* EngineController::loadEngine(const QString&) 
- Took 2.1s
amarok: END__: EngineBase* EngineController::loadEngine() - Took 2.1s
Amarok: [Loader] Amarok is taking a long time to load! Perhaps something 
has gone wrong?
amarok:               [MountPointManager] Trying to update 180 
statistics rows
amarok:               [MountPointManager] Trying to update 0 tags_labels 
rows
amarok: END__: virtual bool UrlUpdateJob::doJob() - Took 2.7e+02s
amarok: END__: virtual void ThreadWeaver::Thread::run() - Took 2.7e+02s
amarok: END__: void App::applySettings(bool) - Took 2.8e+02s
amarok:         | Stamp: 2
amarok: BEGIN: ScriptManager::ScriptManager(QWidget*, const char*)
amarok: END__: ScriptManager::ScriptManager(QWidget*, const char*) - 
Took 0.0027s
amarok:         | Stamp: 3
amarok:         [Moodbar] Resetting moodbar:
highelf at atreide ~/amarok-svn $ amarok: BEGIN: 
ScanController::ScanController(CollectionDB*, bool, const QStringList&)
amarok: BEGIN: void ScanController::initIncremental()
amarok:             [ThreadWeaver] Job completed: UrlUpdateJob. Jobs 
pending: 0
amarok:             [ScriptManager] Loaded: addcoverdirs.sh
amarok:             [ScriptManager] Loaded: copycover-offline.py
amarok:             [ScriptManager] Loaded: copycover.py
amarok:             [ScriptManager] Loaded: transfer_to_media_device.sh
amarok:             [ScriptManager] Loaded: transcode
amarok:             [ScriptManager] Loaded: amarok_replaygain.py
amarok:             [ScriptManager] Loaded: silence-48.mp3
amarok:             [ScriptManager] Loaded: Shouter.py
amarok:             [ScriptManager] Loaded: transKode
amarok:             [ScriptManager] Loaded: Lyrc
amarok:             [ScriptManager] Loaded: playlist2html.py
amarok:             [ScriptManager] Loaded: PlaylistServer.py
amarok:             [ScriptManager] Loaded: Web Control
amarok:             [ScriptManager] Loaded: Default
amarok:             [ScriptManager] Loaded: Impulsive
amarok:             [ScriptManager] Loaded: transKode
amarok:             [ScriptManager] Auto-running script: Default
amarok:             [ScriptManager] Running script: 
/usr/kde/3.5/share/apps/amarok/scripts/score_default/score_default.rb
amarok:             [ScriptManager] Auto-running script: Lyrc
amarok:             [ScriptManager] Running script: 
/usr/kde/3.5/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb
amarok:             [ScriptManager] Auto-running script: transKode
amarok:             [ScriptManager] Running script: 
/usr/kde/3.5/share/apps/amarok/scripts/transkode/transkode
amarok: END__: virtual void ThreadWeaver::Thread::run() - Took 2.9e+02s
amarok: BEGIN: virtual void UrlLoader::completeJob()
amarok: END__: virtual void UrlLoader::completeJob() - Took 0.00018s
amarok:           [ThreadWeaver] Job completed: UrlLoader. Jobs pending: 0
amarok: END__: UrlLoader - Took 2.9e+02s
amarok:         [virtual KDE::ProgressBar::~ProgressBar()]




More information about the Amarok mailing list