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

Segmentation Fault when closing scene with Textures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt3D 1.0
    • Qt3D TP2
    • Qt3D
    • None
    • 35e1fc8ae0ef05eb59c55de707813233757de456

    Description

      When using Qt Creator 2.3 and debugging a scene using textures such as the following:

      import QtQuick 2.0
      import Qt3D 1.0
      import Qt3D.Shapes 1.0
      
      Viewport {
          width: 480; height: 320
      
          Cube {
              effect: Effect { texture: "qtlogo.png" }
          }
      }
      

      Upon closing the Viewer, a segmentation fault is reported. The debugger points to a line in qopenglcontext.cpp.
      This wasn't occurring when using Qt Creator 2.4.
      When simply running the code without the debugger, there is no indication that this occurs.

      Attachments

        Issue Links

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

          Activity

            People

              z35liu Zheng Liu (closed Nokia identity) (Inactive)
              chham Christopher Ham (closed Nokia identity) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes