Bug 351603 - Splash screen hangs and disappears when loading network albums
Summary: Splash screen hangs and disappears when loading network albums
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ProgressManager-Splashscreen (show other bugs)
Version: 4.12.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-22 07:42 UTC by Frédéric
Modified: 2022-02-05 12:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric 2015-08-22 07:42:09 UTC
Dear All,

I'm using a network share (samba) to store all my photos (over 20,000 in 200 directories). 
When I indicate to Digikam the path to this share as one of my album locations, the "findNewItems" process starts.

I can see that digikam is busy with referencing all the new images in its database but it seems to take ages and there is no progress bar. After 15 minutes I give up because I have no indication that this process will end successfully somehow.

If I restart the program from there, the splash screen will just hang and if I click on it, it disappears. The digikam process is still running though but nothing indicates to the user what is the progress on that task.

I think that a good idea would be to show a popup window with the proress of the findNewItems task. If the user interrupts this task by closing the popup window, digikam will restart its database synchronization next time your restart. 

Cheers,

Fred




Reproducible: Always

Steps to Reproduce:
1. Add a network share to the digikam album paths (preferably over 10,000 photos)
2. Restart Digikam
3. Wait and/or click on the splash screen

Actual Results:  
The splash screen disappears. 
The program hangs in this state for more than 30 minutes.

Expected Results:  
Show a progress dialog on the scanning of the network share
Comment 1 caulier.gilles 2015-08-22 07:59:48 UTC
We need a GDB backtrace to investiguate. Please follow instructions here :

https://www.digikam.org/contrib
Comment 2 Frédéric 2015-08-22 08:36:04 UTC
Gilles,

The program doesn't actually crash, it just hangs endlessly. 
My report is more a wishlist to have a progress dialog. 

Fred
Comment 3 caulier.gilles 2015-08-22 08:47:59 UTC
On https://www.digikam.org/contrib, there is a way to get information from the console while hang out problem.

The startup run in separated thread. crash in thread can be a reason of the problem. Running digiKam in GDB will indicate where the crash appears.

Gilles Caulier
Comment 4 caulier.gilles 2016-07-15 12:49:20 UTC
With digiKam 5.0.0, this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier