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

[WinRT] Text rendering crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.2
    • 5.9.2, 5.10.0 Alpha
    • GUI: Text handling
    • None
    • WinRT

    Description

      Trying to select a substring in a text of a QLineEdit ends in this crash:

       

        vcruntime140d_app.dll!0084439e() Unknown
        [Frames below may be incorrect and/or missing, no symbols loaded for vcruntime140d_app.dll] 
      > Qt5Guid.dll!destStore64(QRasterBuffer * rasterBuffer, int x, int y, const QRgba64 * buffer, int length) Line 1351 C++
        Qt5Guid.dll!qt_alphamapblit_generic(QRasterBuffer * rasterBuffer, int x, int y, const QRgba64 & color, const unsigned char * map, int mapWidth, int mapHeight, int mapStride, const QClipData * clip, bool useGammaCorrection) Line 5583 C++
        Qt5Guid.dll!QRasterPaintEngine::alphaPenBlt(const void * src, int bpl, int depth, int rx, int ry, int w, int h, bool useGammaCorrection) Line 2648 C++
        Qt5Guid.dll!QRasterPaintEngine::drawCachedGlyphs(int numGlyphs, const unsigned int * glyphs, const QFixedPoint * positions, QFontEngine * fontEngine) Line 2813 C++
        Qt5Guid.dll!QRasterPaintEngine::drawTextItem(const QPointF & p, const QTextItem & textItem) Line 3081 C++
        Qt5Guid.dll!QPainterPrivate::drawTextItem(const QPointF & p, const QTextItem & _ti, QTextEngine * textEngine) Line 6514 C++
        Qt5Guid.dll!QTextLine::draw(QPainter * p, const QPointF & pos, const QTextLayout::FormatRange * selection) Line 2618 C++
        Qt5Guid.dll!QTextLayout::draw(QPainter * p, const QPointF & pos, const QVector<QTextLayout::FormatRange> & selections, const QRectF & clip) Line 1258 C++
        Qt5Widgetsd.dll!QWidgetLineControl::draw(QPainter * painter, const QPoint & offset, const QRect & clip, int flags) Line 654 C++
        Qt5Widgetsd.dll!QLineEdit::paintEvent(QPaintEvent * __formal) Line 2017 C++
        Qt5Widgetsd.dll!QWidget::event(QEvent * event) Line 8959 C++
        Qt5Widgetsd.dll!QLineEdit::event(QEvent * e) Line 1482 C++
        Qt5Widgetsd.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3725 C++
        Qt5Widgetsd.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3688 C++
        Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1044 C++
        Qt5Cored.dll!QCoreApplication::sendSpontaneousEvent(QObject * receiver, QEvent * event) Line 237 C++
        Qt5Widgetsd.dll!QWidgetPrivate::sendPaintEvent(const QRegion & toBePainted) Line 5707 C++
        Qt5Widgetsd.dll!QWidgetPrivate::drawWidget(QPaintDevice * pdev, const QRegion & rgn, const QPoint & offset, int flags, QPainter * sharedPainter, QWidgetBackingStore * backingStore) Line 5651 C++
        Qt5Widgetsd.dll!QWidgetPrivate::paintSiblingsRecursive(QPaintDevice * pdev, const QList<QObject *> & siblings, int index, const QRegion & rgn, const QPoint & offset, int flags, QPainter * sharedPainter, QWidgetBackingStore * backingStore) Line 5843 C++
        Qt5Widgetsd.dll!QWidgetPrivate::drawWidget(QPaintDevice * pdev, const QRegion & rgn, const QPoint & offset, int flags, QPainter * sharedPainter, QWidgetBackingStore * backingStore) Line 5701 C++
        Qt5Widgetsd.dll!QWidgetPrivate::paintSiblingsRecursive(QPaintDevice * pdev, const QList<QObject *> & siblings, int index, const QRegion & rgn, const QPoint & offset, int flags, QPainter * sharedPainter, QWidgetBackingStore * backingStore) Line 5843 C++
        Qt5Widgetsd.dll!QWidgetPrivate::drawWidget(QPaintDevice * pdev, const QRegion & rgn, const QPoint & offset, int flags, QPainter * sharedPainter, QWidgetBackingStore * backingStore) Line 5701 C++
        Qt5Widgetsd.dll!QWidgetBackingStore::doSync() Line 1380 C++
        Qt5Widgetsd.dll!QWidgetBackingStore::sync() Line 1159 C++
        Qt5Widgetsd.dll!QWidgetPrivate::syncBackingStore() Line 1981 C++
        Qt5Widgetsd.dll!QWidget::event(QEvent * event) Line 9123 C++
        Qt5Widgetsd.dll!QMainWindow::event(QEvent * event) Line 1344 C++
        Qt5Widgetsd.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3725 C++
        Qt5Widgetsd.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3688 C++
        Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1044 C++
        Qt5Cored.dll!QCoreApplication::sendEvent(QObject * receiver, QEvent * event) Line 234 C++
        Qt5Cored.dll!QCoreApplicationPrivate::sendPostedEvents(QObject * receiver, int event_type, QThreadData * data) Line 1719 C++
        Qt5Cored.dll!QCoreApplication::sendPostedEvents(QObject * receiver, int event_type) Line 1573 C++
        Qt5Cored.dll!QEventDispatcherWinRT::sendPostedEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 351 C++
        qwinrtd.dll!QWinRTEventDispatcher::sendPostedEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 60 C++
        Qt5Cored.dll!QEventDispatcherWinRT::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 304 C++

       

      Note that the length argument is -87, meaning negativ when it crashes...

      Attachments

        For Gerrit Dashboard: QTBUG-63412
        # Subject Branch Project Status CR V

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            mkalinow Maurice Kalinowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes