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

Crash in QGraphicsScene::addItem()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.7.0
    • 4.7.0
    • Widgets: GraphicsView
    • None
    • windows 7
    • 7d09f690d5b4c56699092444665d1879deb86a6e

      Attached is a sample program that demonstrates a crash in QGraphicsScene::addItem(). After adding a couple of items, and then removing and deleting those items, the subsequent call to add item causes a crash. This is related to #QTBUG-6544, but is still reproducible in qt 4.7 beta 2. QGraphicsScenePrivate::tabFocusFirst member can end up being a dangling pointer.

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

            ylopes Yoann Lopes
            steno Jon Mullen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes