Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML application crashing after update to 5.2.1 and 5.2.2

QML application crashing after update to 5.2.1 and 5.2.2

Scheduled Pinned Locked Moved QML and Qt Quick
8 Posts 2 Posters 2.0k 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.
  • E Offline
    E Offline
    edois
    wrote on last edited by
    #1

    Hello,

    I've tried to update from Qt 5.2.0 to Qt 5.2.1 but my application started crashing on almost every state change. Now I have Qt 5.2.2 from git and the problem is the same, I keep crashing on QV4::FunctionObject::creatScriptFunction almost every time I do some state change. Application runs fine with Qt 5.2.0 (apart from crashes when using network which should be fixed in 5.2.1).

    What can I do to find out what's wrong?

    Thanks!

    1 Reply Last reply
    0
    • E Offline
      E Offline
      edois
      wrote on last edited by
      #2

      Additional info, I have compiled Qt 5.2.2 for iOS from git with debugging enabled and now I get

      ASSERT failure in QVector<T>::operator[]: "index out of range", file qvector.h, line 372

      1 Reply Last reply
      0
      • E Offline
        E Offline
        edois
        wrote on last edited by
        #3

        Bug report here https://bugreports.qt-project.org/browse/QTBUG-36957

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Hi,

          Qt 5.2.2 is not released, so you might have an incompatible combination of revisions across your repos.

          I recommend using officially-released versions.

          [quote]I’ve tried to update from Qt 5.2.0 to Qt 5.2.1 but my application started crashing on almost every state change.[/quote]How did you update? Did you clean your build tree after updating?

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • E Offline
            E Offline
            edois
            wrote on last edited by
            #5

            [quote author="JKSH" date="1392899913"]Hi,

            Qt 5.2.2 is not released, so you might have an incompatible combination of revisions across your repos.

            I recommend using officially-released versions.
            [/quote]

            I've also tried the same with official release 5.2.1 and the result is very similar.

            [quote author="JKSH" date="1392899913"]How did you update? Did you clean your build tree after updating?[/quote]

            Yes, I use the recommended way:

            git pull
            git submodule sync
            git submodule update --recursive
            git submodule foreach --recursive "git clean -dfx"

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              Did you clean your project after updating?

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • E Offline
                E Offline
                edois
                wrote on last edited by
                #7

                [quote author="JKSH" date="1392903942"]Did you clean your project after updating?[/quote]

                Yes, I clean it for almost every build (I have very few c++ sources, almost everything is done in QML). Btw did you see the traceback (in bug report in JIRA)?

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  Hi,

                  Sorry for the late reply. It looks like you found a bug indeed; the Qt devs are looking into it now.

                  I hope the workaround works well with your app.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  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