Bug 163604 - Dolphin fails to start, nepmuk uses 100% CPU
Summary: Dolphin fails to start, nepmuk uses 100% CPU
Status: RESOLVED WORKSFORME
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 14:03 UTC by mps
Modified: 2009-04-28 09:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mps 2008-06-09 14:03:36 UTC
Using trunk, on starting Dolphin, if 'Enable Nepomuk semantic Desktop' is 
enabled in System Settings, it gives launch feedback, then nothing.
 Nepomukservices shows 100% CPU use. Sometimes dolphin will appear 30-40 
minutes later.... DIsabling Nepomuk allows dolphin to start.

I guess this is really a Nepomuk bug, but I think it is also a Dolphin bug, as 
Dolphin ought to behave gracefully if there is a problem with nepomuk - ie 
start, but with a message saying 'nepomuk services disabled' or something.

This is the konsole output when starting dolphin with nepomuk enabled:

[kde-devel@localhost kde]$ dolphin &
[1] 13300                       
[kde-devel@moabi kde]$ dolphin(13301)/kdecore (KConfigSkeleton) 
KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 
0x83a6668 )                                                                     
                           
dolphin(13301)/kdecore (KConfigSkeleton) 
KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 
0x843f9e8 )                                                                     
                                                  
dolphin(13301)/kdecore (KConfigSkeleton) 
KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 
0x8481b20 )                                                                     
                                                  
dolphin(13301)/kdecore (KConfigSkeleton) 
KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 
0x846f1e0 )                                                                     
                                                  
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: Available 
methods:  ("Stat", "FAM", "INotify")
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File 
"/home/kde-devel/.local/share//user-places.xbel" NotExisting for "" 
["KDirWatch-1"]
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use 
inotify for monitoring
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir 
"/home/kde-devel/.local/share" for 
"/home/kde-devel/.local/share//user-places.xbel" [""]
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use 
inotify for monitoring
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify 
successfully used for monitoring
dolphin(13301)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting 
KDirWatch for  "/home/kde-devel/.local/share//user-places.xbel"
dolphin(13301)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open 
ksycoca from  "/var/tmp/kdecache-kde-devel/ksycoca4"
dolphin(13301)/kio (KDirListerCache) KDirListerCache::listDir: 
KDirLister(0x847bda8) url= KUrl("trash:/") keep= false reload= false
dolphin(13301)/kio (KDirListerCache) KDirListerCache::listDir: Listing 
directory: KUrl("trash:/")
dolphin(13301)/kdecore (KConfigSkeleton) 
KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 
0x83e6368 )
dolphin(13301)/kio (KDirLister) KDirLister::stop:
dolphin(13301)/kdecore (KConfigSkeleton) 
KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 
0x85d90d8 )
dolphin(13301)/kio (KDirLister) KDirLister::stop:
dolphin(13301)/kio (KDirListerCache) KDirListerCache::listDir: 
DolphinDirLister(0x85da6c0) url= KUrl("file:///home/kde-devel") keep= false 
reload= true
dolphin(13301)/kio (KDirListerCache) KDirListerCache::listDir: Reloading 
directory: KUrl("file:///home/kde-devel")
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir 
"/home/kde-devel" for "" ["KDirWatch-2"]
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use 
inotify for monitoring
dolphin(13301)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify 
successfully used for monitoring
QObject::connect: Cannot connect (null)::rowsRemoved(const QModelIndex&, int, 
int) to KFilePlacesView::adaptItemSize()
dolphin(13301)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: 
instance(): ... initialised
dolphin(13301)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: 
readConfig(): local zone= "America/New_York"
dolphin(13301)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: 
readZoneTab( "/usr/share/zoneinfo/zone.tab" )
<unknown program name>(13300)/: Communication problem with  "dolphin" , it 
probably crashed.
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a 
reply. Possible causes include: the remote application did not send a reply, 
the message bus security policy blocked the reply, the reply timeout expired, 
or the network connection was broken." "

This is the output of top:

top - 03:29:28 up 1 day,  5:36,  1 user,  load average: 1.52, 2.55, 2.91
Tasks: 162 total,   3 running, 158 sleeping,   0 stopped,   1 zombie
Cpu(s): 54.5%us,  2.2%sy,  0.0%ni, 43.0%id,  0.0%wa,  0.3%hi,  0.0%si,  0.0%st
Mem:   2073784k total,  2022212k used,    51572k free,    29312k buffers
Swap:  2031608k total,      44k used,  2031564k free,  1103700k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
13210 kde-deve  20   0 43500  13m  11m R  100  0.7   3:34.14 nepomukservices
16697 root      20   0  514m 215m  26m S    4 10.7   8:51.04 X
19229 kde-deve  20   0  123m  21m  16m S    4  1.1   3:00.51 nspluginviewer
16898 kde-deve  20   0 59832  20m  14m S    3  1.0   2:28.37 kwin
16985 kde-deve  20   0 81648  31m  11m S    2  1.6   0:44.10 skype
16936 kde-deve  20   0  131m  33m  18m S    1  1.7   0:31.34 konsole
13598 kde-deve  20   0  2272 1036  780 R    0  0.0   0:00.54 top
16903 kde-deve  20   0  111m  30m  22m S    0  1.5   0:47.20 plasma

Merci et bon courage!
Comment 1 Peter Penz 2008-06-09 15:20:56 UTC
Reassigned to Nepomuk (Dolphin checks if Nepomuk has been turned off, but we cannot do anything if Nepomuk wents crazy ;-)).
Comment 2 Lee Braiden 2008-06-25 03:29:53 UTC
Seeing the same problem here as of today's trunk.
Comment 3 Lee Braiden 2008-06-25 03:31:21 UTC
Oh, but it's not a case of 30-40 minute for me; more like a 30-40 seconds.
Comment 4 Christian Weilbach 2008-07-10 21:21:36 UTC
Hangs my machine, too, svn built 830424 (kdelibs). I haven't waited for dolphin to start, but it takes several minutes at least. Note: I am on NFSv4 here (file locking should work on it compared to NFSv3 actually).
Comment 5 Sebastian Trueg 2008-07-14 09:23:19 UTC
please check if the output of "sopranocmd --help" does contain "sesame2". If not, redland is used and that is way slow. I will disable redland support for 4.2
Comment 6 S. Burmeister 2008-07-14 10:19:30 UTC
No matter how short the blockage would get using sesame2 or whatever, I think that the real bug is that there is blocking at all. The GUI must never be blocked because of whatever is run in the background. Kmail has/had that issue too.
Comment 7 Nicolas L. 2008-08-29 00:17:39 UTC
@Sebastian Trueg: i don't think removing completly redland for 4.2 is a good idea. 
What about distro that doesn't want to provide java by default ?  they won't be able to provide nepomuk at all ?
Comment 8 Sebastian Trueg 2009-01-19 20:41:24 UTC
this should be solved in 4.2 since Peter Penz implemented metadata loading in a separate thread. Can someone confirm, please?
Comment 9 Sebastian Trueg 2009-04-28 09:30:11 UTC
closing as worksforme. there has been no feedback for several months.