Bug 437674 - Spectacle crashes on exit inside kImageAnnotator
Summary: Spectacle crashes on exit inside kImageAnnotator
Status: RESOLVED UPSTREAM
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 21.04.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Boudhayan Gupta
URL: https://github.com/ksnip/kImageAnnota...
Keywords: drkonqi
: 437691 437758 437766 437767 437768 437776 437792 437797 437819 437834 437841 437842 437843 437861 437876 437884 437891 437899 437900 437915 437937 437947 437954 437965 438300 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-25 17:24 UTC by Nicolas F.
Modified: 2021-06-09 06:21 UTC (History)
27 users (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 Nicolas F. 2021-05-25 17:24:23 UTC
Application: spectacle (21.04.1)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.6-arch1-1 x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed: I was closing Spectacle with the "x" button.

I don't have debug symbols for Qt, but I did get some debug symbols for the kImageAnnotator lib, which shows it crashing in a destructor. Presumably it's trying to delete something that doesn't exist.

The crash can be reproduced every time.

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f8836306e88 in kImageAnnotator::FontPicker::~FontPicker (this=0x56528a2f3650, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/widgets/settingsPicker/FontPicker.cpp:40
#5  0x00007f88363070a9 in kImageAnnotator::FontPicker::~FontPicker (this=0x56528a2f3650, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/widgets/settingsPicker/FontPicker.cpp:46
#6  0x00007f88362c7265 in kImageAnnotator::AnnotationItemSettings::~AnnotationItemSettings (this=0x56528a130320, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/annotator/settings/AnnotationItemSettings.cpp:49
#7  0x00007f88362c73a9 in kImageAnnotator::AnnotationItemSettings::~AnnotationItemSettings (this=0x56528a130320, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/annotator/settings/AnnotationItemSettings.cpp:52
#8  0x00007f88362c2e5e in kImageAnnotator::AnnotationWidget::~AnnotationWidget (this=0x56528a1ea7c0, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/annotator/AnnotationWidget.cpp:40
#9  0x00007f88362c2ef9 in kImageAnnotator::AnnotationWidget::~AnnotationWidget (this=0x56528a1ea7c0, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/annotator/AnnotationWidget.cpp:44
#10 0x00007f88362c282b in kImageAnnotator::CoreView::~CoreView (this=0x56528a1c4af0, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/CoreView.cpp:51
#11 0x00007f88362c1a77 in kImageAnnotator::KImageAnnotatorPrivate::~KImageAnnotatorPrivate (this=0x56528a1c4a60, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/KImageAnnotator.cpp:53
#12 QScopedPointerDeleter<kImageAnnotator::KImageAnnotatorPrivate>::cleanup (pointer=0x56528a1c4a60) at /usr/include/qt/QtCore/qscopedpointer.h:60
#13 QScopedPointerDeleter<kImageAnnotator::KImageAnnotatorPrivate>::cleanup (pointer=0x56528a1c4a60) at /usr/include/qt/QtCore/qscopedpointer.h:52
#14 QScopedPointer<kImageAnnotator::KImageAnnotatorPrivate, QScopedPointerDeleter<kImageAnnotator::KImageAnnotatorPrivate> >::~QScopedPointer (this=0x56528a1eb520, __in_chrg=<optimized out>) at /usr/include/qt/QtCore/qscopedpointer.h:107
#15 kImageAnnotator::KImageAnnotator::~KImageAnnotator (this=0x56528a1eb4f0, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/KImageAnnotator.cpp:71
#16 0x00007f88362c1aaa in kImageAnnotator::KImageAnnotator::~KImageAnnotator (this=0x56528a1eb4f0, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/KImageAnnotator.cpp:71
#17 0x00007f88347ab7de in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#18 0x00007f88352955ce in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#19 0x000056528825a26e in ?? ()
#20 0x00007f88347ab7de in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#21 0x00007f88352955ce in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#22 0x000056528825b46d in ?? ()
#23 0x000056528825650c in ?? ()
#24 0x00007f883410db25 in __libc_start_main () from /usr/lib/libc.so.6
#25 0x0000565288256e0e in ?? ()
[Inferior 1 (process 19938) detached]

Reported using DrKonqi
Comment 1 Albert Astals Cid 2021-05-25 22:48:27 UTC
Not really spectacle's fault

It's kimageannotator

https://github.com/ksnip/kImageAnnotator/issues/242
Comment 2 Nate Graham 2021-05-26 03:37:23 UTC
Thanks for investigating, Albert!
Comment 3 David Redondo 2021-05-26 06:54:19 UTC
*** Bug 437691 has been marked as a duplicate of this bug. ***
Comment 4 Antonio Rojas 2021-05-28 09:11:05 UTC
*** Bug 437766 has been marked as a duplicate of this bug. ***
Comment 5 Antonio Rojas 2021-05-28 09:11:17 UTC
*** Bug 437767 has been marked as a duplicate of this bug. ***
Comment 6 Antonio Rojas 2021-05-28 09:11:31 UTC
*** Bug 437758 has been marked as a duplicate of this bug. ***
Comment 7 Antonio Rojas 2021-05-28 09:56:00 UTC
*** Bug 437768 has been marked as a duplicate of this bug. ***
Comment 8 Antonio Rojas 2021-05-28 16:34:04 UTC
*** Bug 437776 has been marked as a duplicate of this bug. ***
Comment 9 Nicolas Fella 2021-05-28 17:34:31 UTC
*** Bug 437792 has been marked as a duplicate of this bug. ***
Comment 10 Antonio Rojas 2021-05-28 19:18:11 UTC
*** Bug 437797 has been marked as a duplicate of this bug. ***
Comment 11 Antonio Rojas 2021-05-29 08:08:52 UTC
*** Bug 437819 has been marked as a duplicate of this bug. ***
Comment 12 Antonio Rojas 2021-05-29 16:45:45 UTC
*** Bug 437834 has been marked as a duplicate of this bug. ***
Comment 13 Antonio Rojas 2021-05-30 06:46:03 UTC
*** Bug 437841 has been marked as a duplicate of this bug. ***
Comment 14 Antonio Rojas 2021-05-30 06:46:22 UTC
*** Bug 437842 has been marked as a duplicate of this bug. ***
Comment 15 Antonio Rojas 2021-05-30 06:46:47 UTC
*** Bug 437843 has been marked as a duplicate of this bug. ***
Comment 16 Antonio Rojas 2021-05-30 18:37:35 UTC
*** Bug 437861 has been marked as a duplicate of this bug. ***
Comment 17 Antonio Rojas 2021-05-30 20:22:12 UTC
*** Bug 437876 has been marked as a duplicate of this bug. ***
Comment 18 Antonio Rojas 2021-05-31 06:49:29 UTC
*** Bug 437884 has been marked as a duplicate of this bug. ***
Comment 19 Antonio Rojas 2021-05-31 07:00:27 UTC
*** Bug 437891 has been marked as a duplicate of this bug. ***
Comment 20 Antonio Rojas 2021-05-31 11:46:24 UTC
*** Bug 437899 has been marked as a duplicate of this bug. ***
Comment 21 Antonio Rojas 2021-05-31 11:46:38 UTC
*** Bug 437900 has been marked as a duplicate of this bug. ***
Comment 22 Antonio Rojas 2021-05-31 16:33:12 UTC
*** Bug 437915 has been marked as a duplicate of this bug. ***
Comment 23 Antonio Rojas 2021-06-01 07:54:31 UTC
*** Bug 437937 has been marked as a duplicate of this bug. ***
Comment 24 David Redondo 2021-06-01 09:55:06 UTC
*** Bug 437947 has been marked as a duplicate of this bug. ***
Comment 25 Antonio Rojas 2021-06-01 13:51:15 UTC
*** Bug 437954 has been marked as a duplicate of this bug. ***
Comment 26 Antonio Rojas 2021-06-01 18:29:20 UTC
*** Bug 437965 has been marked as a duplicate of this bug. ***
Comment 27 Antonio Rojas 2021-06-09 06:21:57 UTC
*** Bug 438300 has been marked as a duplicate of this bug. ***