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

            Bug ID: 443412
           Summary: Spectacle crashes if I add a text annotation
           Product: Spectacle
           Version: 21.08.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: luizl...@gmail.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Application: spectacle (21.08.1)

Qt Version: 5.15.2
Frameworks Version: 5.86.0
Operating System: Linux 5.14.6-1-default x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.5
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I created a snapshot and tried to add a text to it. The crash happens as soon
as I type the first char.
Other annotations seems to be working as expected.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fc8c3a01e09 in XCloseDisplay (dpy=0x0) at
/usr/src/debug/libX11-1.7.2-1.2.x86_64/src/ClDisplay.c:51
#5  0x00007fc8c63e10fc in
kImageAnnotator::CapsLockStatusChecker::isCapsLockEnabled () at
/usr/src/debug/kImageAnnotator-0.5.2-1.1.x86_64/src/annotations/items/text/CapsLockStatusChecker.cpp:47
#6  kImageAnnotator::KeyInputHelper::getTextWithCorrectCase
(this=0x55936aee8f88, event=0x7ffc9a83af70) at
/usr/src/debug/kImageAnnotator-0.5.2-1.1.x86_64/src/annotations/items/text/KeyInputHelper.cpp:88
#7  kImageAnnotator::KeyInputHelper::handleKeyPress (this=0x55936aee8f88,
event=0x7ffc9a83af70) at
/usr/src/debug/kImageAnnotator-0.5.2-1.1.x86_64/src/annotations/items/text/KeyInputHelper.cpp:81
#8  0x00007fc8c63e13d1 in non-virtual thunk to
kImageAnnotator::AnnotationText::keyPressEvent(QKeyEvent*) () at
/usr/src/debug/kImageAnnotator-0.5.2-1.1.x86_64/build/kImageAnnotator_autogen/AJBCAZNY4V/moc_AnnotationTextHandler.cpp:143
#9  0x00007fc8c564fee1 in QGraphicsItem::sceneEvent (this=0x55936aee8ed0,
event=0x7ffc9a83af70) at graphicsview/qgraphicsitem.cpp:6960
#10 0x00007fc8c5672e96 in QGraphicsScene::keyPressEvent (this=<optimized out>,
keyEvent=0x7ffc9a83af70) at graphicsview/qgraphicsscene.cpp:4000
#11 0x00007fc8c56851d3 in QGraphicsScene::event (this=0x55936af648b0,
event=0x7ffc9a83af70) at graphicsview/qgraphicsscene.cpp:3410
#12 0x00007fc8c533ea7f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55936af648b0, e=0x7ffc9a83af70) at
kernel/qapplication.cpp:3632
#13 0x00007fc8c478d9ca in QCoreApplication::notifyInternal2
(receiver=0x55936af648b0, event=0x7ffc9a83af70) at
kernel/qcoreapplication.cpp:1064
#14 0x00007fc8c56a46c8 in QGraphicsView::keyPressEvent (this=0x55936aeaa990,
event=0x7ffc9a83af70) at graphicsview/qgraphicsview.cpp:3206
#15 0x00007fc8c53815f8 in QWidget::event (this=this@entry=0x55936aeaa990,
event=event@entry=0x7ffc9a83af70) at kernel/qwidget.cpp:8679
#16 0x00007fc8c542cf1e in QFrame::event (this=0x55936aeaa990, e=0x7ffc9a83af70)
at widgets/qframe.cpp:550
#17 0x00007fc8c533ea7f in QApplicationPrivate::notify_helper
(this=this@entry=0x55936a866a90, receiver=receiver@entry=0x55936aeaa990,
e=e@entry=0x7ffc9a83af70) at kernel/qapplication.cpp:3632
#18 0x00007fc8c53466be in QApplication::notify (this=<optimized out>,
receiver=0x55936aeaa990, e=0x7ffc9a83af70) at kernel/qapplication.cpp:2994
#19 0x00007fc8c478d9ca in QCoreApplication::notifyInternal2
(receiver=0x55936aeaa990, event=0x7ffc9a83af70) at
kernel/qcoreapplication.cpp:1064
#20 0x00007fc8c539ccaf in QWidgetWindow::event (this=0x55936add3e30,
event=0x7ffc9a83af70) at kernel/qwidgetwindow.cpp:293
#21 0x00007fc8c533ea7f in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55936add3e30, e=0x7ffc9a83af70) at
kernel/qapplication.cpp:3632
#22 0x00007fc8c478d9ca in QCoreApplication::notifyInternal2
(receiver=0x55936add3e30, event=0x7ffc9a83af70) at
kernel/qcoreapplication.cpp:1064
#23 0x00007fc8c4be67a2 in QGuiApplicationPrivate::processKeyEvent
(e=0x55936af8fc60) at kernel/qguiapplication.cpp:2414
#24 0x00007fc8c4bc079c in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:1169
#25 0x00007fc8c1d33a00 in userEventSourceDispatch (source=<optimized out>) at
qeventdispatcher_glib.cpp:74
#26 0x00007fc8c236ad5f in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#27 0x00007fc8c236b0e8 in ?? () from /lib64/libglib-2.0.so.0
#28 0x00007fc8c236b19f in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#29 0x00007fc8c47e4ea4 in QEventDispatcherGlib::processEvents
(this=0x55936a904560, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007fc8c478c3cb in QEventLoop::exec (this=this@entry=0x7ffc9a83b200,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007fc8c47946b0 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x00007fc8c4bde19c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#33 0x00007fc8c533e9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#34 0x00005593699e35a9 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/spectacle-21.08.1-1.2.x86_64/src/Main.cpp:102
[Inferior 1 (process 10315) detached]

Possible duplicates by query: bug 359716, bug 348766, bug 340858, bug 258333,
bug 163538.

Reported using DrKonqi

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

Reply via email to