[okular] [Bug 426658] New: Okular crashed while annotating document

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Sep 17 23:24:40 BST 2020


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

            Bug ID: 426658
           Summary: Okular crashed while annotating document
           Product: okular
           Version: 1.11.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: hiwatari.seiji at gmail.com
  Target Milestone: ---

Application: okular (1.11.1)

Qt Version: 5.15.0
Frameworks Version: 5.73.0
Operating System: Linux 5.8.7-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I was annotating a document when Okular suddenly crashed.
I am mostly using the highlighter tool to mark parts in the text. Directly
after having used the mouse to select a part in the text, I double click on it
to open the comment window for this new highlight.
Though since the new version, this got so slow (up to 1 second for the
highlight to appear after releasing the mouse), that I often add a second
highlight below where I double clicked, before the first highlight is even
shown.
Like this, I have multiple times ended up in a state where the highlighter tool
is still active, but I am unable to click-drag an actual highlight. Just
nothing happens.
I was in this state when it crashed, so that might be related (and sounds like
a race-condition to me).
I am basically saving the document (ctrl + s) after each annotation - if that
changes anything.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f68a4c5bee3 in Okular::Page::rotation (this=0x560983040043) at
/usr/src/debug/okular-20.08.1-1.1.x86_64/core/page.cpp:173
#5  0x00007f68a4e24d28 in PageView::textSelectionForItem (this=0x560982986410,
item=0x560983042620, startPoint=..., endPoint=...) at
/usr/src/debug/okular-20.08.1-1.1.x86_64/ui/pageviewutils.cpp:50
#6  0x00007f68a4e08050 in TextSelectorEngine::event (this=0x56098326cdc0,
type=<optimized out>, button=<optimized out>, nX=<optimized out>, nY=<optimized
out>, xScale=<optimized out>, yScale=<optimized out>) at
/usr/src/debug/okular-20.08.1-1.1.x86_64/ui/annotationtools.h:75
#7  0x00007f68a4e0f8f4 in PageViewAnnotator::performRouteMouseOrTabletEvent
(this=0x5609827a4ce0, eventType=AnnotatorEngine::Move,
button=AnnotatorEngine::Left, modifiers=..., pos=..., item=<optimized out>) at
/usr/include/qt5/QtCore/qrect.h:269
#8  0x00007f68ac8fc0de in QWidget::event (this=this at entry=0x560982986410,
event=event at entry=0x7ffd6f05c6c0) at kernel/qwidget.cpp:9027
#9  0x00007f68ac9a44de in QFrame::event (this=0x560982986410, e=0x7ffd6f05c6c0)
at widgets/qframe.cpp:550
#10 0x00007f68abcdc9a3 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>,
receiver=<optimized out>) at kernel/qcoreapplication.cpp:1187
#11 QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver at entry=0x5609829866e0, event=event at entry=0x7ffd6f05c6c0) at
kernel/qcoreapplication.cpp:1176
#12 0x00007f68ac8bc0be in QApplicationPrivate::notify_helper
(this=this at entry=0x5609824f2e80, receiver=receiver at entry=0x5609829866e0,
e=e at entry=0x7ffd6f05c6c0) at kernel/qapplication.cpp:3665
#13 0x00007f68ac8c3121 in QApplication::notify (this=0x7ffd6f05c3c0,
receiver=0x5609829866e0, e=0x7ffd6f05c6c0) at kernel/qapplication.cpp:3115
#14 0x00007f68abcdcc3a in QCoreApplication::notifyInternal2
(receiver=0x5609829866e0, event=0x7ffd6f05c6c0) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#15 0x00007f68ac8c2036 in QApplicationPrivate::sendMouseEvent
(receiver=receiver at entry=0x5609829866e0, event=event at entry=0x7ffd6f05c6c0,
alienWidget=alienWidget at entry=0x5609829866e0, nativeWidget=0x56098268ecb0,
buttonDown=buttonDown at entry=0x7f68acde19d0 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2603
#16 0x00007f68ac91413a in QWidgetWindow::handleMouseEvent (this=0x56098290a3f0,
event=0x7ffd6f05c980) at /usr/include/c++/10/bits/atomic_base.h:420
#17 0x00007f68ac91762e in QWidgetWindow::event (this=0x56098290a3f0,
event=0x7ffd6f05c980) at kernel/qwidgetwindow.cpp:295
#18 0x00007f68ac8bc0cf in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x56098290a3f0, e=0x7ffd6f05c980) at
kernel/qapplication.cpp:3671
#19 0x00007f68abcdcc3a in QCoreApplication::notifyInternal2
(receiver=0x56098290a3f0, event=0x7ffd6f05c980) at
../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#20 0x00007f68ac1a527b in QGuiApplicationPrivate::processMouseEvent
(e=0x7f683e1c40b0) at kernel/qguiapplication.cpp:2214
#21 0x00007f68ac17b51b in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags at entry=...) at kernel/qwindowsysteminterface.cpp:1175
#22 0x00007f68a7bc8f4a in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#23 0x00007f68aa3fc2b7 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#24 0x00007f68aa3fc638 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f68aa3fc6ef in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#26 0x00007f68abd3407f in QEventDispatcherGlib::processEvents
(this=0x560982630430, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f68abcdb5fb in QEventLoop::exec (this=this at entry=0x7ffd6f05ccb0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#28 0x00007f68abce3860 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x0000560980daa896 in main (argc=<optimized out>, argv=0x7ffd6f05ce40) at
/usr/src/debug/okular-20.08.1-1.1.x86_64/shell/main.cpp:109
[Inferior 1 (process 8169) detached]

The reporter indicates this bug may be a duplicate of or related to bug 324747.

Possible duplicates by query: bug 324747, bug 323669, bug 192293.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list