Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Qt/QML : 0xc0000005: read access violation, QOpenGLFunctions_3_2_Compatibility::glBeginTransformFeedBack

    QML and Qt Quick
    opengl qt3d runtimeerror
    1
    1
    1295
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dinendal
      Dinendal last edited by Dinendal

      I have to debug a program I didn't write myself and have difficulties finding the source of the error. While I run the program I get an error, sometimes it takes 10 seconds, sometimes 5 minutes. Every functionalities of the program are working though.

      The error is : Exception at 0x553d90a5, code: 0xc0000005: read access violation at: 0x0, flags=0x0 (first chance).

      My debugger stops in the thread 0 on the function QOpenGLFunctions_3_2_Compatibility::glBeginTransformFeedBack that I'm not sure how it is called since the program is mainly QML, I guess it is related to the scene3D part.

      What is the QML functions which starts the BeginTransformFeedBack function ?

      Update : it acutally seems that it doesn't come from the 3D but from the video displayed. By commentating the part of the code related to the source of the image it doesn't crash anymore :

      Image {
      objectName: "videoStreamFrame"
      cache: false
      anchors.centerIn: parent
      //source: "image://videostream/yellow"
      
      function reload() {
          var oldSource = source;
          source = "";
          source = oldSource;
      }
      

      But I still don't see how to fix the bug.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post