Bug 416794 - Gwenview crashes when working with multiple images selected
Summary: Gwenview crashes when working with multiple images selected
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 19.12.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-01-26 16:22 UTC by Vincent LaConte
Modified: 2021-03-06 03:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.15 KB, text/plain)
2021-02-09 17:09 UTC, Vincent LaConte
Details
New crash information added by DrKonqi (4.27 KB, text/plain)
2021-03-03 03:57 UTC, Vincent LaConte
Details
New crash information added by DrKonqi (3.95 KB, text/plain)
2021-03-06 03:52 UTC, Vincent LaConte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent LaConte 2020-01-26 16:22:29 UTC
Application: gwenview (19.12.1)

Qt Version: 5.12.4
Frameworks Version: 5.66.0
Operating System: Linux 5.4.10-rt5-xanmod x86_64
Distribution: Ubuntu 19.10

-- Information about the crash:
- What I was doing when the application crashed:
Viewing usually four to six photos at once using the View module (NOT full screen, not Browse); selecting some and deselecting others, moving some to the Trash. Eventually Gwenview always crashes during this activity, often within < 5 minutes.

- Custom settings of the application:
1) sometimes but not always I boot the Xanmod-rt (realtime) custom Kernel ,the latest version. Otherwise I use the latest stable release version currently 5.3 (ubuntu) or 5.4 (manjaro)
2) as hinted above, i use Ubuntu mainly, but also sometimes boot from another HDD partition containing Manjaro 18.1.5. I log in with the same home/user to both installations, which is nearly seamless while both are using KDE 5. The Gwenview crashes first started when booted into Manjaro. However, it is happening as much or more now back in Ubuntu.

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 0x7fb020a58ac0 (LWP 18174))]

Thread 4 (Thread 0x7fb016928700 (LWP 18224)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f195103938) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f1951038e8, cond=0x55f195103910) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f195103910, mutex=0x55f1951038e8) at pthread_cond_wait.c:638
#3  0x00007fb016e0eabb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fb016e0e6db in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fb024b3a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fb026395323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb01d0c8700 (LWP 18203)):
#0  0x00007fb026388c2f in __GI___poll (fds=0x7fb010011520, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb024363a3e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb024363b73 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb0269316c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fb0268d863b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb026711a75 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb0260f3efa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fb026712cc2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb024b3a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007fb026395323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb01fbd3700 (LWP 18184)):
#0  0x00007fb026388c2f in __GI___poll (fds=0x7fb01fbd29e8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb0242f4917 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb0242f653a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb0203a4288 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fb026712cc2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb024b3a669 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007fb026395323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb020a58ac0 (LWP 18174)):
[KCrash Handler]
#6  0x00007fb02826bc2b in KActivities::ResourceInstance::setUri(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5Activities.so.5
#7  0x000055f192f3a694 in ?? ()
#8  0x000055f192f58af5 in ?? ()
#9  0x000055f192f58d75 in ?? ()
#10 0x00007fb0269055c8 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fb028316358 in Gwenview::ContextManager::emitQueuedSignals() () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#12 0x00007fb0269055c8 in QMetaObject::activate(QObject*, int, int, void**) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fb02691266b in QTimer::timeout(QTimer::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fb026905e55 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fb027512a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fb02751be00 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fb0268d9a9a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fb026930a00 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fb026931324 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb02436384d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fb024363ad0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb024363b73 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fb0269316a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fb0268d863b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fb0268e03a6 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x000055f192f2daaa in ?? ()
#27 0x00007fb02629a1e3 in __libc_start_main (main=0x55f192f2d600, argc=2, argv=0x7ffca6fc05b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffca6fc05a8) at ../csu/libc-start.c:308
#28 0x000055f192f2e04e in _start ()
[Inferior 1 (process 18174) detached]

Possible duplicates by query: bug 416560, bug 415991, bug 414700, bug 414577, bug 413508.

Reported using DrKonqi
Comment 1 Vincent LaConte 2021-02-09 17:09:33 UTC
Created attachment 135536 [details]
New crash information added by DrKonqi

