Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator freezes von Ubuntu 26.04 after canceling the build
Qt 6.11 is out! See what's new in the release blog

QtCreator freezes von Ubuntu 26.04 after canceling the build

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 298 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.
  • B Offline
    B Offline
    berliner
    wrote last edited by berliner
    #1

    I'm having an annoying problem here. I'm mostly developing in Windows using Visual Studio, but I also provide Linux builds of my application. I was using an XUbuntu 22 up to now.

    I'm doing that in a Virtual Box VM.

    Now I'm trying to migrate to Ubuntu 26.04. It works, I can build and run the application, but when I cancel a build the build stops and then QtCreator freezes.

    And it freezes to a degree where I cannot close it, cannot kill it (neither -9 nor SIGKILL). I cannot even reboot the VM. I have to kill all Virtual Box processes in the Windows task manager.

    I found no solution for that.

    I tried both LUbuntu and XUbuntu. After a while, the OS says the window is busy and not responding and offers to close it. But it won't resume work after restarting. It hangs at "Loading Session".

    Probably because the build processes are all still there:

    2970  0.0  0.0   9904  3492 ?        D    22:39   0:00 g++ -c -pipe -g -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -D_REENTRANT -DQT_Q
    2971  3.0 15.3 721628 615420 ?       D    22:39   0:03 /usr/libexec/gcc/x86_64-linux-gnu/15/cc1plus -quiet -I ../../../MyProject -I . -I ../../../My
    2972  0.0  0.1  11876  4440 ?        S    22:39   0:00 /bin/x86_64-linux-gnu-as -I ../../../MyMyProject -I . -I ../../../MyProject -I ../../../MyProject
    2973  0.0  0.0   9904  3488 ?        D    22:39   0:00 g++ -c -pipe -g -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -D_REENTRANT -DQT_Q
    2974  2.6 15.4 725892 617020 ?       D    22:39   0:03 /usr/libexec/gcc/x86_64-linux-gnu/15/cc1plus -quiet -I ../../../MyProject -I . -I ../../../My
    2975  0.0  0.1  11876  4468 ?        S    22:39   0:00 /bin/x86_64-linux-gnu-as -I ../../../MyProject -I . -I ../../../MyProject -I ../../../MyProject
    2976  0.0  0.0   9904  3488 ?        D    22:39   0:00 g++ -c -pipe -g -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -D_REENTRANT -DQT_Q
    2977  0.1  0.5  68732 22992 ?        D    22:39   0:00 /usr/libexec/gcc/x86_64-linux-gnu/15/cc1plus -quiet -I ../../../MyProject -I . -I ../../../Myi
    2978  0.0  0.1  11876  4364 ?        S    22:39   0:00 /bin/x86_64-linux-gnu-as -I ../../../MyProject -I . -I ../../../MyProject -I ../../../MyProject
    2979  0.0  0.0   9904  3488 ?        D    22:39   0:00 g++ -c -pipe -g -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -D_REENTRANT -DQT_Q
    2980  0.0  0.5  68404 21552 ?        D    22:39   0:00 /usr/libexec/gcc/x86_64-linux-gnu/15/cc1plus -quiet -I ../../../MyProject -I . -I ../../../My
    2981  0.0  0.1  11876  4464 ?        S    22:39   0:00 /bin/x86_64-linux-gnu-as -I ../../../MyProject -I . -I ../../../MyProject -I ../../../MyProject
    

    Probably QtCreator couldn't kill them either.

    I'm using QtCretor 18.0.2 Based on Qt 6.10.2 (GCC 15.2.0, x86_64)

    What has to be changed so that QtCreator properly kills all those processes upon cancelling a build?

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

      Hi and welcome to devnet,

      Are you handling the number of jobs yourself ?
      If so, how many are you starting in parallel ?

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

      B 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Are you handling the number of jobs yourself ?
        If so, how many are you starting in parallel ?

        B Offline
        B Offline
        berliner
        wrote last edited by
        #3

        @SGaist

        It's set to 4 (-j4), but setting it to 1 doesn't help.

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

          I remember there was a post not long ago with similar symptoms. Can you try a more recent version of Qt Crestor ?

          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