Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-7631

QtCreator frequently crashing in QNativeImage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.5.0, Qt Creator 2.6.0-rc
    • All Other Issues
    • None
    • Windows 7 x64

      QtCreator versions tried:
      - released 2.5 binary version
      - debug builds with 32-bit VS2010, Qt 4.8.2 with QtCreator 2.5 sources, Git from 2012-07-13

    Description

      QtCreator since version 2.5 frequently crashes in QNativeImage (stack trace below). QtCreator 2.3 is stable on the same system.

      Stack trace from VS2010 debug build of QtCreator 2.5 with Qt 4.8.2.

      (17f0.1bd4): Access violation - code c0000005 (first/second chance not available)
      eax=00000000 ebx=00209584 ecx=00000000 edx=66794244 esi=00000002 edi=00000000
      eip=77c3013d esp=00209534 ebp=002095d0 iopl=0 nv up ei pl zr na pe nc
      cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000246
      ntdll!ZwWaitForMultipleObjects+0x15:
      77c3013d 83c404 add esp,4
      0:000> K
      ChildEBP RetAddr
      00209534 76030bdd ntdll!ZwWaitForMultipleObjects+0x15
      002095d0 76601a2c KERNELBASE!WaitForMultipleObjectsEx+0x100
      00209618 76604208 kernel32!WaitForMultipleObjectsExImplementation+0xe0
      00209634 766280a4 kernel32!WaitForMultipleObjects+0x18
      002096a0 76627f63 kernel32!WerpReportFaultInternal+0x186
      002096b4 76627858 kernel32!WerpReportFault+0x70
      002096c4 766277d7 kernel32!BasepReportFault+0x20
      00209750 77c874df kernel32!UnhandledExceptionFilter+0x1af
      00209758 77c873bc ntdll!__RtlUserThreadStart+0x62
      0020976c 77c87261 ntdll!_EH4_CallFilterFunc+0x12
      00209794 77c6b459 ntdll!_except_handler4+0x8e
      002097b8 77c6b42b ntdll!ExecuteHandler2+0x26
      002097dc 77c6b3ce ntdll!ExecuteHandler+0x24
      00209868 77c20133 ntdll!RtlDispatchException+0x127
      00209868 65edb5b0 ntdll!KiUserExceptionDispatcher+0xf
      00209c34 6618ad00 QtGuid4!QNativeImage::QNativeImage+0x210 [c:\qt\qt-4.8.2-src\src\gui\image\qnativeimage.cpp @ 123]
      00209d00 6618aeea QtGuid4!QFontEngineWin::drawGDIGlyph+0x2a0 [c:\qt\qt-4.8.2-src\src\gui\text\qfontengine_win.cpp @ 1158]
      00209e00 66085b2c QtGuid4!QFontEngineWin::alphaMapForGlyph+0xaa [c:\qt\qt-4.8.2-src\src\gui\text\qfontengine_win.cpp @ 1206]
      00209e68 65ff72a7 QtGuid4!QFontEngine::alphaMapForGlyph+0x5c [c:\qt\qt-4.8.2-src\src\gui\text\qfontengine.cpp @ 617]
      00209e88 65ff759a QtGuid4!QTextureGlyphCache::textureMapForGlyph+0x87 [c:\qt\qt-4.8.2-src\src\gui\painting\qtextureglyphcache.cpp @ 333]
      00209f84 65ff71f7 QtGuid4!QImageTextureGlyphCache::fillTexture+0x4a [c:\qt\qt-4.8.2-src\src\gui\painting\qtextureglyphcache.cpp @ 379]
      00209fe0 6601f3dc QtGuid4!QTextureGlyphCache::fillInPendingGlyphs+0x1b7 [c:\qt\qt-4.8.2-src\src\gui\painting\qtextureglyphcache.cpp @ 289]
      0020a05c 6601fadc QtGuid4!QRasterPaintEngine::drawCachedGlyphs+0x11c [c:\qt\qt-4.8.2-src\src\gui\painting\qpaintengine_raster.cpp @ 2885]
      0020ad14 65f81222 QtGuid4!QRasterPaintEngine::drawTextItem+0x14c [c:\qt\qt-4.8.2-src\src\gui\painting\qpaintengine_raster.cpp @ 3113]
      0020aeac 660d96c9 QtGuid4!QPainter::drawTextItem+0x782 [c:\qt\qt-4.8.2-src\src\gui\painting\qpainter.cpp @ 6710]
      0020b7d4 660d596b QtGuid4!QTextLine::draw+0x1139 [c:\qt\qt-4.8.2-src\src\gui\text\qtextlayout.cpp @ 2461]
      0020bb6c 64903371 QtGuid4!QTextLayout::draw+0xcab [c:\qt\qt-4.8.2-src\src\gui\text\qtextlayout.cpp @ 1184]
      0020c058 664beaac ProjectExplorerd!ProjectExplorer::Internal::TaskDelegate::paint+0x881 [c:\qt\qt-creator-git-src\src\plugins\projectexplorer\taskwindow.cpp @ 834]
      0020c26c 65e0af08 QtGuid4!QListView::paintEvent+0x78c [c:\qt\qt-4.8.2-src\src\gui\itemviews\qlistview.cpp @ 1040]
      0020c450 663190d2 QtGuid4!QWidget::event+0x738 [c:\qt\qt-4.8.2-src\src\gui\kernel\qwidget.cpp @ 8518]
      0020c464 663d1b74 QtGuid4!QFrame::event+0x32 [c:\qt\qt-4.8.2-src\src\gui\widgets\qframe.cpp @ 557]
      0020c478 66494531 QtGuid4!QAbstractScrollArea::viewportEvent+0x44 [c:\qt\qt-4.8.2-src\src\gui\widgets\qabstractscrollarea.cpp @ 1043]
      0020c650 65d66dd8 QtGuid4!QAbstractItemView::viewportEvent+0x551 [c:\qt\qt-4.8.2-src\src\gui\itemviews\qabstractitemview.cpp @ 1645]
      0020c664 663d34c9 QtGuid4!QAbstractScrollAreaPrivate::viewportEvent+0x28 [c:\qt\qt-4.8.2-src\src\gui\widgets\qabstractscrollarea_p.h @ 100]
      0020c678 66d6d010 QtGuid4!QAbstractScrollAreaFilter::eventFilter+0x29 [c:\qt\qt-4.8.2-src\src\gui\widgets\qabstractscrollarea_p.h @ 116]
      0020c69c 65d88ab2 QtCored4!QCoreApplicationPrivate::sendThroughObjectEventFilters+0xb0 [c:\qt\qt-4.8.2-src\src\corelib\kernel\qcoreapplication.cpp @ 1025]
      0020c6c0 65d88782 QtGuid4!QApplicationPrivate::notify_helper+0xe2 [c:\qt\qt-4.8.2-src\src\gui\kernel\qapplication.cpp @ 4547]
      0020cb10 66d6cdd1 QtGuid4!QApplication::notify+0x2302 [c:\qt\qt-4.8.2-src\src\gui\kernel\qapplication.cpp @ 4516]
      0020cb64 66e144d8 QtCored4!QCoreApplication::notifyInternal+0xa1 [c:\qt\qt-4.8.2-src\src\corelib\kernel\qcoreapplication.cpp @ 915]
      0020cb78 65e0487a QtCored4!QCoreApplication::sendSpontaneousEvent+0x38 [c:\qt\qt-4.8.2-src\src\corelib\kernel\qcoreapplication.h @ 234]
      0020cd1c 660744ed QtGuid4!QWidgetPrivate::drawWidget+0x69a [c:\qt\qt-4.8.2-src\src\gui\kernel\qwidget.cpp @ 5594]
      0020cf68 65dfd02d QtGuid4!QWidgetBackingStore::sync+0xc8d [c:\qt\qt-4.8.2-src\src\gui\painting\qbackingstore.cpp @ 1367]
      0020cf94 65e0b35c QtGuid4!QWidgetPrivate::syncBackingStore+0x9d [c:\qt\qt-4.8.2-src\src\gui\kernel\qwidget.cpp @ 1894]
      0020d174 6633bad4 QtGuid4!QWidget::event+0xb8c [c:\qt\qt-4.8.2-src\src\gui\kernel\qwidget.cpp @ 8665]
      0020d1f4 659aa12a QtGuid4!QMainWindow::event+0x364 [c:\qt\qt-4.8.2-src\src\gui\widgets\qmainwindow.cpp @ 1479]
      0020d204 65d88ace Utilsd!Utils::AppMainWindow::event+0x3a [c:\qt\qt-creator-git-src\src\libs\utils\appmainwindow.cpp @ 101]
      0020d224 65d88782 QtGuid4!QApplicationPrivate::notify_helper+0xfe [c:\qt\qt-4.8.2-src\src\gui\kernel\qapplication.cpp @ 4551]
      0020d674 66d6cdd1 QtGuid4!QApplication::notify+0x2302 [c:\qt\qt-4.8.2-src\src\gui\kernel\qapplication.cpp @ 4516]
      0020d6c8 66d72279 QtCored4!QCoreApplication::notifyInternal+0xa1 [c:\qt\qt-4.8.2-src\src\corelib\kernel\qcoreapplication.cpp @ 915]
      0020d6dc 66d6dc2b QtCored4!QCoreApplication::sendEvent+0x39 [c:\qt\qt-4.8.2-src\src\corelib\kernel\qcoreapplication.h @ 231]
      0020d768 66db4eca QtCored4!QCoreApplicationPrivate::sendPostedEvents+0x31b [c:\qt\qt-4.8.2-src\src\corelib\kernel\qcoreapplication.cpp @ 1539]
      0020d7f4 765062fa QtCored4!qt_internal_proc+0x24a [c:\qt\qt-4.8.2-src\src\corelib\kernel\qeventdispatcher_win.cpp @ 496]
      0020d820 76506d3a user32!InternalCallWinProc+0x23
      0020d898 765077c4 user32!UserCallWinProcCheckWow+0x109
      0020d8f8 7650788a user32!DispatchMessageWorker+0x3bc
      0020d908 66db5ee6 user32!DispatchMessageW+0xf
      0020f70c 65e419ae QtCored4!QEventDispatcherWin32::processEvents+0x546 [c:\qt\qt-4.8.2-src\src\corelib\kernel\qeventdispatcher_win.cpp @ 810]
      0020f720 66d6a26e QtGuid4!QGuiEventDispatcherWin32::processEvents+0x1e [c:\qt\qt-4.8.2-src\src\gui\kernel\qapplication_win.cpp @ 1202]
      0020f73c 66d6a426 QtCored4!QEventLoop::processEvents+0x6e [c:\qt\qt-4.8.2-src\src\corelib\kernel\qeventloop.cpp @ 150]
      0020f7a8 66d6d30d QtCored4!QEventLoop::exec+0x176 [c:\qt\qt-4.8.2-src\src\corelib\kernel\qeventloop.cpp @ 204]
      0020f7dc 65d86478 QtCored4!QCoreApplication::exec+0xfd [c:\qt\qt-4.8.2-src\src\corelib\kernel\qcoreapplication.cpp @ 1187]
      0020f7e4 013e7221 QtGuid4!QApplication::exec+0x18 [c:\qt\qt-4.8.2-src\src\gui\kernel\qapplication.cpp @ 3813]
      0020fc6c 013ec1af qtcreator!main+0x2431 [c:\qt\qt-creator-git-src\src\app\main.cpp @ 438]
      0020fcbc 013ebfdf qtcreator!__tmainCRTStartup+0x1bf [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 555]
      0020fcc4 7660339a qtcreator!mainCRTStartup+0xf [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 371]
      0020fcd0 77c49ef2 kernel32!BaseThreadInitThunk+0xe
      0020fd10 77c49ec5 ntdll!__RtlUserThreadStart+0x70
      0020fd28 00000000 ntdll!_RtlUserThreadStart+0x1b
      0:000> .ecxr
      eax=00000000 ebx=00000000 ecx=00000000 edx=66794244 esi=0020c120 edi=00000000
      eip=65edb5b0 esp=00209bb8 ebp=00209c34 iopl=0 nv up ei pl zr na pe nc
      cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
      QtGuid4!QNativeImage::QNativeImage+0x210:
      65edb5b0 8b11 mov edx,dword ptr [ecx] ds:002b:00000000=????????

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              tni Tilo Nitzsche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes