Bug 439527

Summary: Digikam crash when inventory psd 16 bit file
Product: [Applications] digikam Reporter: kde
Component: Plugin-DImg-QImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:

Description kde 2021-07-05 20:25:36 UTC
SUMMARY
if a photoshop psd-file is saved into dir under digikam control or a inventory maintainance is done digicam crashed

STEPS TO REPRODUCE
1. start digikam
2. copy 16 bit psd file into picture directory 


OBSERVED RESULT

output on shell:

double free or corruption (out)
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = /usr/bin pid = 114969
KCrash: Arguments: /usr/bin/digikam 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
Invalid write to eventfd: Bad file descriptor
Code should not be reached at pulsecore/fdsem.c:199, function pa_fdsem_post(). Aborting.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Aborted (core dumped)


EXPECTED RESULT
preview in of psd-file in digikam 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubunutu 21.04
(available in About System)
KDE Plasma Version: 5.80.0
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
psd-file in 8bit version is fine.
only 16bit cause crash
Comment 1 Maik Qualmann 2021-07-05 20:27:21 UTC
Fixed in current digiKam versions. 

Maik
Comment 2 Maik Qualmann 2021-07-05 20:29:25 UTC

*** This bug has been marked as a duplicate of bug 430427 ***
Comment 3 caulier.gilles 2021-08-24 12:08:36 UTC
Fixed with #430427