Bug 293671 - digiKam freezes on / after Import
Summary: digiKam freezes on / after Import
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-MainView (show other bugs)
Version: 2.5.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 19:52 UTC by buedi
Modified: 2020-08-12 12:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments
digiKam Freeze on Import Debug Log (11.76 KB, text/plain)
2012-02-08 19:52 UTC, buedi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description buedi 2012-02-08 19:52:32 UTC
Created attachment 68635 [details]
digiKam Freeze on Import Debug Log

Version:           2.5.0 (using KDE 4.7.4) 
OS:                MS Windows

When right clicking on an Album and using the Import from remote Computer functionality (ALT-SHIFT-I), either while the import process runs or when it is finished, digiKam freezes for around 10-15 seconds. If I only import 5 pictures or so, it freezes right after the Import. If I import a higher number of pictures, it freezes while the Import runs which made importing of 47 pictures to last for 17 minutes the last time I clocked it.

This is reproducable on my Windows 7 x64 and on my XP SP3 x86 system. It does not happen when I run it in Ubuntu. All is fine there.

When I run an Import and digiKam freezes once or several times, the freezes also happen while I use digiKam normally (tagging, searching...). When I close and open digiKam and start no Import at all it runs pretty stable. I think I had this kind of freezes only once or twice in the last days without running an Import. But with the Import functionality it is reproducable every time.

Reproducible: Always

Steps to Reproduce:
1. Run digiKam under Windows
2. Right click an Album --> Import --> Import from Remote Computer
3. Choose some pictures
4. Start the Import process
5. digiKam will freeze either on the Import (when importing ~5 or less pictures) or while the import runs.

DigiKam will also freeze after the Import has been run and sometimes a kioslave.exe process will crash.

Actual Results:  
digiKam freezes on Import everytime and during normal Usage very seldom (the latter one is not really annoying).

Expected Results:  
Run digiKam without freezes ;-)

It does not make a difference which Windows OS you use (tested with Win7 x64 and XP x86).
It makes no difference if you use the SQLite or MySQL Database.
It makes no difference from where the Pictures are imported (USB, NAS, local HDD).
It makes no difference where digiKam stores the pictures (NAS, local HDD).
Comment 1 Ananta Palani 2013-06-10 12:52:12 UTC
This may have been due to the file monitoring code that we fixed recently. Could you give 3.1.0 a try and let us know if still experience the problem?
   http://download.kde.org/stable/digikam/digiKam-installer-3.1.0-win32.exe
Comment 2 caulier.gilles 2014-09-01 08:17:07 UTC
Buedi,

This file still valid using last digiKAm 4.2.0 ?

Gilles Caulier
Comment 3 buedi 2014-09-01 12:18:01 UTC
Dear Gilles,

I´m  very  sorry, but I switched Windows Versions two times since then
and  I did not use a image Management Software for a long time. Live´s
got pretty busy, so I did not really find time for photography and all
the other things which are connected to it :-(

Thank  you  very  much for your efforts! I´ve read the addition to the
Bug  Report  and  I´m  pretty  confident  that it should be fixed not,
although I cannot test / reproduce it at the moment.


Kind regards!


GC> https://bugs.kde.org/show_bug.cgi?id=293671

GC> Gilles Caulier <caulier.gilles@gmail.com> changed:

GC>            What    |Removed                     |Added
GC> ----------------------------------------------------------------------------
GC>          Resolution|---                         |WAITINGFORINFO
GC>              Status|UNCONFIRMED                 |RESOLVED
GC>                  CC|                            |caulier.gilles@gmail.com

GC> --- Comment #2 from Gilles Caulier <caulier.gilles@gmail.com> ---
GC> Buedi,

GC> This file still valid using last digiKAm 4.2.0 ?

GC> Gilles Caulier
Comment 4 caulier.gilles 2015-06-22 21:54:20 UTC
Git commit ad8538938371ec4152450c661b1857f8441e3af8 by Maik Qualmann.
Committed on 19/06/2015 at 21:01.
Pushed by mqualmann into branch 'master'.

fixes the model initialisation from the icon view and thumb bar of the import
window
Related: bug 349280
FIXED-IN: 4.12.0

M  +3    -1    NEWS
M  +1    -7    utilities/importui/main/importui.cpp
M  +7    -3    utilities/importui/views/importiconview.cpp
M  +0    -2    utilities/importui/views/importiconview.h
M  +11   -20   utilities/importui/views/importstackedview.cpp
M  +0    -1    utilities/importui/views/importstackedview.h
M  +3    -12   utilities/importui/views/importview.cpp
M  +1    -1    utilities/importui/views/importview.h

http://commits.kde.org/digikam/ad8538938371ec4152450c661b1857f8441e3af8