Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. A bug in Qt3D in Qt 5.11

A bug in Qt3D in Qt 5.11

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 1.6k Views
  • 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.
  • W Offline
    W Offline
    wang_qt
    wrote on last edited by
    #1

    I modified the example, custom-mesh-cpp, provided by Qt to to show the bug.

    I make the Qt3D display a custom mesh with large number of vertices, as below,
    for(int i=0;i<100000;i++)
    {
    vertices.push_back(v0);vertices.push_back(red);
    vertices.push_back(v1);vertices.push_back(blue);
    vertices.push_back(v2);vertices.push_back(green);
    vertices.push_back(v3);vertices.push_back(white);
    }

    After modification, the program run well in Qt5.10, but has access violation problem in Qt 5.11 and Qt 5.11.1.
    I have put the source code project here,
    https://www.dropbox.com/s/s3dqc1la0osv20p/untitled.7z?dl=0
    Please download it and have a try.
    Thank you.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Under 5.10.1 is see a colored triangle.
      alt text
      Under 5.11.1 it crashes
      alt text

      W 1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        There's indeed something wrong. I get the same result on macOS.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • mrjjM mrjj

          Hi
          Under 5.10.1 is see a colored triangle.
          alt text
          Under 5.11.1 it crashes
          alt text

          W Offline
          W Offline
          wang_qt
          wrote on last edited by
          #4

          @mrjj Yes, in Qt 5.10, the program runs, but in Qt 5.11, you can see the access violation bug.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            You should take a look at the bug report system to see if it's something known.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • W Offline
              W Offline
              wang_qt
              wrote on last edited by
              #6

              Ok, thank you. I will post the bug there.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Please post a link to it on this thread once you created it.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  wang_qt
                  wrote on last edited by
                  #8

                  https://bugreports.qt.io/browse/QTBUG-69583
                  I have posted the bug here.

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved