Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt5.6: DirectFB segmentation fault on Broadcom BCM7231B2
Forum Updated to NodeBB v4.3 + New Features

Qt5.6: DirectFB segmentation fault on Broadcom BCM7231B2

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
15 Posts 2 Posters 5.5k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    debian
    wrote on last edited by
    #5

    I think this not should be problem because I change only qt version, now our application use Qt-4.7.3 and work fine.

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

      There's been quite some changes in the backend.

      Can you test with a more recent version of Qt to see if it's still present ?

      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
      • D Offline
        D Offline
        debian
        wrote on last edited by
        #7

        You mean 5.6.2, 5.7.0 or 5.8.0?

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

          If possible each in that order so you can determine whether it was fixed and at which point.

          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
          • D Offline
            D Offline
            debian
            wrote on last edited by
            #9

            Unfortunately my current toolchain (gcc-4.5.3) not support c++11, Qt-5.7.0 and above not available.

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

              Then yes, try 5.6.2 or even the top of the 5.6 branch.

              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
              • D Offline
                D Offline
                debian
                wrote on last edited by
                #11

                I think this will be useless, I not see any changes in directfb support.

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  debian
                  wrote on last edited by
                  #12

                  I add some debug output in sources and found what problem in QBackingStore::QBackingStore.

                  QBackingStore::QBackingStore(QWindow *window)
                      : d_ptr(new QBackingStorePrivate(window))
                  {
                  	qDebug() << __func__ << ":" << __LINE__ << "d_ptr" << d_ptr                  /// line 135
                  		<< "window" << window;
                  	qDebug() << __func__ << ":" << __LINE__                                                        /// line 137
                  		<< "platformIntegration" << QGuiApplicationPrivate::platformIntegration();
                      d_ptr->platformBackingStore = QGuiApplicationPrivate::platformIntegration()->createPlatformBackingStore(window);
                  	qDebug() <<  __func__ << ":" << __LINE__;
                  }
                  

                  And console output;

                  RasterWindow : 49 RasterWindow(0x7fc1d408)
                  QBackingStore : 135 d_ptr true window RasterWindow(0x7fc1d*** 60465:49:48.459 nexus_generic_driver: 408)
                  QBackingStforcing driver shutdownore : 137 platformIntegration 0x41bea8
                  

                  I wait get output from *QDirectFbIntegration::createPlatformBackingStore.

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

                    Then maybe a silly thing but did you try to check whether these instructions were still working with Qt 4 (e.g. 4.8.7) ?

                    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
                    • D Offline
                      D Offline
                      debian
                      wrote on last edited by
                      #14

                      @SGaist now we are use qt-4.7.3, but it very old version and very hard add new future in application

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

                        That's why I suggest to first try with 4.8.7. That way you ensure that it's still working with that one. Then you can compare the backend with 5.6 to see if you can spot something.

                        You should also take a look at the bug report system to see if there's anything related.

                        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

                        • Login

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