Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0, 5.9
-
Windows 10 64 bit
MSVC2013 64 bit
Using the same Qt version built with MSVC2015 32 bit does _not_ crash
-
7aaa7debc455516cbb1b1f536e990b9154272f64 (qtbase/5.11, 23.5.2018,5.11.1), 43ed09fed59d55a8792fad87ef9a75382b5c60ff (qtbase/5.9, 24.9.2018, 5.9.8)
Description
- Run the Text Edit example.
It's in Examples\Qt-5.9\widgets\richtext\textedit\textedit.pro - Select "File" -> "Print..." from the menu.
- In the native print-dialog, click "Print" (or whatever it might show to you).
The example crashes:1 hpc6r186 0x7ffc836018cf 2 DllGetClassObject hpc6r186 0x7ffc8360a5a1 3 DllGetClassObject hpc6r186 0x7ffc8360a047 4 DrvQueryDriverInfo unidrv 0x7ffc9bba5f72 5 GdiPrinterThunk gdi32full 0x7ffcab6fb5a0 6 CheckRadioButton USER32 0x7ffcae0c1a4a 7 KiUserCallbackDispatcher ntdll 0x7ffcae669c54 8 NtGdiStretchBlt win32u 0x7ffcab5616c4 9 StretchBlt gdi32full 0x7ffcab6b9d69 10 StretchBlt GDI32 0x7ffcadcf30a0 11 QWin32PrintEngine::drawPixmap qprintengine_win.cpp 597 0x7ffc92fef36f 12 QPainter::drawPixmap qpainter.cpp 5253 0x7ffc751cd9d3 13 QPicture::exec qpicture.cpp 739 0x7ffc74f09949 14 QPicture::play qpicture.cpp 440 0x7ffc74f078f9 15 QPainter::drawPicture qpainter.cpp 6794 0x7ffc751ccd6d 16 QPainter::drawPicture qpainter.h 929 0x7ffc74da4fa5 17 QPainter::drawPicture qpainter.h 924 0x7ffc74da4ffd 18 QAlphaPaintEngine::flushAndInit qpaintengine_alpha.cpp 335 0x7ffc92fc6b16 19 QWin32PrintEngine::newPage qprintengine_win.cpp 218 0x7ffc92ff1c5c 20 QPrinter::newPage qprinter.cpp 1846 0x7ffc92fd93f1 ... <Mehr>
Printing should not crash the calling program.
Attachments
Issue Links
- is duplicated by
-
QTBUG-66325 Printing is crashing in GDI32.dll StretchBlt
- Closed