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

Crash in QGraphicsScene::addItem()

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes