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. Segment Fault In Deploy For Q3DScatter [Windows]
Forum Updated to NodeBB v4.3 + New Features

Segment Fault In Deploy For Q3DScatter [Windows]

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 297 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.
  • L Offline
    L Offline
    ltaoist
    wrote on last edited by ltaoist
    #1

    I find a official example of Q3DScatter. It works well in IDE development. However, I run

    windeployqt6.exe untitled.exe
    

    And copy lots and creates lots such .dll files. Or it will crash with message cannot find some qt dll.

    And after execute this, everything is just crash. I return to Qt Creator, and I find it is crash in following line:

    scatter.addSeries(series);
    

    I upload it all in github: test_3ds_bugs.7z

    How can resolve this? It may be good event that It can work like in a deployed product.

    Thanks!

    Qt is a create job!

    jsulmJ 1 Reply Last reply
    0
    • L ltaoist

      I find a official example of Q3DScatter. It works well in IDE development. However, I run

      windeployqt6.exe untitled.exe
      

      And copy lots and creates lots such .dll files. Or it will crash with message cannot find some qt dll.

      And after execute this, everything is just crash. I return to Qt Creator, and I find it is crash in following line:

      scatter.addSeries(series);
      

      I upload it all in github: test_3ds_bugs.7z

      How can resolve this? It may be good event that It can work like in a deployed product.

      Thanks!

      Qt is a create job!

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ltaoist said in Segment Fault In Deploy For Q3DScatter [Windows]:

      How can resolve this?

      Provide the stack trace after that crash.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        ltaoist
        wrote on last edited by
        #3

        I upload it all in github: test_3ds_bugs.7z

        jsulmJ 1 Reply Last reply
        0
        • L ltaoist

          I upload it all in github: test_3ds_bugs.7z

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ltaoist I'm not going to look in this 24MB archive. Just post the stack trace here...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • L Offline
            L Offline
            ltaoist
            wrote on last edited by
            #5

            9ceeb853-5161-456c-bb75-3d0c7ef0a48a-image.png

            I dont know what trace stack you need, I guess it is these.

            ====================================

            Its source is about 40kb. Actually is not new code. It is a project copy code from doc.qt.io, as follow:

            #include <QtGraphs>
            
            int main(int argc, char **argv)
            {
                QApplication app(argc, argv);
            
                Q3DScatter scatter;
                scatter.setMinimumSize(QSize(256, 256));
                scatter.setResizeMode(QQuickWidget::SizeRootObjectToView);
                QScatter3DSeries *series = new QScatter3DSeries;
                QScatterDataArray data;
                data << QVector3D(0.5f, 0.5f, 0.5f) << QVector3D(-0.3f, -0.5f, -0.4f) << QVector3D(0.0f, -0.3f, 0.2f);
                series->dataProxy()->addItems(data);
                scatter.addSeries(series);
                scatter.show();
            
                return app.exec();
            }
            

            The point is that is raising segment fault after run "windeployqt6.exe" for it

            Thanks!

            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