Bug 345245 - Digikam hangs on startup
Summary: Digikam hangs on startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 4.5.0
Platform: Microsoft Windows Microsoft Windows
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-17 07:02 UTC by tom plank
Modified: 2017-07-16 04:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments
Debug View Log (4.91 KB, text/plain)
2016-08-13 12:14 UTC, Ingo Dettmar
Details
Digikam.exe in Task Manager (14.30 KB, image/png)
2016-08-13 12:32 UTC, Ingo Dettmar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tom plank 2015-03-17 07:02:30 UTC
I start digikam 4.5 on Windows 7. I get the previews but no action when click any button. After some time it reacts with the windowstitle "keine Rückmeldung" ("no Responding"). 

Reproducible: Always

Steps to Reproduce:
1. Start digikam

Actual Results:  
"keine Rückmeldung" ("no responding")


I deleted digikam4.db and thumbnails-digikam.db. digikam came up and asked for the place to search for the pictures. After some time it opens with the structure of the "picture"-directory.., and hangs again, "no responding".
Comment 1 caulier.gilles 2015-03-25 08:15:07 UTC
What do you seen in debugview.exe ad digiKam runtime trace ?

See this page for more info to hack under windows

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 caulier.gilles 2015-06-29 17:46:54 UTC
New digiKam 4.11.0 is available with official PKG installer for OSX.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 3 caulier.gilles 2015-07-06 07:40:32 UTC
digiKam 4.11.0 Windows installer is available for download :

http://download.kde.org/stable/digikam/digiKam-installer-4.11.0-win32.exe.mirrorlist
Comment 4 caulier.gilles 2015-08-17 11:27:12 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.

Gilles Caulier
Comment 5 caulier.gilles 2016-05-28 18:23:12 UTC
With next digiKam 5.0.0, we will provide a fully cross-compiled version Windows under Linux where a lots of problems have been fixed.

https://www.flickr.com/photos/digikam/27033685570/in/dateposted-public/

The Windows installer is available here to test :

https://drive.google.com/open?id=0B7yq-xFihT0_SzhxVzF1RDhPbFE

Gilles Caulier
Comment 6 Ingo Dettmar 2016-08-13 05:01:48 UTC
I have the same issue in 5.0.0. and 5.1.0 on Windows 10. After a while of normal use, Digikam will not start anymore. After removal and reinstallation it will work again.
Comment 7 caulier.gilles 2016-08-13 06:04:45 UTC
And what do you seen with debugview program as trace while startup when problem appears ?

When you said after a moment of normal use, how many items do you add in collections ? Which kind of image types ? Any video files ?

Giles Caulier
Comment 8 Ingo Dettmar 2016-08-13 12:14:28 UTC
Created attachment 100583 [details]
Debug View Log
Comment 9 caulier.gilles 2016-08-13 12:16:17 UTC
onecore\ds\security\umstartup\usermgr\cli\usermgrcli.cxx(165)\usermgrcli.dll!00007FF9972E11F6: (caller: 00007FF98AC63CE3) ReturnHr(3112) tid(44ac) 80070005 Access is denied. 	
00000030	6.38192558	[3744] onecoreuap\base\appmodel\execmodel\modern\lifetimemanager\appxexecutionutil.cpp(41)\modernexecserver.dll!00007FF98AC63DC4: (caller: 00007FF98AC3C635) ReturnHr(3251) tid(44ac) 80070005 Access is denied. 

==> sound like Anti-Virus stuff...

Gilles Caulier
Comment 10 Ingo Dettmar 2016-08-13 12:21:46 UTC
I have around 30,000 items on a SMB share, mostly JPEGs and a few AVI and MP4 videos.
Thanks for the hint with the anti-virus, I will check that out.
Comment 11 caulier.gilles 2016-08-13 12:25:03 UTC
The video files can be also the problem, especially with Exiv2 shared lib, but i don't see any trace of Exiv2 dysfunction with a video file.
Comment 12 Ingo Dettmar 2016-08-13 12:31:07 UTC
I have now shut down the AV and started Digikam as administrator to avoid and issues with access rights, but it's still the same: the process just hangs there in the task manager, no GUI displayed.
Comment 13 Ingo Dettmar 2016-08-13 12:32:07 UTC
Created attachment 100585 [details]
Digikam.exe in Task Manager
Comment 14 caulier.gilles 2016-08-13 14:09:34 UTC
Very strange. There is no digiKam error in fact. It just locked by something. I suspect seriously an external application which do the job...
Comment 15 caulier.gilles 2016-08-13 14:12:33 UTC
Hum google help a little :

Look the trace on this file : https://bugs.kde.org/show_bug.cgi?id=364035

It's very similar...
Comment 16 Ingo Dettmar 2016-08-15 01:50:07 UTC
I don't think this is very similar: in my case the application just hangs, it does not crash or produce any error messages. Also the debug log doesn't show any errors.
I have googled and came up empty-handed, really. That's why I chose to reply to this post.