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

QWindowsPrintDevice::printableMargins() crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.2
    • 5.3.0
    • GUI: Printing
    • None
    • Windows 7
    • 3226a71a89f63fc590d1fa371c96bdd1dbe1e286 (branch 5.3, 20.6.2014, 5.3.2)

    Description

      We have a crash report from a user with the following stacktrace:

          Dragonframe.exe!QWindowsPrintDevice::printableMargins()  + 0xc3 bytes   
      C++
           Dragonframe.exe!QPrintDevice::printableMargins()  + 0x34 bytes    C++
           Dragonframe.exe!QWin32PrintEnginePrivate::setPageSize()  + 0x71 bytes   
      C++
           Dragonframe.exe!QWin32PrintEnginePrivate::updatePageLayout()  + 0xdb bytes
         C++
           Dragonframe.exe!QWin32PrintEngine::setGlobalDevMode()  + 0x1ec bytes   
      C++
           Dragonframe.exe!QPrintDialogPrivate::QPrintDialogPrivate()  + 0xe9 bytes  
       C++
           Dragonframe.exe!QPrintDialogPrivate::openWindowsPrintDialogModally()  +
      0x285 bytes    C++
           Dragonframe.exe!KeypadFrame::printKeypad()  Line 506 + 0x11 bytes    C++
           Dragonframe.exe!QMetaObject::activate()  + 0x4f1 bytes    C++
           Dragonframe.exe!QMetaObject::activate()  + 0x22 bytes    C++
           Dragonframe.exe!QAbstractButton::pressed()  + 0xf bytes    C++
           Dragonframe.exe!QAbstractButtonPrivate::emitPressed()  + 0x25 bytes    C++
           Dragonframe.exe!QAbstractButton::mousePressEvent()  + 0x57 bytes    C++
           Dragonframe.exe!QWidget::event()  + 0x8f bytes    C++
           Dragonframe.exe!QAbstractButton::event()  + 0x9d bytes    C++
           Dragonframe.exe!QPushButton::event()  + 0x73 bytes    C++
           Dragonframe.exe!QApplicationPrivate::notify_helper()  + 0x98 bytes    C++
           Dragonframe.exe!QApplication::notify()  + 0x6d0 bytes    C++
           Dragonframe.exe!QApplicationPrivate::notify_helper()  + 0x98 bytes    C++
           Dragonframe.exe!QApplication::notify()  + 0x17be bytes    C++
      

      The exception reported is:

      Unhandled exception at 0x004d20f3 (Dragonframe.exe) in crash-10069.dmp: 0xC0000005: Access violation writing location 0x0000004e

      So far we haven't been able to reproduce the bug locally. But I see that there were a few changes to these classes for 5.3, so maybe someone can figure out how this might happen.

      Attachments

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

        Activity

          People

            dzedsystems Dyami Caliri
            dzedsystems Dyami Caliri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes