Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Strange problems/crashes with Qt 6.3.1 Macos (arm)
Forum Update on Monday, May 27th 2025

Strange problems/crashes with Qt 6.3.1 Macos (arm)

Scheduled Pinned Locked Moved Unsolved Qt 6
9 Posts 2 Posters 1.6k 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.
  • leuatL Offline
    leuatL Offline
    leuat
    wrote on last edited by
    #1

    Hi there! I'm an avid user of Qt, and have made a compiler+IDE that is used by some number of people (see www.turborascal.com). After recently upgrading to 6.3.1, I'm suddenly experiencing a lot of crashes in the compiler - often after a couple of builds - in internal qt libraries. QString crashing with low-level malloc errors, QSharedPointer destructors that terminates threads - things that almost never happened before I upgraded to 6.3.1, and always some internal crash that points back to assembly language. I'll be downgrading to see if that resolves the issue - but I just wanted to point out that there seems to be a lot of bugs in the newer version. Are you guys interested in details? Most of it seems to happen randomly - as you can imagine, the compiler is somewhat complex and uses a wide array of qt components.

    Nicolaas

    ^Leuat

    1 Reply Last reply
    0
    • leuatL Offline
      leuatL Offline
      leuat
      wrote on last edited by leuat
      #2

      Screenshot 2022-07-12 at 08.51.59.png Screenshot 2022-07-12 at 09.50.53.png

      Just wanted to post some random examples of crashes.. almost always in QString, and usually on a destructor (in objects packed into QSharedPointers). Mind you the crashes are sporadic - now happens on about 1/10 builds

      ^Leuat

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

        Hi,

        Do you have a way to reproduce the crashes even if not super reliably ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        leuatL 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Do you have a way to reproduce the crashes even if not super reliably ?

          leuatL Offline
          leuatL Offline
          leuat
          wrote on last edited by
          #4

          @SGaist Thanks for replying! Unfortunately not.. every single crash is different and random - if I managed to reproduce any of them, I would be able to fix it, usually these things are my own fault and I can patch it up fine. I might just start developing on X86 again and see if that fixes the issue.

          Example: Today, no crashes for several hours while running in Debug mode (which I always try to do in order to pick up these crashes). When it finally did - I had lots of documents open, was doing some GFX work (my IDE supports a full image editor in addition to compiler/text editor), lots of threads going about.. and it crashes here (see the included image, in QtApplication::exec). It's just.. weird! Again, this is kind of typical of these crashes - you get straight into arm .asm for breakpoints. Now I know my assembly language - but even this is too much for me =)

          NB: This is running Qt 6.4.0 (beta), seems to be way more stable than 6.3.1

          Screenshot 2022-07-13 at 21.22.00.png

          ^Leuat

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

            Did you check the macOS console to see if there's any hint about something happening in the system around the time of the crash ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            leuatL 1 Reply Last reply
            0
            • leuatL leuat

              @SGaist Thanks for replying! Unfortunately not.. every single crash is different and random - if I managed to reproduce any of them, I would be able to fix it, usually these things are my own fault and I can patch it up fine. I might just start developing on X86 again and see if that fixes the issue.

              Example: Today, no crashes for several hours while running in Debug mode (which I always try to do in order to pick up these crashes). When it finally did - I had lots of documents open, was doing some GFX work (my IDE supports a full image editor in addition to compiler/text editor), lots of threads going about.. and it crashes here (see the included image, in QtApplication::exec). It's just.. weird! Again, this is kind of typical of these crashes - you get straight into arm .asm for breakpoints. Now I know my assembly language - but even this is too much for me =)

              NB: This is running Qt 6.4.0 (beta), seems to be way more stable than 6.3.1

              Screenshot 2022-07-13 at 21.22.00.png

              leuatL Offline
              leuatL Offline
              leuat
              wrote on last edited by
              #6

              also please note: The published version of TRSE is compiled nightly using github CI for X86 (macos, win, linux) using Qt 6.0.1, and while some of my users do complain about crashes (especially in the image editor, where I screw about a lot of with threads - probably my bad) - the typical crashes when compiling / just using the editor doesn't seem to happen here. I'm kinda suspecting that this is a pure ARM issue - but am not certain until I start developing on X86 again. I just bought a new home computer, will try to develop/use TRSE on X86 (win64) from next week

              ^Leuat

              1 Reply Last reply
              0
              • SGaistS SGaist

                Did you check the macOS console to see if there's any hint about something happening in the system around the time of the crash ?

                leuatL Offline
                leuatL Offline
                leuat
                wrote on last edited by
                #7

                @SGaist Funny you should ask - got this message right before the previous crash: TSMSendMessageToUIServer: CFMessagePortSendRequest FAILED(-1) to send to port com.apple.tsm.uiserver

                ^Leuat

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

                  Are the nightlies arm based as well ?
                  Are your users running the x86_64 build on M1 machines ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  leuatL 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Are the nightlies arm based as well ?
                    Are your users running the x86_64 build on M1 machines ?

                    leuatL Offline
                    leuatL Offline
                    leuat
                    wrote on last edited by
                    #9

                    @SGaist yeah regular users of TRSE either use x86_64 on macos or build themselves. None of the nightlies are arm-based - for now

                    ^Leuat

                    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