Summary: | digikam hangs on startup "reading database" | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Christof Schulze <christof.schulze> |
Component: | Database-Scan | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 0.9.5 | ||
Target Milestone: | --- | ||
Platform: | FreeBSD Ports | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | 1.0.0 | |
Sentry Crash Report: |
Description
Christof Schulze
2009-05-03 17:46:51 UTC
Problem exist too with digiKam 0.10.0 ? Gilles Caulier Aren't there any debugging infos in the console? For me this strace output isn't very useful, can you take a look if some error messages appear in the console? Andi at the time I cannot test with digikam 0.10 as it does not compile for FreeBSD due to a Makefile shakeup. This is already known to the FreeBSD team I will report back when this issue is resolved. The debug info in the console, are not helpful as they do not contain an error message. Anyways this is what I see: % digikam digikam: Removing Album: /bilder jule/2009_01_30 digikam: ScanLib: Finding non-existent Albums: 6138 ms digikam: ScanLib: Finding items not in database: 13479 ms digikam: ScanLib: Updating items without a date: 20 ms digikam: Removing: blatt0021.jpeg in 373 digikam: Removing: blatt0022.jpeg in 373 digikam: Removing: mandy-konflikt.jpeg in 373 digikam: KDirWatch method = FAM This is the output of top while digikam is running: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1380 erika 1 70 0 166M 43776K CPU1 1 1:30 29.98% kded4 1167 root 1 47 0 363M 314M select 0 0:13 0.98% Xorg 1605 erika 1 4 0 133M 50072K sbwait 1 0:12 0.00% digikam Maybe the state is useful here. Such high usage of kded4 isn't normal. And it points somewhere in kdelibs as source of problem IMO. Was is so high before digiKam was started? it is always that high. On the other hand, the cpu is also clocked down to 300 Mhz so cpu usage may look high here. Running digikam with ktrace works most of the time. Lois is right (his message went to mailing list): ------------------------------------- I had also that issue on 64 bits Mandriva 2008.1 (and also previous mandrivas). I solved it by removing the KDirWatch addDir calls. Of course, directory changes are not seen now by digiKam, but at least, the (great) application starts. The problem seems to be a communication one between the fam/gamin lib and server but I didn't get further. I do a diff at home and send the 'patch' (not really a patch, as it removes something). I had also that issue on 64 bits Mandriva 2008.1 (and also previous mandrivas). I solved it by removing the KDirWatch addDir calls. Of course, directory changes are not seen now by digiKam, but at least, the (great) application starts. The problem seems to be a communication one between the fam/gamin lib and server but I didn't get further. I do a diff at home and send the 'patch' (not really a patch, as it removes something). ------------------------------------- I would not advocate messing with sources, just turn off fam/gam in system settings (depends on your distro). In fact I remember that with KDE3 there were problems with FAM and I disabled it completely by removing guilty package. I finally got digikam 0.10 installed and it does not show this kind of behavior for me. Christof, So, this fiel can be closed ? Gilles Caulier It works for me but I kept it open so that Mikolaj can put his patch here. People still using 0.9 might be able to benefit from it. It was Lois Brarda patch, not mine and and I never got it. But, as I wrote above, this is issue rather on distro level because KDirWatch is usually good service. I would vote for closing this bug, if anyone want to attach patch to this report OK but not include this in proper digiKam sources. |