Bug 429212

Summary: Gwenview crash on ~10 MiB file open.
Product: [Applications] gwenview Reporter: Zsolt Beringer <okboomer>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Zsolt Beringer 2020-11-16 18:53:21 UTC
Application: gwenview (19.12.3)

Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-54-generic x86_64
Windowing system: X11
Distribution: Ubuntu 20.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Tried to open a ~ 10 MiB jpeg file.
(babfa5d9d906f836897f3150998af92ad6c3a5e64d647b9001760c17bdc1cd6c)
- Custom settings of the application:
None.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f59c439ef80 (LWP 4238))]

Thread 7 (Thread 0x7f59ab96b700 (LWP 4245)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a822a625e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a822a62598, cond=0x55a822a625c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a822a625c0, mutex=0x55a822a62598) at pthread_cond_wait.c:638
#3  0x00007f59ba30462b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f59ba30423b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f59c83f7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f59c9ce8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f59b8c08700 (LWP 4244)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a822a625e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a822a62598, cond=0x55a822a625c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a822a625c0, mutex=0x55a822a62598) at pthread_cond_wait.c:638
#3  0x00007f59ba30462b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f59ba30423b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f59c83f7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f59c9ce8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f59b9409700 (LWP 4243)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a822a625e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a822a62598, cond=0x55a822a625c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a822a625c0, mutex=0x55a822a62598) at pthread_cond_wait.c:638
#3  0x00007f59ba30462b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f59ba30423b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f59c83f7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f59c9ce8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f59b9c0a700 (LWP 4242)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55a822a625e8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a822a62598, cond=0x55a822a625c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55a822a625c0, mutex=0x55a822a62598) at pthread_cond_wait.c:638
#3  0x00007f59ba30462b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f59ba30423b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f59c83f7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f59c9ce8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f59c213c700 (LWP 4240)):
#0  __GI___libc_read (nbytes=16, buf=0x7f59c213b8a0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7f59c213b8a0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f59c7c2489f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f59c7bdbcfe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f59c7bdc152 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f59c7bdc2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f59ca279583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f59ca2204db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f59ca058785 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f59c9a7fefa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007f59ca0599d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f59c83f7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f59c9ce8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f59c3249700 (LWP 4239)):
#0  0x00007f59c9cdbaff in __GI___poll (fds=0x7f59c32489e8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f59c7b6bc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f59c7b6d90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f59c3a26298 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f59ca0599d2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f59c83f7609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f59c9ce8293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f59c439ef80 (LWP 4238)):
[KCrash Handler]
#6  0x00007f59ca17bfe7 in QUrl::operator==(QUrl const&) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f59cbc6319e in Gwenview::ContextManager::setCurrentDirUrl(QUrl const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#8  0x00007f59cbc6329a in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#9  0x00007f59ca24d458 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f59cbc51f49 in Gwenview::DocumentFactory::readyForDirListerStart(QUrl const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#11 0x00007f59ca24d458 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f59cbc51c09 in Gwenview::Document::loaded(QUrl const&) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#13 0x00007f59ca24d458 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f59cbc783e4 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#15 0x00007f59cbc6f15f in Gwenview::Document::switchToImpl(Gwenview::AbstractDocumentImpl*) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#16 0x00007f59cbc78cd9 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#17 0x00007f59ca24d458 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f59ca063f65 in QFutureWatcherBase::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f59cae62a66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f59cae6c0f0 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f59ca22193a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f59ca2245b8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f59ca279f67 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f59c7bdbfbd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f59c7bdc240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f59c7bdc2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f59ca279565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f59ca2204db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f59ca228246 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x000055a820e28aaa in ?? ()
#31 0x00007f59c9bed0b3 in __libc_start_main (main=0x55a820e28600, argc=2, argv=0x7ffcfc67eb48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcfc67eb38) at ../csu/libc-start.c:308
#32 0x000055a820e2904e in _start ()
[Inferior 1 (process 4238) detached]

Possible duplicates by query: bug 423203, bug 420585, bug 419395, bug 419117, bug 418414.

Reported using DrKonqi
Comment 1 Christoph Feck 2020-12-01 13:01:12 UTC

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