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

QOpenGLWidget render crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      windows 10 21H1
      Qt 5.15.2 msvc2019_64
    • Platform/s:
      Windows

      Description

      QOpenGLWidget render crash in QOpenGLMultiGroupSharedResource.cpp

      template <typename T>
          T *value(QOpenGLContext *context) {
              QOpenGLContextGroup *group = context->shareGroup();
              // Have to use our own mutex here, not the group's, since
              // m_groups has to be protected too against any concurrent access.
              QMutexLocker locker(&m_mutex);
              T *resource = static_cast<T *>(group->d_func()->m_resources.value(this, 0));
              if (!resource) {
                  resource = new T(context);
                  insert(context, resource);
              }
              return resource;
          }
      

      the group is NULL

       

      here is call stack

       

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            jaredtao jared tao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes