Bug 456244

Summary: Gwenview crashes on many or large jpg files
Product: [Applications] gwenview Reporter: Gkok <gkokmdam>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: idontfeelcomfygivingyoumyemail, kalyaan1900
Priority: NOR Keywords: drkonqi
Version First Reported In: 19.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gkok 2022-07-02 14:32:07 UTC
Application: gwenview (19.12.3)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.13.0-51-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I opened up a directory of 545 JPG-files of about 14Mb each. They came from a photo-shoot by a profesional photographer.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f74b1053440 (LWP 1727111))]

Thread 5 (Thread 0x7f74a490f700 (LWP 1727135)):
[KCrash Handler]
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262
#7  0x00007f74b641e505 in Exiv2::MemIo::read(unsigned char*, long) () from /lib/x86_64-linux-gnu/libexiv2.so.27
#8  0x00007f74b6462ae2 in Exiv2::JpegBase::readMetadata() () from /lib/x86_64-linux-gnu/libexiv2.so.27
#9  0x00007f74b8970c22 in Gwenview::Exiv2ImageLoader::load(QByteArray const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#10 0x00007f74b8989ba0 in Gwenview::JpegContent::loadFromData(QByteArray const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#11 0x00007f74b8989eaf in Gwenview::JpegContent::load(QString const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#12 0x00007f74b89a1ffd in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#13 0x00007f74b89a27b9 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#14 0x00007f74b6d269d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f74b50c0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x00007f74b69b1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f74acd83700 (LWP 1727115)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d1fa7f19a8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d1fa7f1958, cond=0x55d1fa7f1980) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d1fa7f1980, mutex=0x55d1fa7f1958) at pthread_cond_wait.c:647
#3  0x00007f74a663a5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f74a663a1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f74b50c0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f74b69b1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f74af122700 (LWP 1727113)):
#0  0x00007f74b69a499f in __GI___poll (fds=0x7f74a0011b40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f74b48a636e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f74b48a64a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f74b6f46453 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f74b6eed3ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f74b6d25785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f74b674befa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f74b6d269d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f74b50c0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f74b69b1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f74b01cb700 (LWP 1727112)):
#0  0x00007f74b69a499f in __GI___poll (fds=0x7f74b01ca9e8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f74b4835c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f74b483790a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f74b099c298 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f74b6d269d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f74b50c0609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f74b69b1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f74b1053440 (LWP 1727111)):
#0  0x00007f74b69a499f in __GI___poll (fds=0x55d1fae3e0c0, nfds=2, timeout=883) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f74b48a636e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f74b48a64a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f74b6f46453 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f74b6eed3ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f74b6ef5116 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x000055d1f9ab5aaa in ?? ()
#7  0x00007f74b68b6083 in __libc_start_main (main=0x55d1f9ab5600, argc=2, argv=0x7ffff0c7fcb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff0c7fca8) at ../csu/libc-start.c:308
#8  0x000055d1f9ab604e in _start ()
[Inferior 1 (process 1727111) detached]

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

Possible duplicates by query: bug 450095, bug 446412, bug 444208, bug 439697, bug 438904.

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-09-17 23:31:28 UTC
*** Bug 472364 has been marked as a duplicate of this bug. ***
Comment 2 A Linux User 2025-08-21 20:03:08 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08?
Comment 3 Bug Janitor Service 2025-09-05 03:48:10 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-09-20 03:48:04 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.