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

            Bug ID: 408883
           Summary: Crash after opening video in Image Editor - /tmp runs
                    out of space
           Product: digikam
           Version: 6.1.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: ImageEditor
          Assignee: digikam-bugs-n...@kde.org
          Reporter: kde-b...@kristiankoch.com
  Target Milestone: ---

SUMMARY
Every time I open a video in Image Editor, digikam crashes shortly after. /tmp
is flooded with an ImageMagick *.pam file and due to the crash it is not
destroyed. The file is several GB large. This results in crashes of further KDE
programs. I need to manually delete the *.pam file to stop further crashes.

Please note that I'm not sure if this bug is correctly assigned to Image Editor
component or if this is related to another component.

Console output:

digikam.general: Detected change, triggering rescan of "/home/USER/FOLDER/"
digikam.database: Starting scan!
digikam.geoiface: ----
digikam.dimg: "/home/USER/FOLDER/IMAGE-OlympusTG2.JPG"  : JPEG file identified
digikam.metaengine: Exiv2 ( 2 ) :  Directory OlympusCs, entry 0x0101: Strip 0
is outside of the data area; ignored.

digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC
profile.
digikam.geoiface: ----
digikam.dimg: "/home/USER/FOLDER/VIDEO-OlympusTG2.MOV"  : QIMAGE file
identified
digikam.metaengine: Parse metadada with FFMpeg:
"/home/USER/FOLDER/VIDEO-OlympusTG2.MOV"
digikam.metaengine: -- FFMpeg video stream metadata entries :
digikam.metaengine: QMap(("creation_time",
"2019-06-17T16:25:01.000000")("language", "jpn"))
digikam.metaengine: -----------------------------------------
digikam.metaengine: -- FFMpeg audio stream metadata entries :
digikam.metaengine: QMap(("creation_time",
"2019-06-17T16:25:01.000000")("language", "jpn"))
digikam.metaengine: -----------------------------------------
digikam.metaengine: -- FFMpeg root container metadata entries :
digikam.metaengine: QMap(("compatible_brands", "qt  ")("creation_time",
"2019-06-17T16:25:01.000000")("major_brand", "qt  ")("minor_version",
"537986816"))
digikam.metaengine: ------------------------------------------
digikam.dimg.qimage: Can not load " "/home/USER/FOLDER/VIDEO-OlympusTG2.MOV" "
using DImg::QImageLoader!
digikam.dimg.qimage: Error message from loader: "Unsupported image format"
digikam.dimg.qimage: ImageMagick exception [
"/home/USER/FOLDER/VIDEO-OlympusTG2.MOV" ] Magick: delegate failed `'ffmpeg'
-nostdin -v -1 -i '%i' -vframes %S -vcodec pam -an -f rawvideo -y '%u.pam' 2>
'%u'' @ error/delegate.c/InvokeDelegate/1867
digikam.general: Cannot load image for "/home/USER/FOLDER/VIDEO-OlympusTG2.MOV"
digikam.general: d->image is NULL
digikam.general: d->image is NULL
digikam.general: d->image is NULL
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = /usr/bin pid = 10002
KCrash: Arguments: /usr/bin/digikam 
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
pa_write() failed while trying to wake up the mainloop: Ungültiger
Dateideskriptor
pa_write() failed while trying to wake up the mainloop: Ungültiger
Dateideskriptor
pa_write() failed while trying to wake up the mainloop: Ungültiger
Dateideskriptor
Invalid write to eventfd: Ungültiger Dateideskriptor
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.
Abgebrochen (Speicherabzug geschrieben)



STEPS TO REPRODUCE
1. Open several images in Image Editor including video file
2. Skip to video file 
3. digikam crashes
4. /tmp runs out of disk space
5. Further programs crash

OBSERVED RESULT
Crash

EXPECTED RESULT
Open video

SOFTWARE/OS VERSIONS
Application: digikam (6.1.0)
Qt Version: 5.12.4
Frameworks Version: 5.59.0
Operating System: Linux 5.1.11-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

ADDITIONAL INFORMATION
- No backtrace. Presumably because /tmp runs out of space.
- If only the video is selected to be opened Image Editor, the standard video
program starts.
- As workaround I filter out videos before using the Image Editor.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to