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

Windows: Crash in qimage_conversions -> convert_RGB_to_RGB16_inplace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.2, 5.5.0
    • 5.3.2, 5.4.0
    • Image formats

    Description

      We encounted a crash on some virtual machines with Qt 5.4.0 in convert_RGB_to_RGB16_inplace, because it is setting newData to 0x3c.

      This crash is reproducable in all qtwebkit-examples/examples/webkitqml examples: just execute them, they're crashing without user interaction. Also, widget examples are not affected.

      The attechments contain the stack traces of flickrview.exe and youtubeview.exe

      I've also attached the output of sysinfo32

      7	realloc	MSVCR110D		0x6ea98c57	
      8	convert_RGB_to_RGB16_inplace	qimage_conversions.cpp	892	0x5d2dfe40	
      9	QImageData::convertInPlace	qimage.cpp	4567	0x5d2c5d38	
      10	QRasterPlatformPixmap::createPixmapForImage	qpixmap_raster.cpp	344	0x5d30878e	
      11	QRasterPlatformPixmap::fromImageInPlace	qpixmap_raster.cpp	138	0x5d307ef9	
      12	QPixmap::fromImageInPlace	qpixmap.cpp	1633	0x5d2fd992	
      13	QPixmap::fromImage	qpixmap.h	129	0x5d217d94	
      14	WebKit::ShareableBitmap::createImage	ShareableBitmapQt.cpp	55	0x528e9d98	
      15	WebKit::WebCoordinatedSurface::copyToTexture	WebCoordinatedSurface.cpp	214	0x52a1859e	
      16	WebCore::CoordinatedBackingStoreTile::swapBuffers	CoordinatedBackingStore.cpp	56	0x536dfae3	
      17	WebCore::CoordinatedBackingStore::commitTileOperations	CoordinatedBackingStore.cpp	190	0x536dfe70	
      18	WebCore::CoordinatedGraphicsScene::commitPendingBackingStoreOperations	CoordinatedGraphicsScene.cpp	611	0x530e5fca	
      19	WebCore::CoordinatedGraphicsScene::commitSceneState	CoordinatedGraphicsScene.cpp	636	0x530e47ce	
      20	WTF::FunctionWrapper<void (__thiscall WebCore::CoordinatedGraphicsScene::*)(WebCore::CoordinatedGraphicsState const &)>::operator()	Functional.h	247	0x52950f8d	
      21	WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (__thiscall WebCore::CoordinatedGraphicsScene::*)(WebCore::Color const &)>,void __cdecl(WebCore::CoordinatedGraphicsScene *,WebCore::Color)>::operator()	Functional.h	523	0x52950f64	
      22	WTF::Function<void __cdecl(void)>::operator()	Functional.h	705	0x529a34e1	
      23	WebCore::CoordinatedGraphicsScene::syncRemoteContent	CoordinatedGraphicsScene.cpp	679	0x530e59f8	
      24	WebCore::CoordinatedGraphicsScene::paintToCurrentGLContext	CoordinatedGraphicsScene.cpp	82	0x530e3e33	
      25	WebKit::ContentsSGNode::render	QtWebPageSGNode.cpp	66	0x5287de45	
      26	QSGBatchRenderer::Renderer::renderRenderNode	qsgbatchrenderer.cpp	2667	0x6a7d04b2	
      27	QSGBatchRenderer::Renderer::renderBatches	qsgbatchrenderer.cpp	2435	0x6a7cdceb	
      28	QSGBatchRenderer::Renderer::render	qsgbatchrenderer.cpp	2592	0x6a7cb169	
      29	QSGRenderer::renderScene	qsgrenderer.cpp	207	0x6a7ea56b	
      30	QSGRenderer::renderScene	qsgrenderer.cpp	169	0x6a7ea775	
      31	QSGRenderContext::renderNextFrame	qsgcontext.cpp	556	0x6a803d2e	
      32	QQuickWindowPrivate::renderSceneGraph	qquickwindow.cpp	380	0x6a87364c	
      33	QSGWindowsRenderLoop::renderWindow	qsgwindowsrenderloop.cpp	424	0x6a83acd5	
      34	QSGWindowsRenderLoop::render	qsgwindowsrenderloop.cpp	360	0x6a83a769	
      35	QSGWindowsRenderLoop::event	qsgwindowsrenderloop.cpp	340	0x6a83b1aa	
      36	QApplicationPrivate::notify_helper	qapplication.cpp	3722	0x5acd2eee	
      37	QApplication::notify	qapplication.cpp	3164	0x5accf349	
      38	QCoreApplication::notifyInternal	qcoreapplication.cpp	932	0x6b64a4c4	
      39	QCoreApplication::sendEvent	qcoreapplication.h	228	0x6b6526f9	
      40	QEventDispatcherWin32Private::sendTimerEvent	qeventdispatcher_win.cpp	615	0x6b6e4498	
      41	QEventDispatcherWin32::event	qeventdispatcher_win.cpp	1196	0x6b6e3d5c	
      42	QApplicationPrivate::notify_helper	qapplication.cpp	3722	0x5acd2eee	
      43	QApplication::notify	qapplication.cpp	3164	0x5accf349	
      44	QCoreApplication::notifyInternal	qcoreapplication.cpp	932	0x6b64a4c4	
      45	QCoreApplication::sendEvent	qcoreapplication.h	228	0x6b6526f9	
      46	QCoreApplicationPrivate::sendPostedEvents	qcoreapplication.cpp	1536	0x6b64b4c6	
      47	QCoreApplication::sendPostedEvents	qcoreapplication.cpp	1394	0x6b648f42	
      48	QWindowsGuiEventDispatcher::sendPostedEvents	qwindowsguieventdispatcher.cpp	81	0x6db35d81	
      49	qt_internal_proc	qeventdispatcher_win.cpp	414	0x6b6e22a2	
      50	InternalCallWinProc	USER32		0x770e62fa	
      51	UserCallWinProcCheckWow	USER32		0x770e6d3a	
      52	DispatchMessageWorker	USER32		0x770e77c4	
      53	DispatchMessageW	USER32		0x770e788a	
      54	QEventDispatcherWin32::processEvents	qeventdispatcher_win.cpp	807	0x6b6e2c78	
      55	QWindowsGuiEventDispatcher::processEvents	qwindowsguieventdispatcher.cpp	73	0x6db35cac	
      56	QEventLoop::processEvents	qeventloop.cpp	129	0x6b64630c	
      57	QEventLoop::exec	qeventloop.cpp	204	0x6b646512	
      58	QCoreApplication::exec	qcoreapplication.cpp	1185	0x6b648a92	
      59	QGuiApplication::exec	qguiapplication.cpp	1533	0x5d2480e8	
      60	QApplication::exec	qapplication.cpp	2957	0x5accee49	
      61	main	TDMobileMain.cpp	582	0x13595a5	
      

      Attachments

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              sebastianphilipp Sebastian Philipp
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes