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

qt3d exampls have segmentation fault

    XMLWordPrintable

Details

    Description

      meet segmentation when running the following examples in qt3d

      advancedcustomaterial

      computer-particles

      controls

      plantes-qml

      scene3d

      simplecustommaterial

       

      The backtrace when segmentation happens:

      in wl_list_insert () from /usr/lib/libwayland-client.so.0
      (gdb) bt
      #0 0x0000fffff4de23c8 in wl_list_insert ()
      from /usr/lib/libwayland-client.so.0
      #1 0x0000fffff4ddf854 in wl_display_read_events ()
      from /usr/lib/libwayland-client.so.0
      #2 0x0000fffff4e70a7c in QtWaylandClient::QWaylandDisplay::dispatchQueueWhile(wl_event_queue*, std::function<bool ()>, int) (this=0x437910, queue=0x50f6d0,
      condition=..., timeout=timeout@entry=100)
      at /usr/src/debug/qtwayland/5.13.2+gitAUTOINC+615aa208d1-r0/git/src/client/qwaylanddisplay.cpp:239
      #3 0x0000fffff4e77408 in QtWaylandClient::QWaylandWindow::waitForFrameSync (
      this=0x50f560, timeout=100) at /usr/include/c++/9.2.0/new:174
      #4 0x0000fffff4a942d4 in QtWaylandClient::QWaylandGLContext::swapBuffers (
      this=0x4f9740, surface=<optimized out>)
      at /usr/src/debug/qtwayland/5.13.2+gitAUTOINC+615aa208d1-r0/git/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:482
      #5 0x0000fffff76944dc in QOpenGLContext::swapBuffers(QSurface*) ()
      from /usr/lib/libQt5Gui.so.5
      #6 0x0000fffff7cc3540 in ?? () from /usr/lib/libQt5Quick.so.5
      #7 0x0000fffff7cc6d4c in ?? () from /usr/lib/libQt5Quick.so.5
      #8 0x0000fffff6fcdfa8 in ?? () from /usr/lib/libQt5Core.so.5
      #9 0x0000fffff644b850 in start_thread (arg=0xfffffffff316)
      at pthread_create.c:479
      #10 0x0000fffff6e71f4c in thread_start ()

       

       

       

       

      Another case 

      Thread 1 "advancedcustomm" received signal SIGSEGV, Segmentation fault.
      _GI__libc_malloc (bytes=32) at malloc.c:3051
      3051 malloc.c: No such file or directory.
      (gdb) bt
      #0 _GI__libc_malloc (bytes=32) at malloc.c:3051
      #1 0x0000fffff65ba524 in operator new(unsigned long) ()
      from /usr/lib/libstdc++.so.6
      #2 0x0000ffffe1dbfe38 in Qt3DCore::QNodePrivate::notifyPropertyChange(char const*, QVariant const&) () from /usr/lib/libQt53DCore.so.5
      #3 0x0000ffffe1dc2748 in ?? () from /usr/lib/libQt53DCore.so.5
      #4 0x0000ffffe1dc5160 in ?? () from /usr/lib/libQt53DCore.so.5
      #5 0x0000fffff71c60bc in QMetaObject::activate(QObject*, int, int, void**) ()
      from /usr/lib/libQt5Core.so.5
      #6 0x0000ffffe20bb764 in Qt3DRender::QParameter::valueChanged(QVariant const&)
      () from /usr/lib/libQt53DRender.so.5
      #7 0x0000ffffe200b6a4 in Qt3DRender::QParameter::setValue(QVariant const&) ()
      from /usr/lib/libQt53DRender.so.5
      #8 0x0000ffffe20bb818 in ?? () from /usr/lib/libQt53DRender.so.5
      #9 0x0000fffff6b57668 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>)
      () from /usr/lib/libQt5Qml.so.5
      #10 0x0000fffff6bc7cc0 in QQmlBinding::slowWrite(QQmlPropertyData const&, QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
      #11 0x0000fffff6bc8e98 in ?? () from /usr/lib/libQt5Qml.so.5
      #12 0x0000fffff6bca2a4 in ?? () from /usr/lib/libQt5Qml.so.5

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              chingling chingling wang
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes