Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29548

Crash starting tamplate application (Qt 6.5.2)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 11.0.2
    • C/C++/Obj-C++ Support
    • None
    • Linux workbox 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

      Qt open source 6.5.2 with Qt Creator 11.02.

      gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
    • Linux/X11

    Description

      Hello

       

      I just freshly installed latest Ubuntu 22.04.03 x64 (AMD) with latest updates as of today.

      Then I installed Qt open source 6.5.2 with Qt Creator 11.02.

      First thing I did try to do is to create Qt Widgets Application using the Wizard. I did not modify any code. Just compile and run.

       

      16:54:05: Debugging /home/rob/projects/scratch/build-CoreToggler-Desktop_Qt_6_5_2_GCC_64bit-Debug/CoreToggler ...
      qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: wayland, eglfs, minimal, minimalegl, linuxfb, vkkhrdisplay, xcb, wayland-egl, vnc, offscreen.
      

      Here is a stack

       

      1  __pthread_kill_implementation                     pthread_kill.c       44   0x7ffff6896a7c 
      2  __pthread_kill_internal                           pthread_kill.c       78   0x7ffff6896a7c 
      3  __GI___pthread_kill                               pthread_kill.c       89   0x7ffff6896a7c 
      4  __GI_raise                                        raise.c              26   0x7ffff6842476 
      5  __GI_abort                                        abort.c              79   0x7ffff68287f3 
      6  qAbort                                            qglobal.cpp          161  0x7ffff70ac7e0 
      7  qt_message_fatal                                  qlogging.cpp         2048 0x7ffff70acf48 
      8  QMessageLogger::fatal                             qlogging.cpp         934  0x7ffff70acf48 
      9  init_platform                                     qguiapplication.cpp  1267 0x7ffff5f1deb2 
      10 QGuiApplicationPrivate::createPlatformIntegration qguiapplication.cpp  1515 0x7ffff5fbc40c 
      11 QGuiApplicationPrivate::createEventDispatcher     qguiapplication.cpp  1534 0x7ffff5fbce60 
      12 QCoreApplicationPrivate::init                     qcoreapplication.cpp 897  0x7ffff7145996 
      13 QGuiApplicationPrivate::init                      qguiapplication.cpp  1562 0x7ffff5fc0130 
      14 QApplicationPrivate::init                         qapplication.cpp     473  0x7ffff7985c99 
      15 main                                              main.cpp             6    0x555555557761 
      

      I am attaching all installed packages on my system

      +---------------------------------------------------------------------------------------+
      | NVIDIA-SMI 535.86.05              Driver Version: 535.86.05    CUDA Version: 12.2     |
      |-----------------------------------------+----------------------+----------------------+
      | GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
      | Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
      |                                         |                      |               MIG M. |
      |=========================================+======================+======================|
      |   0  NVIDIA GeForce GTX 1650        Off | 00000000:2D:00.0  On |                  N/A |
      | 30%   58C    P3              N/A /  75W |    752MiB /  4096MiB |      8%      Default |
      |                                         |                      |                  N/A |
      +-----------------------------------------+----------------------+----------------------+
                                                                                               
      +---------------------------------------------------------------------------------------+
      | Processes:                                                                            |
      |  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
      |        ID   ID                                                             Usage      |
      |=======================================================================================|
      |    0   N/A  N/A      2617      G   /usr/lib/xorg/Xorg                          311MiB |
      |    0   N/A  N/A      2749      G   /usr/bin/gnome-shell                         83MiB |
      |    0   N/A  N/A     21140      G   ...irefox/3026/usr/lib/firefox/firefox      306MiB |
      |    0   N/A  N/A     23148      G   ...sion,SpareRendererForSitePerProcess       46MiB |
      |    0   N/A  N/A     27885      G   /opt/Qt/Tools/QtCreator/bin/qtcreator         1MiB |
      +---------------------------------------------------------------------------------------+
       
      echo $XDG_SESSION_TYPE
      x11
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kandeler Christian Kandeler
              oxoocoffee Robert J. Gebis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes