Bug 402714 - DigiKam crash using "create stacked images" several times on 25 images from the same folder
Summary: DigiKam crash using "create stacked images" several times on 25 images from t...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-ExpoBlending (show other bugs)
Version: 5.9.0
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-30 21:33 UTC by cd.graesser
Modified: 2022-01-13 11:16 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cd.graesser 2018-12-30 21:33:47 UTC
SUMMARY
Digikam crashes completely due to a bug in the digikam interface to the menu/extra/create stacked images GUI.

I am stacking 25 jpeg images with each 16Mpix. 

The tool can not be used several times, because the output file can not be created due to conflict with previous file name. The name is not changed automatically. 

Workaround is to manually change the output filename before closing the GUI


STEPS TO REPRODUCE
0. mark 15 images in one folder
1. menu/extra/create stacked images GUI
2. in the last GUI where the output file is specified: check the box "save under new name" type the filename, used both jpeg and png output.
3. press preview and save, then close
4. all works fine until you use the same procedure again inside the same folder
4.a. crash in the third GUI frame (? when transferring the data into enfuse/enblend) 
5. it can be repaired by using a in a new folder a different set of images. or just a few images. I do not know where the max number of images is that can be stacked. My 8GB RAM is not filled with 25 images.



OBSERVED RESULT
crash of full digikam


EXPECTED RESULT
the filename would just be changed to filename(1) and then filename(2)

WORKARROUND
Change Filename to a new one before closing the save GUI


SOFTWARE/OS VERSIONS
Betriebssystem: Manjaro Linux 
KDE-Plasma-Version: 5.14.4
Qt-Version: 5.11.2
KDE-Frameworks-Version: 5.52.0
Kernel-Version: 4.19.12-2-MANJARO
Art des Betriebssystems: 64-bit
Prozessoren: 4 × Intel® Core™ i5-4210U CPU @ 1.70GHz
Speicher: 7,7 GiB Arbeitsspeicher


ADDITIONAL INFORMATION

Screenshots here:
https://docs.google.com/document/d/12xCExoFFBrp5rcFWkkuX8tvHiKZSIIs8rTjxBL78pDw/edit?usp=sharing
Comment 1 Maik Qualmann 2018-12-31 07:13:07 UTC
The problem can not be reproduced here with digiKam-6.0.0-beta3. The file name is appended with an automatic counter (_v1). Please test it with the AppImage, but make a copy of the database.

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

Maik
Comment 2 caulier.gilles 2018-12-31 11:49:46 UTC
Can you reproduce the dysfunction using the last digiKam 6.0.0-beta3 just
released ?

https://www.digikam.org/news/2018-12-30-6.0.0-beta3_release_announcement/
Comment 3 caulier.gilles 2019-03-07 05:18:34 UTC
Good news,

After 2 weeks of works, the pre-release 6.1.0 bundles are now reconstructed from scratch with:

- All OpenCV options for CUDA, OPenMP, and OPenCL disabled to prevent crashes
in face management.
- A large upgrade of Qt5 from 5.9.7 to 5.11.3.
- An upgrade to KF5 5.55.
- An upgrade to Ffmpeg 3.3.9
- The fontconfig/freetype integration in the bundle to reduce system
dependencies

Files can be downloaded here :

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

Please test and report.

Gilles Caulier
Comment 4 caulier.gilles 2020-07-14 09:41:34 UTC
Hi,

Can you check if this problem still exist with last weekly bundle build of digiKam 7.0.0 available here:

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

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2020-07-30 09:45:07 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2021-03-30 06:53:32 UTC
digiKam 7.2.0 official release is published with more than 360 files closed from bugzilla:

https://www.digikam.org/news/2021-03-22-7.2.0_release_announcement/

Can you reproduce the dysfunction with this version ?

Thanks in advance for your feedback

Gilles Caulier
Comment 7 caulier.gilles 2021-12-15 16:57:41 UTC
Stable digiKam 7.4.0 is published. Please check if problem is reproducible.

https://www.digikam.org/download/

Thanks in advance
Comment 8 caulier.gilles 2022-01-13 11:16:32 UTC
No feedback. not reproducible with 7.5.0. Closed