Bug 411773

Summary: Crash when writing captions on picture
Product: [Applications] digikam Reporter: MarcP <iwannaberich>
Component: Bundle-AppImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, iwannaberich, metzpinguin
Priority: NOR    
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 6.4.0
Sentry Crash Report:
Attachments: Backtrace of the crash
Backtrace of the crash (second attempt)

Description MarcP 2019-09-09 21:44:28 UTC
Created attachment 122570 [details]
Backtrace of the crash

SUMMARY

I had a couple of crashes today when trying to tag a few pictures, so I thought of running digikam in debug mode and capture the error and the backtrace.

The first time, digikam just closed by itself during or immediately after scanning for new pictures. The time I was able to record the log (attached in this report), digikam crashed when the picture scan alreaady finished and I was editing the caption and date of a picture in the Captions panel.

I hope this bug report is useful.

PS: Using digikam-6.3.0-git-20190825T034937-x86-64.appimage in Ubuntu 18.04LTS.
Comment 1 MarcP 2019-09-09 21:53:13 UTC
Ok, I tried to edit the metadata for the exact same file. The crash happened exactly at the same point of the original post:

I selected the image. I went to the Captions panel, and wrote the title, author and description of the picture. Then I clicked on the date (near the bottom) to change it, and at that moment Digikam crashed. All that before actually saving any metadata to the file.

I attached a new console output with the backtrace.
Comment 2 MarcP 2019-09-09 21:53:44 UTC
Created attachment 122571 [details]
Backtrace of the crash (second attempt)
Comment 3 caulier.gilles 2019-09-10 02:18:31 UTC
It crash in Q+Window::Screen() :

(gdb) bt
#0  0x00007fffee8e9440 in QWindow::screen() const ()
   from /tmp/.mount_digikaYI7eWD/usr/lib/libQt5Gui.so.5
#1  0x00007ffff77abec1 in Digikam::DDateEdit::showPopup (this=0x13bbcb0)
    at /b/dktemp/digikam-master/core/app/date/ddateedit.cpp:208

Do you use X11 or Wayland ?
Comment 4 Maik Qualmann 2019-09-10 05:47:01 UTC
Your AppImage is a few hours too old. The bug has been fixed here: Bug 411271

Maik
Comment 5 Maik Qualmann 2019-09-10 05:49:56 UTC

*** This bug has been marked as a duplicate of bug 411271 ***