Bug 478369 - Closed/cancelled screenshot with spectacle -> got Gwenview crash error message.
Summary: Closed/cancelled screenshot with spectacle -> got Gwenview crash error message.
Status: RESOLVED NOT A BUG
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 23.08.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-12-10 21:18 UTC by Oleg
Modified: 2023-12-13 22:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg 2023-12-10 21:18:09 UTC
Application: gwenview (23.08.3)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.6.4-200.fc39.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 39 (KDE Plasma)
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
Closed/cancelled screenshot with spectacle -> got Gwenview crash error message.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault

[KCrash Handler]
#4  0x000056003c7a0c20 in Gwenview::MainWindow::onFocusChanged(QWidget*, QWidget*) ()
#5  0x00007f81504e8871 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007f81513ad347 in QApplication::focusChanged(QWidget*, QWidget*) () from /lib64/libQt5Widgets.so.5
#7  0x00007f81513edadc in QWidget::clearFocus() () from /lib64/libQt5Widgets.so.5
#8  0x00007f81513eec18 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#9  0x00007f81523b5695 in Gwenview::DocumentViewContainer::~DocumentViewContainer() () from /lib64/libgwenviewlib.so.5
#10 0x00007f81504dd84b in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#11 0x00007f81513eed38 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#12 0x00007f81513ef085 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#13 0x00007f81504dd84b in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#14 0x00007f81513eed38 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#15 0x000056003c780d59 in Gwenview::Splitter::~Splitter() [clone .lto_priv.0] ()
#16 0x00007f81504dd84b in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#17 0x00007f81513eed38 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#18 0x000056003c775455 in Gwenview::ViewMainPage::~ViewMainPage() ()
#19 0x00007f81504dd84b in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#20 0x00007f81513eed38 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#21 0x00007f81515757f5 in QStackedWidget::~QStackedWidget() () from /lib64/libQt5Widgets.so.5
#22 0x00007f81504dd84b in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#23 0x00007f81513eed38 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#24 0x00007f81513ef085 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#25 0x00007f81504dd84b in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#26 0x00007f81513eed38 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#27 0x000056003c780d59 in Gwenview::Splitter::~Splitter() [clone .lto_priv.0] ()
#28 0x00007f81504dd84b in QObjectPrivate::deleteChildren() () from /lib64/libQt5Core.so.5
#29 0x00007f81513eed38 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#30 0x000056003c7972b1 in Gwenview::MainWindow::~MainWindow() ()
#31 0x000056003c7973b5 in Gwenview::MainWindow::~MainWindow() ()
#32 0x00007f81504def59 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007f8151c2a3bf in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#34 0x00007f81513aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#35 0x00007f81504b4598 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#36 0x00007f81504b7a45 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#37 0x00007f8150506fef in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#38 0x00007f814e512e5c in g_main_context_dispatch_unlocked.lto_priv () from /lib64/libglib-2.0.so.0
#39 0x00007f814e56ddd8 in g_main_context_iterate_unlocked.isra () from /lib64/libglib-2.0.so.0
#40 0x00007f814e510ad3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#41 0x00007f8150506ad9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#42 0x00007f81504b2f5b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#43 0x00007f81504bb1eb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#44 0x000056003c767ae9 in main ()
[Inferior 1 (process 8389) detached]

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

Reported using DrKonqi
Comment 1 Nate Graham 2023-12-12 17:21:24 UTC
Can you describe exactly the sequence of events that you took to make this happen?
Comment 2 Oleg 2023-12-12 17:34:04 UTC
NO, i cant re-produce that bug anymore. it happened just once.

i suspect that it may be related to partial update state i had that moment,
updates where just installed and PC was not re-boot and may be some libs got messed up?

the actions i took was 

1) press [PrintScreen] then
2) close Spectacle window without doing any canges.
Comment 3 Nate Graham 2023-12-13 22:15:47 UTC
Yes, partial update states can cause this. That's why we recommend the "reboot after updating" style of updates as this kind of error won't happen.