Bug 439527 - Digikam crash when inventory psd 16 bit file
Summary: Digikam crash when inventory psd 16 bit file
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-QImage (show other bugs)
Version: 7.1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-05 20:25 UTC by kde
Modified: 2022-01-23 14:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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