https://bugs.kde.org/show_bug.cgi?id=400511
Bug ID: 400511 Summary: Crash when trying to highlight/underline a text Product: okular Version: 1.5.2 Platform: Archlinux Packages OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: superap...@gmail.com Target Milestone: --- Application: okular (1.5.2) Qt Version: 5.11.2 Frameworks Version: 5.51.0 Operating System: Linux 4.18.16-arch1-1-ARCH x86_64 Distribution: "Arch Linux" -- Information about the crash: STEPS TO REPRODUCE: 1) Open any pdf document 2) Press F6 to open the review panel 3) Choose the underline/highlight instrument 4) Try to use it on any text EXPECTED BEHAVIOUR: The text is highlighted/underlined without errors. ACTUAL BEHAVIOUR: Segmentation fault Please, let me know if I can help. I think I installed the correct debug symbols. The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f3ad8050800 (LWP 5404))] Thread 4 (Thread 0x7f3ac61a1700 (LWP 5408)): #0 0x00007f3adbfb5afc in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0 #1 0x00007f3ac67791ac in ?? () from /usr/lib/dri/i965_dri.so #2 0x00007f3ac6778ee8 in ?? () from /usr/lib/dri/i965_dri.so #3 0x00007f3adbfafa9d in start_thread () from /usr/lib/libpthread.so.0 #4 0x00007f3adcc4eb23 in clone () from /usr/lib/libc.so.6 Thread 3 (Thread 0x7f3acf7a2700 (LWP 5406)): #0 0x00007f3adcc43c21 in poll () from /usr/lib/libc.so.6 #1 0x00007f3adb36bee0 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f3adb36bfce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f3add16cfe4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007f3add1188cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f3adcf61eb9 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007f3add3beba6 in ?? () from /usr/lib/libQt5DBus.so.5 #7 0x00007f3adcf6bf65 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007f3adbfafa9d in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f3adcc4eb23 in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f3ad665a700 (LWP 5405)): #0 0x00007f3adcc43c21 in poll () from /usr/lib/libc.so.6 #1 0x00007f3adc234630 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f3adc2362db in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f3ad7c02c5a in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007f3adcf6bf65 in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f3adbfafa9d in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f3adcc4eb23 in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f3ad8050800 (LWP 5404)): [KCrash Handler] #6 0x00007f3ac592572f in Poppler::HighlightAnnotationPrivate::toQuadrilaterals (this=this@entry=0x556be60a1b50, quads=...) at /usr/include/c++/8.2.1/bits/unique_ptr.h:593 #7 0x00007f3ac592580f in Poppler::HighlightAnnotation::setHighlightQuads (this=this@entry=0x556be60d9940, quads=...) at /usr/src/debug/poppler-0.70.1/qt5/src/poppler-annotation.cc:3343 #8 0x00007f3ac5926f69 in Poppler::HighlightAnnotationPrivate::createNativeAnnot (this=0x556be60a1b50, destPage=<optimized out>, doc=<optimized out>) at /usr/src/debug/poppler-0.70.1/qt5/src/poppler-annotation.cc:3177 #9 0x00007f3ac5921cfe in Poppler::AnnotationPrivate::addAnnotationToPage (pdfPage=0x556be5fa0670, doc=<optimized out>, ann=<optimized out>) at /usr/src/debug/poppler-0.70.1/qt5/src/poppler-annotation.cc:810 #10 0x00007f3ac742cf39 in PopplerAnnotationProxy::notifyAddition (this=<optimized out>, okl_ann=0x7f3ad000bb10, page=7) at /usr/src/debug/okular-18.08.2/generators/poppler/annots.cpp:128 #11 0x00007f3ace35b9ed in Okular::DocumentPrivate::performAddPageAnnotation (this=0x556be5a51080, page=7, annotation=0x7f3ad000bb10) at /usr/src/debug/okular-18.08.2/core/document.cpp:993 #12 0x00007f3ace370254 in Okular::AddAnnotationCommand::redo (this=0x556be60596a0) at /usr/src/debug/okular-18.08.2/core/documentcommands.cpp:90 #13 0x00007f3adde98374 in QUndoStack::push(QUndoCommand*) () from /usr/lib/libQt5Widgets.so.5 #14 0x00007f3ace350dda in Okular::Document::addPageAnnotation (this=this@entry=0x556be5a40550, page=7, annotation=annotation@entry=0x7f3ad000bb10) at /usr/src/debug/okular-18.08.2/core/document.cpp:3456 #15 0x00007f3ace4d3d1a in PageViewAnnotator::performRouteMouseOrTabletEvent (this=this@entry=0x556be59170a0, eventType=@0x7fff0e29d730: AnnotatorEngine::Release, button=@0x7fff0e29d734: AnnotatorEngine::Left, pos=..., item=item@entry=0x556be602f4e0) at /usr/src/debug/okular-18.08.2/ui/pageviewannotator.cpp:858 #16 0x00007f3ace4d4071 in PageViewAnnotator::routeMouseEvent (this=0x556be59170a0, e=e@entry=0x7fff0e29de90, item=0x556be602f4e0) at /usr/include/qt/QtGui/qevent.h:128 #17 0x00007f3ace4f6798 in PageView::mouseReleaseEvent (this=0x556be5b54290, e=0x7fff0e29de90) at /usr/src/debug/okular-18.08.2/ui/pageview.cpp:2532 #18 0x00007f3addb62658 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007f3addc08cef in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #20 0x00007f3ace4f8bf5 in PageView::viewportEvent (this=0x556be5b54290, e=0x7fff0e29de90) at /usr/src/debug/okular-18.08.2/ui/pageview.cpp:3425 #21 0x00007f3add11994b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #22 0x00007f3addb22e04 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #23 0x00007f3addb2a92a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #24 0x00007f3add119c39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #25 0x00007f3addb29c11 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5 #26 0x00007f3addb7d98c in ?? () from /usr/lib/libQt5Widgets.so.5 #27 0x00007f3addb805d5 in ?? () from /usr/lib/libQt5Widgets.so.5 #28 0x00007f3addb22e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #29 0x00007f3addb2a6e1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #30 0x00007f3add119c39 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #31 0x00007f3add5530dc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #32 0x00007f3add555066 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #33 0x00007f3add52ea3c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #34 0x00007f3ad7c98e1d in ?? () from /usr/lib/libQt5XcbQpa.so.5 #35 0x00007f3add1188cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #36 0x00007f3add120bc6 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #37 0x0000556be424b6cd in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/okular-18.08.2/shell/main.cpp:85 [Inferior 1 (process 5404) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.