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. [solved]I have just got a thread crashed when I test my app
Qt 6.11 is out! See what's new in the release blog

[solved]I have just got a thread crashed when I test my app

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 2 Posters 3.3k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    @Thread has crashed: Thread 0x415 has panicked. Category: AlignedBlockAllo; Reason: -4
    Thread has crashed: Thread 0x416 has panicked. Category: AlignedBlockAllo; Reason: -4
    Thread has crashed: Thread 0x41d has panicked. Category: AlignedBlockAllo; Reason: -4
    Thread has crashed: Thread 0x41f has panicked. Category: AlignedBlockAllo; Reason: -4
    Thread has crashed: Thread 0x426 has panicked. Category: AlignedBlockAllo; Reason: -4@

    What is the meaning of this?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      You have to give a bit more information of what you are doing.

      There has been also a "bug report.":https://bugreports.qt-project.org/browse/QTBUG-18077 See for a correlation with your problem.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Thank you. I think I encounter the same situation as the link you provide. Actually I am doing a IAP wrapper in c++, and regist it an QML item. The bug will occur only if I open and close iap page very often. So I guess I can ignore this and leave it alone.

        Thank you.

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          PageStack::pop ( page, immediate ) does not free the memory, so I should not push the qml file each time.

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            I just read the pagestack manual and find that when it pops, it do destory the current page. I am just wondering why there is "Thread has crashed" error. Do I need to handle the c++ item that I add manually?

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              After all consideration, I put the c++ Item out of the page and put them into the main.qml.
              It will slow down the app starting time, but solve the problem as I can only load the c++ item once.

              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