Bug 437937

Summary: Spectacle crashes on exit
Product: [Applications] Spectacle Reporter: Germano Massullo <germano.massullo>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED DUPLICATE    
Severity: crash CC: arojas, kde
Priority: NOR Keywords: drkonqi
Version First Reported In: 20.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Germano Massullo 2021-06-01 07:46:25 UTC
Application: spectacle (20.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.7-300.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: Fedora 34 (KDE Plasma)

-- Information about the crash:
Everytime I close Spectacle, I get this crash

The crash can be reproduced every time.

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fe437bd1400 (LWP 99883))]
[KCrash Handler]
#6  0x00007fe43dd6d205 in kImageAnnotator::FontPicker::~FontPicker() () from /lib64/libkImageAnnotator.so.0
#7  0x00007fe43dd32105 in kImageAnnotator::AnnotationItemSettings::~AnnotationItemSettings() () from /lib64/libkImageAnnotator.so.0
#8  0x00007fe43dd324a2 in kImageAnnotator::AnnotationWidget::~AnnotationWidget() () from /lib64/libkImageAnnotator.so.0
#9  0x00007fe43dd2861b in kImageAnnotator::CoreView::~CoreView() () from /lib64/libkImageAnnotator.so.0
#10 0x00007fe43dd2ac7d in kImageAnnotator::KImageAnnotator::~KImageAnnotator() () from /lib64/libkImageAnnotator.so.0
#11 0x00007fe43dd2ae6d in kImageAnnotator::KImageAnnotator::~KImageAnnotator() () from /lib64/libkImageAnnotator.so.0
#12 0x00007fe43c3eceda in QObjectPrivate::deleteChildren (this=this@entry=0x5575b470e800) at kernel/qobject.cpp:2104
#13 0x00007fe43ce91f66 in QWidget::~QWidget (this=0x5575b470a560, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#14 0x00005575b3176461 in KSWidget::~KSWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/spectacle-20.12.2-2.fc34.x86_64/x86_64-redhat-linux-gnu/src/spectacle_autogen/EHIEGSSRCT/../../../../src/Gui/KSWidget.h:58
#15 KSWidget::~KSWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/spectacle-20.12.2-2.fc34.x86_64/x86_64-redhat-linux-gnu/src/spectacle_autogen/EHIEGSSRCT/../../../../src/Gui/KSWidget.h:58
#16 0x00007fe43c3eceda in QObjectPrivate::deleteChildren (this=this@entry=0x5575b477fb30) at kernel/qobject.cpp:2104
#17 0x00007fe43ce91f66 in QWidget::~QWidget (this=0x5575b4771710, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#18 0x00005575b317b715 in KSMainWindow::~KSMainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/spectacle-20.12.2-2.fc34.x86_64/x86_64-redhat-linux-gnu/src/spectacle_autogen/EHIEGSSRCT/../../../../src/Gui/KSMainWindow.h:50
#19 KSMainWindow::~KSMainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/spectacle-20.12.2-2.fc34.x86_64/x86_64-redhat-linux-gnu/src/spectacle_autogen/EHIEGSSRCT/../../../../src/Gui/KSMainWindow.h:50
#20 std::default_delete<KSMainWindow>::operator() (__ptr=0x5575b4771710, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:85
#21 std::unique_ptr<KSMainWindow, std::default_delete<KSMainWindow> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:361
#22 SpectacleCore::~SpectacleCore (this=<optimized out>, this=<optimized out>) at /usr/src/debug/spectacle-20.12.2-2.fc34.x86_64/x86_64-redhat-linux-gnu/src/spectacle_autogen/EWIEGA46WW/../../../../src/SpectacleCore.h:56
#23 0x00005575b317399f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/spectacle-20.12.2-2.fc34.x86_64/src/Main.cpp:59
[Inferior 1 (process 99883) detached]

Reported using DrKonqi
Comment 1 Antonio Rojas 2021-06-01 07:54:31 UTC

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