Bug 385368 - digiKam causes my machine to blue screen (crash) during installation on Windows 10 while check process in memory
Summary: digiKam causes my machine to blue screen (crash) during installation on Windo...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (show other bugs)
Version: 5.7.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-04 17:09 UTC by Rich
Modified: 2020-08-10 10:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.0


Attachments
Image of the Blue Screen that occurred during installation of digikam. (516.04 KB, image/jpeg)
2017-10-04 17:09 UTC, Rich
Details
Screen at 27% just before it crashed. (390.26 KB, image/png)
2017-10-09 00:54 UTC, Rich
Details
Error message digikam 5.7 during installation process (50.19 KB, image/jpeg)
2017-10-09 05:36 UTC, Michael Preschnofsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rich 2017-10-04 17:09:38 UTC
Created attachment 108165 [details]
Image of the Blue Screen that occurred during installation of digikam.

DigiKam causes my machine to blue screen (crash) during installation on Windows 10.
Comment 1 caulier.gilles 2017-10-07 05:04:14 UTC
The problem is due to use NSIS 2.5 to build windows installer which do not support Windows 10. An update to NSIS 3.x is required to fix the problem.

Gilles Caulier
Comment 2 caulier.gilles 2017-10-07 16:27:06 UTC
The Windows 10 blue screen is not reproducible.

Look also this report :

https://bugs.kde.org/show_bug.cgi?id=385467

The DK user has installed the 5.7.0 under Windows 10 without any problem. 

Even if NSIS installer must be updated to last 3.0 release while bundle compilation, Your problem sound like a specific dysfunction from your computer.
Comment 3 caulier.gilles 2017-10-08 05:03:24 UTC
I currently rebuild the Windows bundles using new NSIS 3.0.1 installer compatible with Windows 10.

Files will be ready to test today evening.

Gilles Caulier
Comment 4 caulier.gilles 2017-10-08 10:57:09 UTC
The 5.8.0 pre-release Windows 64 bits bundle is available in GDrive at this url :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

File is : digiKam-5.8.0-01-Win64.exe

Please test and report.

Gilles Caulier
Comment 5 Rich 2017-10-08 16:54:27 UTC
Thank you for the effort. However this also crashed my laptop.  The Dell laptop is only a few weeks old and does not have much installed on it yet so I'm not sure what is in causing it to crash.  The installer gets to about 25% - 30% and it is at this point that it blue screens the laptop.
Comment 6 caulier.gilles 2017-10-08 18:11:34 UTC
What's the last lessage show by the installer at 25%-30%. It has already started to copy files to the hard drive ?

Gilles Caulier
Comment 7 Rich 2017-10-09 00:54:20 UTC
Created attachment 108232 [details]
Screen at 27% just before it crashed.
Comment 8 Rich 2017-10-09 00:56:24 UTC
I watched a little closer as it was about to crash and even got a pic a split second before the crash, added the pic as an attachment.

It was at 27% and was searching for applications that it would be in conflict with.
Comment 9 Michael Preschnofsky 2017-10-09 05:36:38 UTC
Created attachment 108236 [details]
Error message digikam 5.7 during installation process
Comment 10 Michael Preschnofsky 2017-10-09 05:39:01 UTC
Comment on attachment 108236 [details]
Error message digikam 5.7 during installation process

Dear All,
I have a similar problem, however my PC is 5 years old and the installation does not cause a blue screen but stops the installation process.
Kind regards, Michael
Comment 11 caulier.gilles 2017-10-09 07:13:34 UTC
YEs, i see. This due to the NSIS component (dll) dedicated to check if program to install is not yet running in memory. I will check to find another way to process this check and generate a new beta installer.
Comment 12 caulier.gilles 2017-10-09 15:23:29 UTC
Git commit 44b89f3e0acab31d49e84b9bc7b56659c79fc0b6 by Gilles Caulier.
Committed on 09/10/2017 at 15:23.
Pushed by cgilles into branch 'master'.

remove older lockedlist NSIS plugin which crash under Windows 10 and use new functions taken from FilleZilla NSIS installer instead

M  +0    -1    project/bundles/mxe/installer/README
M  +54   -59   project/bundles/mxe/installer/digikam.nsi
D  +-    --    project/bundles/mxe/installer/plugins/LockedList.dll
A  +248  -0    project/bundles/mxe/installer/process_running.nsh

https://commits.kde.org/digikam-software-compilation/44b89f3e0acab31d49e84b9bc7b56659c79fc0b6
Comment 13 caulier.gilles 2017-10-09 18:15:18 UTC
Michael,

I rebuild the windows installer 5.8.0 pre-release :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

This must fix your problem. Please test and report...

Gilles Caulier
Comment 14 Michael Preschnofsky 2017-10-09 19:58:30 UTC
Dear Gilles,
thank´s a lot. 
The Installation process worked perfect with this build.
Kind regards from Vienna/Austria.
Michael
Comment 15 Rich 2017-10-09 21:43:38 UTC
This latest build installed without any issues what-so-ever.

Thank you very much for you continued effort on this!


Rich
Comment 16 Maik Qualmann 2017-12-31 12:44:16 UTC
*** Bug 388391 has been marked as a duplicate of this bug. ***