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

Creator crashes when trying to debug webengine application on Boot2Qt target device

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Qt Creator:

      Qt Creator 12.0.2
      Based on Qt 6.6.0 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)
      From revision a0bd498b31
      Built on Feb 6 2024 10:08:31
      
      
      

      System: Ubuntu 22.04.3 LTS

      Qt ver: 6.7.0-beta2

      Steps: 

      1. Open any web engine example, e.g.: https://doc.qt.io/qt-6/qtwebengine-webenginequick-quicknanobrowser-example.html
      2. Select Boot2Qt target device
      3. Click debug button

      Actual: The app crashes.

      Expected: I should be able to debug the app. 

      Reproducibility: 100%

       

       

      Getting this when debugging the Qt Creator with gdb:

      Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault.
      0x00007ffff7bab2a0 in Utils::parseSectionHeader (s=0x7fff39e03f10 <error: Cannot access memory at address 0x7fff39e03f10>, sh=sh@entry=0x7fffffffc6d0, context=...) at /home/qt/work/build/qt-creator/src/libs/utils/elfreader.cpp:31
      31    /home/qt/work/build/qt-creator/src/libs/utils/elfreader.cpp: No such file or directory.
       

      Attachments

        1. debug.webm
          2.80 MB
        2. elfreader.png
          elfreader.png
          729 kB
        3. gdb-qtcreator2.txt
          87 kB

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes