Bug 431063 - Hanging Process After Closing Application in MS Windows
Summary: Hanging Process After Closing Application in MS Windows
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (show other bugs)
Version: 7.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-02 13:44 UTC by Ken Lerner
Modified: 2023-11-26 06:03 UTC (History)
3 users (show)

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


Attachments
debugview log (92.62 KB, text/plain)
2021-01-02 13:45 UTC, Ken Lerner
Details
digikamrc file (50.64 KB, text/plain)
2021-01-02 15:16 UTC, Ken Lerner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Lerner 2021-01-02 13:44:54 UTC
SUMMARY
After closing application, digikam process remains running, as visible in windows task manager.  Process constantly uses around 1% of cpu time and will remain running until terminated using task manager.

This is with 7.2.0 beta built on ubuntu.

STEPS TO REPRODUCE
1. Start digikam
2. Move photo from local drive to album on network drive
3. Close digikam and observe the digikam application in task manager.

OBSERVED RESULT
As noted above, digikam process continues to run.

EXPECTED RESULT
Digikam should close completely

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Debug log attached.
Comment 1 Ken Lerner 2021-01-02 13:45:40 UTC
Created attachment 134469 [details]
debugview log
Comment 2 caulier.gilles 2021-01-02 14:10:43 UTC
This is strange, in your C:/Users/kenle/AppData/Local/digikamrc config file, you have plenty of Invalid escape sequence...

Gilles Caulier
Comment 3 Ken Lerner 2021-01-02 15:16:17 UTC
Created attachment 134475 [details]
digikamrc file
Comment 4 Maik Qualmann 2021-01-02 15:55:45 UTC
Gilles, these escape sequences have been around since a KF5 patch and I've been watching it for a while. They are the window positions for Wayland. I will investigate it more closely and then report KF5 as a bug.

Maik
Comment 5 Maik Qualmann 2021-01-02 19:24:15 UTC
Can you reproduce the problem with our Windows bundle?
https://files.kde.org/digikam/

A test here in a Windows 10 VM shows no problems after 10 attempts, digiKam does not remain in the task manager. I tried to keep as many windows open as possible on exiting while running a scan or video, etc.

You create the Windows bundle yourself, did you apply any additional patches?

Maik
Comment 6 Ken Lerner 2021-01-02 21:13:51 UTC
@Maik - Problem occurs with windows bundle downloaded and installed from https://files.kde.org/digikam/

In my environment some photos are stored locally but most are stored on a shared network drive.  The network drive resides on a slow NAS device (connected to router and accessed via WiFi with PC).  

The problem occurs when a photo is transferred from an album on the local drive to an album on the shared drive.  After the photo is transferred, digikam is closed.  In that case, a digikam process remains running and must be terminated using task manager.
Comment 7 Ken Lerner 2021-01-02 22:28:00 UTC
A very short video demonstrating the issue:  https://tinyurl.com/yak53k28
Comment 8 Maik Qualmann 2021-01-03 08:58:20 UTC
Git commit d703b868998f95eba6f2214333db9b9ae3c1889a by Maik Qualmann.
Committed on 03/01/2021 at 08:57.
Pushed by mqualmann into branch 'master'.

delete Tags Manager at end

M  +4    -5    core/app/main/digikamapp.cpp

https://invent.kde.org/graphics/digikam/commit/d703b868998f95eba6f2214333db9b9ae3c1889a
Comment 9 Maik Qualmann 2021-01-03 09:19:53 UTC
Git commit 0fc638101dda2fe9941154b9b371cb2aa2cce9aa by Maik Qualmann.
Committed on 03/01/2021 at 09:18.
Pushed by mqualmann into branch 'master'.

delete faces tag model at end

M  +6    -3    core/app/views/utils/dmodelfactory.cpp

https://invent.kde.org/graphics/digikam/commit/0fc638101dda2fe9941154b9b371cb2aa2cce9aa
Comment 10 caulier.gilles 2021-05-06 15:14:09 UTC
Ken,

Can you reproduce the problem with current digiKam 7.3.0 pre-release installer ?

Gilles Caulier
Comment 11 caulier.gilles 2021-05-06 15:14:21 UTC
Missing link : https://files.kde.org/digikam/
Comment 12 Ken Lerner 2021-05-07 00:53:38 UTC
Yes, the issue still appears.  If there's any information I can gather to help identify the issue please let me know.
Comment 13 caulier.gilles 2021-12-13 10:16:21 UTC
Ken,

Stable digiKam 7.4.0 Windows Installer is published. Please check if problem is
reproducible.

Thanks in advance

Gilles Caulier
Comment 14 ds.bar05 2022-01-02 06:17:09 UTC
Same issue with 7.4.0 (Stable Release) in Windows 11 and Windows 10
Comment 15 caulier.gilles 2022-01-02 06:23:25 UTC
Hi and happy new year.

with next 7.5.0, we update internal KF5 framework from 5.84 to 5.89. Please double check with this version for Windows to see if it can fix the problem.. Installer is here ::

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 16 caulier.gilles 2022-11-24 06:53:52 UTC
Hi all,

What's about the 7.9.0 pre-release installer available here :

https://files.kde.org/digikam/

Problem still reproducible ?

Thanks in advance

Gilles Caulier
Comment 17 caulier.gilles 2023-05-05 04:06:06 UTC
@Ken Lerner 

digiKam 8.0.0 is out. This entry still valid with this release ?

Best regards

Gilles Caulier
Comment 18 caulier.gilles 2023-05-31 02:30:22 UTC
*** This bug has been marked as a duplicate of bug 470391 ***
Comment 19 caulier.gilles 2023-10-23 06:06:26 UTC
@Ken,

The digiKam 8.2.0 pre-release for Windows is available for testing :

https://files.kde.org/digikam/

Problem still reproducible on your computer ?

Thanks in advance

Gilles Caulier
Comment 20 caulier.gilles 2023-11-26 06:03:59 UTC
Fixed with  470391