Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134524

crash with QPainter::drawPixmap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.15.16
    • Active Qt
    • None
    • Windows

    Description

      A bug reporter reported a crash on our software and the dmp stack that we have is similar to this bug that Qt supposedly has fixed.

      https://bugreports.qt.io/browse/QTBUG-65387

      I don't have the steps to reproduce the bug but hopefully the stack dmp can provide you enough insight into the problem.

      >    [Inline Frame] Qt5Gui.dll!BYTE_MUL(unsigned int) Line 632    C++
           Qt5Gui.dll!qt_scale_image_argb32_on_argb32_sse2(unsigned char * destPixels, int dbpl, const unsigned char * srcPixels, int sbpl, int srch, const QRectF & targetRect, const QRectF & sourceRect, const QRect & clip, int const_alpha) Line 646    C++
           Qt5Gui.dll!QRasterPaintEngine::drawImage(const QRectF & r, const QImage & img, const QRectF & sr, QFlags<enum Qt::ImageConversionFlag> __formal) Line 2434    C++
           Qt5Gui.dll!QRasterPaintEngine::drawImage(const QPointF & p, const QImage & img) Line 2189    C++
           Qt5Gui.dll!QRasterPaintEngine::drawPixmap(const QPointF & pos, const QPixmap & pixmap) Line 2091    C++
           Qt5Gui.dll!QPainter::drawPixmap(const QPointF & p, const QPixmap & pm) Line 5110    C++
           [Inline Frame] PacketTracer.exe!QPainter::drawPixmap(int) Line 822    C++
           PacketTracer.exe!CImagedCanvasItem::paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) Line 65    C++
           Qt5Widgets.dll!QGraphicsScenePrivate::draw(QGraphicsItem * item, QPainter * painter, const QTransform * const viewTransform, const QTransform * const transformPtr, QRegion * exposedRegion, QWidget * widget, double opacity, const QTransform * const effectTransform, bool wasDirtyParentSceneTransform, bool drawItem) Line 4982    C++
           Qt5Widgets.dll!QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem * item, QPainter * painter, const QTransform * const viewTransform, QRegion * exposedRegion, QWidget * widget, double parentOpacity, const QTransform * const effectTransform) Line 4873    C++
           Qt5Widgets.dll!QGraphicsScenePrivate::drawItems(QPainter * painter, const QTransform * const viewTransform, QRegion * exposedRegion, QWidget * widget) Line 4734    C++
           Qt5Widgets.dll!QGraphicsView::paintEvent(QPaintEvent * event) Line 3563    C++
           Qt5Widgets.dll!QWidget::event(QEvent * event) Line 9108    C++
           Qt5Widgets.dll!QFrame::event(QEvent * e) Line 552    C++
           Qt5Widgets.dll!QGraphicsView::viewportEvent(QEvent * event) Line 3014    C++
           Qt5Core.dll!QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject * receiver, QEvent * event) Line 1190    C++
           Qt5Widgets.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3634    C++
           Qt5Widgets.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3594    C++
           Qt5Core.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1064    C++
           [Inline Frame] Qt5Widgets.dll!QWidgetPrivate::sendPaintEvent(const QRegion &) Line 5479    C++
           Qt5Widgets.dll!QWidgetPrivate::drawWidget(QPaintDevice * pdev, const QRegion & rgn, const QPoint & offset, QFlags<enum QWidgetPrivate::DrawWidgetFlag> flags, QPainter * sharedPainter, QWidgetRepaintManager * repaintManager) Line 5429    C++
           Qt5Widgets.dll!QWidgetRepaintManager::paintAndFlush() Line 1017    C++
           Qt5Widgets.dll!QWidget::event(QEvent * event) Line 9108    C++
           Qt5Widgets.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3642    C++
           Qt5Widgets.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3594    C++
           Qt5Core.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1064    C++
           [Inline Frame] Qt5Core.dll!QCoreApplication::sendEvent(QObject *) Line 1462    C++
           Qt5Core.dll!QCoreApplicationPrivate::sendPostedEvents(QObject * receiver, int event_type, QThreadData * data) Line 1821    C++
           Qt5Widgets.dll!QGraphicsScenePrivate::_q_processDirtyItems() Line 515    C++
           Qt5Widgets.dll!QGraphicsScene::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 197    C++
           Qt5Core.dll!QObject::event(QEvent * e) Line 1347    C++
           Qt5Widgets.dll!QGraphicsScene::event(QEvent * event) Line 3548    C++
           Qt5Widgets.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3642    C++
           Qt5Widgets.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3594    C++
           Qt5Core.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1064    C++
           [Inline Frame] Qt5Core.dll!QCoreApplication::sendEvent(QObject *) Line 1462    C++
           Qt5Core.dll!QCoreApplicationPrivate::sendPostedEvents(QObject * receiver, int event_type, QThreadData * data) Line 1821    C++
           [External Code]    
           Qt5Core.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 516    C++
           [External Code]    
           [Inline Frame] Qt5Core.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>) Line 142    C++
           Qt5Core.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 235    C++
           Qt5Core.dll!QCoreApplication::exec() Line 1375    C++
           PacketTracer.exe!oldMain(int argc, char * * argv) Line 2022    C++
           PacketTracer.exe!main(int argc, char * * argv) Line 2163    C++
           PacketTracer.exe!WinMain(HINSTANCE__ * _formal, HINSTANCE_ * __formal, char * __formal, int __formal) Line 97    C++
           [External Code]    
           [Frames may be missing, no binary loaded for kernel32.dll]    
           [External Code]    

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            thingu Thi Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes