PASS : tst_QGraphicsView::backgroundBrush() PASS : tst_QGraphicsView::foregroundBrush() Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x000000028d5de0a0 0x00007fff948869ed in memmove$VARIANT$sse42 () (gdb) bt #0 0x00007fff948869ed in memmove$VARIANT$sse42 () #1 0x00000001010aa47a in qt_blend_rgb32_on_rgb32 (destPixels=0x28d5da4a0 "", dbpl=1024, srcPixels=0x28e6fec00 "", sbpl=64, w=16, h=16, const_alpha=256) at qblendfunctions.cpp:400 #2 0x0000000100e7d57f in qt_blend_rgb32_on_rgb32_avx (destPixels=0x28d5da4a0 "", dbpl=1024, srcPixels=0x28e6fec00 "", sbpl=64, w=16, h=16, const_alpha=256) at qdrawhelper_sse2.cpp:138 #3 0x000000010111e9ff in QRasterPaintEnginePrivate::drawImage (this=0x28e706a60, pt=@0x7fff5fbf4fb8, img=@0x7fff5fbf5438, func=0x100e7cc20 , clip=@0x28e714fe0, alpha=256, sr=@0x7fff5fbf4f90) at qpaintengine_raster.cpp:1044 #4 0x0000000101126148 in QRasterPaintEngine::drawImage (this=0x28e704fe0, p=@0x7fff5fbf5240, img=@0x7fff5fbf5438) at qpaintengine_raster.cpp:2151 #5 0x0000000101143825 in QPainter::drawImage (this=0x7fff5fbf5400, p=@0x7fff5fbf5240, image=@0x7fff5fbf5438) at qpainter.cpp:5359 #6 0x00000001011a19a1 in QPainter::drawImage (this=0x7fff5fbf5400, x=0, y=0, image=@0x7fff5fbf5438, sx=0, sy=0, sw=-1, sh=-1, flags={i = 0}) at qpainter.h:860 #7 0x00000001011a0eff in QImageTextureGlyphCache::fillTexture (this=0x28d369f40, c=@0x28d5c9fe4, g=83, subPixelPosition={val = 44}) at qtextureglyphcache.cpp:330 #8 0x00000001011a09a3 in QTextureGlyphCache::fillInPendingGlyphs (this=0x28d369f40) at qtextureglyphcache.cpp:265 #9 0x000000010112b26b in QRasterPaintEngine::drawCachedGlyphs (this=0x2896dbfe0, numGlyphs=30, glyphs=0x7fff5fbf6530, positions=0x7fff5fbf6940, fontEngine=0x22a43cef0) at qpaintengine_raster.cpp:2791 #10 0x000000010112c178 in QRasterPaintEngine::drawTextItem (this=0x2896dbfe0, p=@0x7fff5fbf7318, textItem=@0x7fff5fbf7330) at qpaintengine_raster.cpp:3031 #11 0x00000001011497d5 in QPainterPrivate::drawTextItem (this=0x28d33ff30, p=@0x7fff5fbf7858, _ti=@0x7fff5fbf78b0, textEngine=0x288aa8f30) at qpainter.cpp:6451 #12 0x0000000100fd937b in QTextLine::draw (this=0x7fff5fbf8368, p=0x7fff5fbfa690, pos=@0x7fff5fbf8738, selection=0x0) at qtextlayout.cpp:2555 #13 0x0000000100fd7629 in QTextLayout::draw (this=0x288aa6ff0, p=0x7fff5fbfa690, pos=@0x7fff5fbf9610, selections=@0x7fff5fbf89f0, clip=@0x7fff5fbf8910) at qtextlayout.cpp:1233 #14 0x000000010102d5fe in QTextDocumentLayoutPrivate::drawBlock (this=0x2888faee0, offset=@0x7fff5fbf9610, painter=0x7fff5fbfa690, context=@0x7fff5fbf8c38, bl=@0x7fff5fbf8c18, inRootFrame=true) at qtextdocumentlayout.cpp:1338 #15 0x000000010102c97d in QTextDocumentLayoutPrivate::drawFlow (this=0x2888faee0, offset=@0x7fff5fbf9610, painter=0x7fff5fbfa690, context=@0x7fff5fbf97a8, it=@0x7fff5fbf8ea8, floats=@0x7fff5fbf8ed8, cursorBlockNeedingRepaint=0x7fff5fbf95f0) at qtextdocumentlayout.cpp:1236 #16 0x000000010102b9ed in QTextDocumentLayoutPrivate::drawFrame (this=0x2888faee0, offset=@0x7fff5fbf96c8, painter=0x7fff5fbfa690, context=@0x7fff5fbf97a8, frame=0x288a94ff0) at qtextdocumentlayout.cpp:1087 #17 0x000000010103776e in QTextDocumentLayout::draw (this=0x2888f8ff0, painter=0x7fff5fbfa690, context=@0x7fff5fbf97a8) at qtextdocumentlayout.cpp:2846 #18 0x00000001003fd0d2 in QWidgetTextControl::drawContents (this=0x2888d7ff0, p=0x7fff5fbfa690, rect=@0x7fff5fbf98d0, widget=0x0) at widgets/qwidgettextcontrol.cpp:3085 #19 0x0000000100560c82 in QGraphicsTextItem::paint (this=0x2888cffd0, painter=0x7fff5fbfa690, option=0x288897f20, widget=0x288d90fd0) at graphicsview/qgraphicsitem.cpp:9914 #20 0x0000000100560d9f in non-virtual thunk to QGraphicsTextItem::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () at graphicsview/qgraphicsitem.cpp:9924 #21 0x000000010059e92e in QGraphicsScenePrivate::draw (this=0x288897d10, item=0x2888cffe0, painter=0x7fff5fbfa690, viewTransform=0x7fff5fbfa5c8, transformPtr=0x7fff5fbf9ed0, exposedRegion=0x288c06ff0, widget=0x288d90fd0, opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4860 #22 0x000000010059e25f in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x288897d10, item=0x2888cffe0, painter=0x7fff5fbfa690, viewTransform=0x7fff5fbfa5c8, exposedRegion=0x288c06ff0, widget=0x288d90fd0, parentOpacity=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4752 #23 0x000000010059d4e9 in QGraphicsScenePrivate::drawItems (this=0x288897d10, painter=0x7fff5fbfa690, viewTransform=0x7fff5fbfa5c8, exposedRegion=0x288c06ff0, widget=0x288d90fd0) at graphicsview/qgraphicsscene.cpp:4635 #24 0x00000001005ced11 in QGraphicsView::paintEvent (this=0x7fff5fbfe100, event=0x7fff5fbfbbe8) at graphicsview/qgraphicsview.cpp:3473 #25 0x00000001001b0fd0 in QWidget::event (this=0x7fff5fbfe100, event=0x7fff5fbfbbe8) at qwidget.cpp:8000 #26 0x0000000100337d4d in QFrame::event (this=0x7fff5fbfe100, e=0x7fff5fbfbbe8) at widgets/qframe.cpp:534 #27 0x00000001003e5c19 in QAbstractScrollArea::viewportEvent (this=0x7fff5fbfe100, e=0x7fff5fbfbbe8) at widgets/qabstractscrollarea.cpp:1132 #28 0x00000001005cc109 in QGraphicsView::viewportEvent (this=0x7fff5fbfe100, event=0x7fff5fbfbbe8) at graphicsview/qgraphicsview.cpp:2868 #29 0x00000001003e77ff in QAbstractScrollAreaPrivate::viewportEvent (this=0x288c06b50, event=0x7fff5fbfbbe8) at qabstractscrollarea_p.h:102 #30 0x00000001003e7205 in QAbstractScrollAreaFilter::eventFilter (this=0x288cecfe0, o=0x288d90fd0, e=0x7fff5fbfbbe8) at qabstractscrollarea_p.h:118 #31 0x0000000101a5a8ac in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x104560ea0, receiver=0x288d90fd0, event=0x7fff5fbfbbe8) at qcoreapplication.cpp:844 #32 0x0000000100159b8b in QApplicationPrivate::notify_helper (this=0x104560ea0, receiver=0x288d90fd0, e=0x7fff5fbfbbe8) at qapplication.cpp:3615 #33 0x000000010015e773 in QApplication::notify (this=0x7fff5fbff820, receiver=0x288d90fd0, e=0x7fff5fbfbbe8) at qapplication.cpp:3584 #34 0x0000000101a5a40f in QCoreApplication::notifyInternal (this=0x7fff5fbff820, receiver=0x288d90fd0, event=0x7fff5fbfbbe8) at qcoreapplication.cpp:748 #35 0x000000010016209f in QCoreApplication::sendSpontaneousEvent (receiver=0x288d90fd0, event=0x7fff5fbfbbe8) at qcoreapplication.h:209 #36 0x00000001001a9dcf in QWidgetPrivate::drawWidget (this=0x288d92e40, pdev=0x2896a9fe0, rgn=@0x7fff5fbfbe48, offset=@0x7fff5fbfbe28, flags=4, sharedPainter=0x0, backingStore=0x2892b4fb0) at qwidget.cpp:5101 #37 0x00000001001aa899 in QWidgetPrivate::paintSiblingsRecursive (this=0x288c06b50, pdev=0x2896a9fe0, siblings=@0x288c06b68, index=0, rgn=@0x7fff5fbfc000, offset=@0x2892b4ff4, flags=4, sharedPainter=0x0, backingStore=0x2892b4fb0) at qwidget.cpp:5294 #38 0x00000001001aa6ec in QWidgetPrivate::paintSiblingsRecursive (this=0x288c06b50, pdev=0x2896a9fe0, siblings=@0x288c06b68, index=1, rgn=@0x7fff5fbfc6b8, offset=@0x2892b4ff4, flags=4, sharedPainter=0x0, backingStore=0x2892b4fb0) at qwidget.cpp:5280 #39 0x00000001001aa2aa in QWidgetPrivate::drawWidget (this=0x288c06b50, pdev=0x2896a9fe0, rgn=@0x7fff5fbfc6b8, offset=@0x2892b4ff4, flags=5, sharedPainter=0x0, backingStore=0x2892b4fb0) at qwidget.cpp:5150 #40 0x000000010016f99a in QWidgetBackingStore::sync (this=0x2892b4fb0) at qwidgetbackingstore.cpp:1090 #41 0x000000010019fe36 in QWidgetPrivate::syncBackingStore (this=0x288c06b50) at qwidget.cpp:1670 #42 0x00000001001b1522 in QWidget::event (this=0x7fff5fbfe100, event=0x28d305fe0) at qwidget.cpp:8144 #43 0x0000000100337d4d in QFrame::event (this=0x7fff5fbfe100, e=0x28d305fe0) at widgets/qframe.cpp:534 #44 0x00000001003e5998 in QAbstractScrollArea::event (this=0x7fff5fbfe100, e=0x28d305fe0) at widgets/qabstractscrollarea.cpp:1085 #45 0x00000001005cb7b4 in QGraphicsView::event (this=0x7fff5fbfe100, event=0x28d305fe0) at graphicsview/qgraphicsview.cpp:2740 #46 0x0000000100159bb5 in QApplicationPrivate::notify_helper (this=0x104560ea0, receiver=0x7fff5fbfe100, e=0x28d305fe0) at qapplication.cpp:3619 #47 0x000000010015e773 in QApplication::notify (this=0x7fff5fbff820, receiver=0x7fff5fbfe100, e=0x28d305fe0) at qapplication.cpp:3584 #48 0x0000000101a5a40f in QCoreApplication::notifyInternal (this=0x7fff5fbff820, receiver=0x7fff5fbfe100, event=0x28d305fe0) at qcoreapplication.cpp:748 #49 0x0000000101a5eb54 in QCoreApplication::sendEvent (receiver=0x7fff5fbfe100, event=0x28d305fe0) at qcoreapplication.h:206 #50 0x0000000101a5b8aa in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x104562f90) at qcoreapplication.cpp:1349 #51 0x0000000101a5ad08 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at qcoreapplication.cpp:1209 #52 0x0000000100e8eb62 in QWindowSystemInterface::sendWindowSystemEvents (flags={i = 0}) at qwindowsysteminterface.cpp:480 #53 0x00000001065e10e4 in QCocoaEventDispatcherPrivate::processPostedEvents (this=0x1301bbef0) at qcocoaeventdispatcher.mm:1035 #54 0x00000001065e0758 in QCocoaEventDispatcher::processEvents (this=0x1301b9ff0, flags={i = 0}) at qcocoaeventdispatcher.mm:655 #55 0x0000000101a5a978 in QCoreApplication::processEvents (flags={i = 0}) at qcoreapplication.cpp:920 #56 0x00000001000102a3 in tst_QGraphicsView::matrix (this=0x7fff5fbff800) at tst_qgraphicsview.cpp:1040 #57 0x00000001000414ae in tst_QGraphicsView::qt_static_metacall (_o=0x7fff5fbff800, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x7fff5fbfe520) at tst_qgraphicsview.moc:530 #58 0x0000000101a68353 in QMetaMethod::invoke (this=0x7fff5fbfe970, object=0x7fff5fbff800, connectionType=Qt::DirectConnection, returnValue={ = {_data = 0x0, _name = 0x0}, }, val0={_data = 0x0, _name = 0x0}, val1={_data = 0x0, _name = 0x0}, val2={_data = 0x0, _name = 0x0}, val3={_data = 0x0, _name = 0x0}, val4={_data = 0x0, _name = 0x0}, val5={_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7={_data = 0x0, _name = 0x0}, val8={_data = 0x0, _name = 0x0}, val9={_data = 0x0, _name = 0x0}) at qmetaobject.cpp:2146 #59 0x0000000101a67d48 in QMetaObject::invokeMethod (obj=0x7fff5fbff800, member=0x2842f0ff0 "matrix", type=Qt::DirectConnection, ret={ = {_data = 0x0, _name = 0x0}, }, val0={_data = 0x0, _name = 0x0}, val1={_data = 0x0, _name = 0x0}, val2={_data = 0x0, _name = 0x0}, val3={_data = 0x0, _name = 0x0}, val4={_data = 0x0, _name = 0x0}, val5={_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7={_data = 0x0, _name = 0x0}, val8={_data = 0x0, _name = 0x0}, val9={_data = 0x0, _name = 0x0}) at qmetaobject.cpp:1462 #60 0x0000000100e1ce00 in QMetaObject::invokeMethod (obj=0x7fff5fbff800, member=0x2842f0ff0 "matrix", type=Qt::DirectConnection, val0={_data = 0x0, _name = 0x0}, val1={_data = 0x0, _name = 0x0}, val2={_data = 0x0, _name = 0x0}, val3={_data = 0x0, _name = 0x0}, val4={_data = 0x0, _name = 0x0}, val5={_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7={_data = 0x0, _name = 0x0}, val8={_data = 0x0, _name = 0x0}, val9={_data = 0x0, _name = 0x0}) at qobjectdefs.h:398 #61 0x0000000100e17a76 in qInvokeTestMethodDataEntry (slot=0x2842f0ff0 "matrix") at qtestcase.cpp:1650 #62 0x0000000100e17388 in qInvokeTestMethod (slotName=0x2842eaef8 "matrix()", data=0x0) at qtestcase.cpp:1768 #63 0x0000000100e147f8 in qInvokeTestMethods (testObject=0x7fff5fbff800) at qtestcase.cpp:1922 #64 0x0000000100e1424f in QTest::qExec (testObject=0x7fff5fbff800, argc=1, argv=0x7fff5fbff868) at qtestcase.cpp:2138 #65 0x0000000100041115 in main (argc=1, argv=0x7fff5fbff868) at tst_qgraphicsview.cpp:4618