[okular] [Bug 349526] Okular crashes opening CHM-file

Peter Wu bugzilla_noreply at kde.org
Thu Dec 3 21:29:53 GMT 2020


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

Peter Wu <peter at lekensteyn.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |CONFIRMED
         Resolution|WAITINGFORINFO              |---

--- Comment #7 from Peter Wu <peter at lekensteyn.nl> ---
The reproducer from comment 5 above still works, I had to add the prepend the
following to CMakeLists.txt to make it build though:
cmake_minimum_required(VERSION 3.19)

Tested on Arch Linux with:
qt5-base 5.15.2-1
khtml 5.76.0-1

Trace:

==3051==ERROR: AddressSanitizer: SEGV on unknown address 0x602043800066 (pc
0x7ff672b0e819 bp 0x7ff672bf100a sp 0x7ffcbc051da0 T0)
==3051==The signal is caused by a READ memory access.
    0 0x7ff672b0e819 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
(/usr/lib/libQt5Core.so.5+0x2b5819)
    1 0x7ff673707740 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt5Widgets.so.5+0x15a740)
    2 0x7ff672b0ea79 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt5Core.so.5+0x2b5a79)
    3 0x7ff6737408e7 in QWidgetPrivate::sendPaintEvent(QRegion const&)
(/usr/lib/libQt5Widgets.so.5+0x1938e7)
    4 0x7ff67374115b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*,
QWidgetRepaintManager*) (/usr/lib/libQt5Widgets.so.5+0x19415b)
    5 0x7ff6737459f9 in QWidgetPrivate::render(QPaintDevice*, QPoint const&,
QRegion const&, QFlags<QWidget::RenderFlag>)
(/usr/lib/libQt5Widgets.so.5+0x1989f9)
    6 0x7ff673745f13 in QWidget::render(QPainter*, QPoint const&, QRegion
const&, QFlags<QWidget::RenderFlag>) (/usr/lib/libQt5Widgets.so.5+0x198f13)
    7 0x7ff6737462f8 in QWidget::render(QPaintDevice*, QPoint const&, QRegion
const&, QFlags<QWidget::RenderFlag>) (/usr/lib/libQt5Widgets.so.5+0x1992f8)
    8 0x7ff674b0e786  (/usr/lib/libKF5KHtml.so.5+0x3b0786)
    9 0x7ff674b0ed0c  (/usr/lib/libKF5KHtml.so.5+0x3b0d0c)
    10 0x7ff674aea5ce  (/usr/lib/libKF5KHtml.so.5+0x38c5ce)
    11 0x7ff674aef93c in khtml::RenderLayer::paintLayer(khtml::RenderLayer*,
QPainter*, QRect const&, bool) (/usr/lib/libKF5KHtml.so.5+0x39193c)

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


More information about the Okular-devel mailing list