gwenview (20.08.2) using Qt 5.14.2

This is an update to bug #416794 which I reported under 19.10. It's still an issue under 20.10, although possibly a bit less frequent. 

Notes -- Although I've stuck with the mainline (HWE) kernel, my DE has become a kludgy mongrel of KDE-Plasma and PopOS-Gnome, with Qt libraries unevenly installed. While I still wouldn't be surprised if this bug is a result of that, it has been consistent through multiple distro upgrades and desktop constellations for ~18 months.

-- Backtrace (Reduced):
#4  0x00007efd3e778af4 in KActivities::ResourceInstance::setUri(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5Activities.so.5
#5  0x000055c568170eed in Gwenview::ViewMainPage::openUrls (this=<optimized out>, allUrls=..., currentUrl=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:156
#6  0x000055c56818b95a in Gwenview::MainWindow::openSelectedDocuments (this=0x55c568b29430) at ./app/mainwindow.cpp:1081
#7  0x000055c56818bc75 in Gwenview::MainWindow::slotSelectionChanged (this=0x55c568b29430) at ./app/mainwindow.cpp:1229
#8  0x00007efd3ce4a2e6 in QtPrivate::QSlotObjectBase::call (a=0x7ffd3c709a90, r=0x55c568b29430, this=0x55c568b76fe0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
Comment 2 Vincent LaConte 2021-03-03 03:57:25 UTC
Created attachment 136332 [details]
New crash information added by DrKonqi

gwenview (20.08.2) using Qt 5.14.2

- Followup to my own original bug report. I can't claim to decipher the backtrace , but I can see it's been trimmed to a single thread this time – not by me.

This is while running the System76 OEM custom kernel (5.8.0), which despite wanting Gnome not KDE, lately has been more stable WRT drivers than the generic distro release of the past few. In which HD Audio, BT and wifi drivers,  on top of the expected nVidia problems, all are subject to intermittent failure to load after kernel updates.

-- Backtrace (Reduced):
#4  0x00007f2de1cf0af4 in KActivities::ResourceInstance::setUri(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5Activities.so.5
#5  0x000055681e325eed in Gwenview::ViewMainPage::openUrls (this=<optimized out>, allUrls=..., currentUrl=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:156
#6  0x000055681e34095a in Gwenview::MainWindow::openSelectedDocuments (this=0x5568200fbf70) at ./app/mainwindow.cpp:1081
#7  0x000055681e340c75 in Gwenview::MainWindow::slotSelectionChanged (this=0x5568200fbf70) at ./app/mainwindow.cpp:1229
#8  0x00007f2de03c02e6 in QtPrivate::QSlotObjectBase::call (a=0x7ffcc323b820, r=0x5568200fbf70, this=0x5568200771f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
Comment 3 Vincent LaConte 2021-03-06 03:52:02 UTC
Created attachment 136426 [details]
New crash information added by DrKonqi

gwenview (20.08.2) using Qt 5.14.2

- What I was doing when the application crashed:

Same behavior as  before, slightly different system and backtrace, (if these additional crashes are helpful someone let me know otherwise I'll just be quiet now.

-- Backtrace (Reduced):
#4  0x00007f91837c4af4 in KActivities::ResourceInstance::setUri(QUrl const&) () from /lib/x86_64-linux-gnu/libKF5Activities.so.5
#5  0x0000563a8dedbeed in Gwenview::ViewMainPage::openUrls (this=<optimized out>, allUrls=..., currentUrl=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:156
#6  0x0000563a8def695a in Gwenview::MainWindow::openSelectedDocuments (this=0x563a8f8e1020) at ./app/mainwindow.cpp:1081
#7  0x0000563a8def6c75 in Gwenview::MainWindow::slotSelectionChanged (this=0x563a8f8e1020) at ./app/mainwindow.cpp:1229
#8  0x00007f9181e942e6 in QtPrivate::QSlotObjectBase::call (a=0x7ffd929a49d0, r=0x563a8f8e1020, this=0x563a8fe1f720) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398