https://bugs.kde.org/show_bug.cgi?id=437674

            Bug ID: 437674
           Summary: Spectacle crashes on exit inside kImageAnnotator
           Product: Spectacle
           Version: 21.04.1
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: kdeb...@fratti.ch
                CC: k...@david-redondo.de
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to