https://bugs.kde.org/show_bug.cgi?id=388228
Bug ID: 388228 Summary: Okular crashes when annotating a piece of text Product: okular Version: 1.1.3 Platform: Ubuntu Packages OS: Linux Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: de...@the-user.org Target Milestone: --- Hi, I’m using Kubuntu 17.10 with Okular 1.1.3. When highlighting a piece of text (markup annotation) okular crashes from time to time. It is not easily reproducible (when I try to highlight the same word again after the crash, it usually works), but it occurs quite often (after some dozens of annotations okular crashes again). I have the problem since upgrading from Kubuntu 17.04 to 17.10. The crash occurs when releasing the mouse button after having marked a segment of the text. This is the backtrace which I get from gdb: Thread 1 "okular" received signal SIGSEGV, Segmentation fault. 0x00007fffe00169c0 in ?? () #0 0x00007fffe00169c0 in ?? () #1 0x00007fffdab5a286 in MouseAnnotation::cursor (this=0x5555574cb090) at ./ui/pageviewmouseannotation.cpp:379 #2 0x00007fffdab5f88c in PageView::updateCursor (this=this@entry=0x5555574dcd50, p=...) at ./ui/pageview.cpp:4032 #3 0x00007fffdab5f93a in PageView::updateCursor (this=0x5555574dcd50) at ./ui/pageview.cpp:3997 #4 0x00007fffdab51d1b in PageViewAnnotator::slotToolSelected (this=0x555557a6f020, toolID=-1) at ./ui/pageviewannotator.cpp:981 #5 0x00007ffff47fc9ff in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fffdab7b6ba in PageViewToolBar::toolSelected (_t1=<optimized out>, this=0x555557aa3b10) at ./obj-x86_64-linux-gnu/okularpart_autogen/include/moc_pageviewutils.cpp:340 #7 ToolBarPrivate::selectButton (this=0x555557ad22c0, button=button@entry=0x555557a93180) at ./ui/pageviewutils.cpp:927 #8 0x00007fffdab7b9d6 in ToolBarPrivate::selectButton (button=0x555557a93180, this=<optimized out>) at ./ui/pageviewutils.cpp:610 #9 PageViewToolBar::selectButton (this=0x555557aa3b10, id=id@entry=-1) at ./ui/pageviewutils.cpp:610 #10 0x00007fffdab533af in PageViewAnnotator::detachAnnotation (this=0x555557a6f020) at ./ui/pageviewannotator.cpp:1077 #11 PageViewAnnotator::performRouteMouseOrTabletEvent (this=this@entry=0x555557a6f020, eventType=@0x7fffffffca80: AnnotatorEngine::Release, button=@0x7fffffffca84: AnnotatorEngine::Left, pos=..., item=item@entry=0x555557b335b0) at ./ui/pageviewannotator.cpp:867 #12 0x00007fffdab53430 in PageViewAnnotator::routeMouseEvent (this=0x555557a6f020, e=e@entry=0x7fffffffd1f0, item=0x555557b335b0) at ./ui/pageviewannotator.cpp:881 #13 0x00007fffdab72449 in PageView::mouseReleaseEvent (this=0x5555574dcd50, e=0x7fffffffd1f0) at ./ui/pageview.cpp:2443 #14 0x00007ffff5812dc8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007ffff58f22de in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007fffdab74f24 in PageView::viewportEvent (this=0x5555574dcd50, e=0x7fffffffd1f0) at ./ui/pageview.cpp:3323 #17 0x00007ffff47cdacc in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #18 0x00007ffff57d2445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007ffff57da28f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007ffff47cdde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007ffff57d9262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x00007ffff582d94b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007ffff582ffba in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x00007ffff57d246c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x00007ffff57d9d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #26 0x00007ffff47cdde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x00007ffff5016f43 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #28 0x00007ffff5018a25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #29 0x00007ffff4ff0cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #30 0x00007fffe7fb65a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #31 0x00007fffeecc1fb7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x00007fffeecc21f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #33 0x00007fffeecc227c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #34 0x00007ffff482647f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #35 0x00007ffff47cbe3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #36 0x00007ffff47d4da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #37 0x0000555555560087 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:82 -- You are receiving this mail because: You are watching all bug changes.