https://bugs.kde.org/show_bug.cgi?id=378696
--- Comment #1 from Oliver Sander <oliver.san...@tu-dresden.de> --- valgrind trace seems useful: ==24464== Invalid read of size 4 ==24464== at 0x1F11765C: QRect::height() const (qrect.h:261) ==24464== by 0x1F19EC2B: PageViewItem::uncroppedHeight() const (pageviewutils.cpp:97) ==24464== by 0x1F170676: MouseAnnotation::routePaint(QPainter*, QRect const&) (pageviewmouseannotation.cpp:275) ==24464== by 0x1F17D02D: PageView::paintEvent(QPaintEvent*) (pageview.cpp:1757) ==24464== by 0x7FAB277: QWidget::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1) ==24464== by 0x8093A0D: QFrame::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1) ==24464== by 0x1F185D31: PageView::viewportEvent(QEvent*) (pageview.cpp:3318) ==24464== by 0x8CB0740: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1) ==24464== by 0x7F63B64: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1) ==24464== by 0x7F6B340: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1) ==24464== by 0x8CB09DF: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1) ==24464== by 0x7FA3FD9: QWidgetPrivate::sendPaintEvent(QRegion const&) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1) ==24464== Address 0x1d06ebd0 is 48 bytes inside a block of size 104 free'd ==24464== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576) ==24464== by 0x1F17967F: PageView::notifySetup(QVector<Okular::Page*> const&, int) (pageview.cpp:962) ==24464== by 0x1F4ED719: Okular::Document::closeDocument() (document.cpp:2614) ==24464== by 0x1F0FDE99: Okular::Part::closeUrl(bool) (part.cpp:1660) ==24464== by 0x1F0FDFFB: Okular::Part::closeUrl() (part.cpp:1681) ==24464== by 0x1F0FE811: Okular::Part::slotDoFileDirty() (part.cpp:1805) ==24464== by 0x1F103048: Okular::Part::slotReload() (part.cpp:2725) ==24464== by 0x1F10ED57: QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Okular::Part::*)()>::call(void (Okular::Part::*)(), Okular::Part*, void**) (qobjectdefs_impl.h:141) ==24464== by 0x1F10DD8E: void QtPrivate::FunctionPointer<void (Okular::Part::*)()>::call<QtPrivate::List<>, void>(void (Okular::Part::*)(), Okular::Part*, void**) (qobjectdefs_impl.h:160) ==24464== by 0x1F10C230: QtPrivate::QSlotObject<void (Okular::Part::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (qobject_impl.h:120) ==24464== by 0x8CDC95D: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.7.1) ==24464== by 0x7F5D1C1: QAction::triggered(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.7.1) ==24464== Block was alloc'd at ==24464== at 0x4C2C21F: operator new(unsigned long) (vg_replace_malloc.c:334) ==24464== by 0x1F179767: PageView::notifySetup(QVector<Okular::Page*> const&, int) (pageview.cpp:976) ==24464== by 0x1F4EC73A: Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) (document.cpp:2452) ==24464== by 0x1F0FB57A: Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) (part.cpp:1292) ==24464== by 0x1F0FC236: Okular::Part::openFile() (part.cpp:1414) ==24464== by 0x4E5F810: ??? (in /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5.28.0) ==24464== by 0x4E606A3: KParts::ReadOnlyPart::openUrl(QUrl const&) (in /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5.28.0) ==24464== by 0x1F0FD58F: Okular::Part::openUrl(QUrl const&) (part.cpp:1567) ==24464== by 0x11BB87: Shell::openUrl(QUrl const&, QString const&) (shell.cpp:277) ==24464== by 0x11B666: Shell::openDocument(QUrl const&, QString const&) (shell.cpp:218) ==24464== by 0x118ABB: Okular::main(QStringList const&, QString const&) (okular_main.cpp:170) ==24464== by 0x1152AB: main (main.cpp:72) ==24464== -- You are receiving this mail because: You are watching all bug changes.