Bug 464662 - [neon unstable] Gwenview 23.03.70 crashes when browsing a directory with TIFF files
Summary: [neon unstable] Gwenview 23.03.70 crashes when browsing a directory with TIFF...
Status: RESOLVED DUPLICATE of bug 464734
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-01-22 18:36 UTC by Oded Arbel
Modified: 2023-01-28 09:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (92.22 KB, text/plain)
2023-01-22 18:36 UTC, Oded Arbel
Details
An image that causes gwenview thumbnail generator to crash (1.69 MB, image/tiff)
2023-01-22 18:43 UTC, Oded Arbel
Details
New crash information added by DrKonqi (9.21 KB, text/plain)
2023-01-28 01:42 UTC, Florian Loitsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2023-01-22 18:36:40 UTC
Application: gwenview (23.03.70)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 5.19.0-29-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.28.80 [CoredumpBackend]

-- Information about the crash:
When browsing a large image directory, where some images are TIFF files, Gwenview crashes when generating thumbnails.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#8  0x00007efe9ff35127 in qobject_cast<QFileDevice*> (object=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:524
#9  qtiffUnmapProc (fd=<optimized out>, base=0x7efe7005b000) at /workspace/build/src/plugins/imageformats/tiff/qtiffhandler.cpp:121
#10 0x00007efeb62d3948 in TIFFCleanup () from /lib/x86_64-linux-gnu/libtiff.so.5
#11 0x00007efeb62d3a8d in TIFFClose () from /lib/x86_64-linux-gnu/libtiff.so.5
#12 0x00007efe9ff36b2f in QTiffHandlerPrivate::close (this=0x7ebe143b77a0) at /workspace/build/src/plugins/imageformats/tiff/qtiffhandler.cpp:219


The reporter indicates this bug may be a duplicate of or related to bug 212807.

Reported using DrKonqi
Comment 1 Oded Arbel 2023-01-22 18:36:41 UTC
Created attachment 155511 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Oded Arbel 2023-01-22 18:43:34 UTC
Created attachment 155512 [details]
An image that causes gwenview thumbnail generator to crash

I have several TIFF files that causes Gwenview to crash, and several that do not - here's one that causes the crash when it is in the directory when opening it with Gwenview for browsing. Gwenview can display the image directly.

It might be interesting to note that this is a multi-page TIFF files generated by GIMP when saving all the layers. I have other TIFF files with the same format (down to the number and names of layers) that do not cause a crash, so 🤷
Comment 3 Florian Loitsch 2023-01-28 01:42:15 UTC
Created attachment 155715 [details]
New crash information added by DrKonqi

gwenview (22.12.1) using Qt 5.15.8

When opening a folder with 1000+ TIF images (all ~50MB and monochrome) Gwenview crashes.
Note that Dolphin also produces lots of errors (kioslave5 crashed).

-- Backtrace (Reduced):
#8  0x00007f3ca915e508 in qobject_cast<QFileDevice*> (object=<optimized out>) at /usr/include/qt/QtCore/qobject.h:524
#9  qtiffUnmapProc (fd=<optimized out>, base=0x7efc65200000) at /usr/src/debug/qt5-imageformats/qtimageformats/src/plugins/imageformats/tiff/qtiffhandler.cpp:121
#10 0x00007f3cb33bf7e2 in TIFFCleanup (tif=0x7f3c98009490) at /usr/src/debug/libtiff/tiff-4.5.0/libtiff/tif_close.c:72
#11 0x00007f3cb33bf92e in TIFFClose (tif=<optimized out>) at /usr/src/debug/libtiff/tiff-4.5.0/libtiff/tif_close.c:136
#12 0x00007f3ca91616ef in QTiffHandlerPrivate::close (this=0x7f3c98002ad0) at /usr/src/debug/qt5-imageformats/qtimageformats/src/plugins/imageformats/tiff/qtiffhandler.cpp:219
Comment 4 Antonio Rojas 2023-01-28 09:59:08 UTC

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