Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-139370

[Boot to Qt 6.10.0 beta3] gdb crashes on Windows

XMLWordPrintable

    • e50fa1a95 (dev), 9e99f3468 (walnascar)

      Boot to Qt 6.10.0 beta3 (Windows)

      Qt Creator 17.0.0 or Qt Creator 17.0.1 

      Steps to reproduce:

      Install Boot to Qt 6.10.0 beta3 on a Windows host

      Flash and setup any Boot to Qt target image

      Start debugging

      Expected result:

      Debugger starts and no errors are given.

      Actual result:

      Debugger crashes.

      Debugger log output from QtCreator:

      wNote: This log contains possibly confidential information about your machine, environment variables, in-memory data of the processes you are debugging, and more. It is never transferred over the internet by Qt Creator, and only stored to disk if you manually use the respective option from the context menu, or through mechanisms that are not under the control of Qt Creator's Debugger plugin, for instance in swap files, or other plugins you might use.
      wYou may be asked to share the contents of this log when reporting bugs related to debugger operation. In this case, make sure your submission does not contain data you do not want to or you are not allowed to share.
      w
      d[GDB] EXAMINING C:/Dev/Qt/Examples/Qt-6.10.0/demos/coffee/build/6.10.0-raspberrypi-armv8-Debug/coffeemachine
      d[GDB] ELF SECTIONS:  .note.gnu.property .note.gnu.build-id .interp .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame .gcc_except_table .note.ABI-tag .init_array .fini_array .data.rel.ro .dynamic .got .data .qtversion .bss .comment .debug_aranges .debug_info .debug_abbrev .debug_line .debug_str .debug_line_str .debug_loclists .debug_rnglists .symtab .strtab .shstrtab 
      wSome breakpoints cannot be handled by the debugger languages currently active, and will be ignored.<p>Affected are breakpoints 2<p>QML debugging needs to be enabled both in the Build and the Run settings.d[GDB] Start parameters: 'coffeemachine' mode: 6
      dABI: arm-linux-poky-elf-64bit
      dLanguages: c++ 
      dExecutable: ssh://root@172.16.58.1/usr/bin/coffeemachine
      dDebugger: C:\Dev\Qt\6.10.0\Boot2Qt\raspberrypi-armv8\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\aarch64-poky-linux\aarch64-poky-linux-gdb.exe
      dProject: C:\Dev\Qt\Examples\Qt-6.10.0\demos\coffee
      dAdditional Search Directories:
      dRemote: tcp://172.16.58.1:10000
      dSysroot: C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux
      dDebug Source Location: C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/src/debug/qt5base/src/corelib:C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/src/debug/qt5base/src/gui:C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/src/debug/qt5base/src/network
      d[GDB] Debugger settings:
      d/AdditionalArguments:   (default: )
      d/AlwaysAdjustColumnWidths: true  (default: true)
      d/AutoDerefPointers: true  (default: true)
      d/BreakEvent:   (default: )
      d/BreakOnCrtDbgReport: false  (default: false)
      d/BreakpointCorrection: true  (default: true)
      d/CDB_Console: false  (default: false)
      d/EnableHeapDebugging: false  (default: false)
      d/FirstChanceExceptionTaskEntry: true  (default: true)
      d/IgnoreFirstChanceAccessViolation: false  (default: false)
      d/LogTimeStamps: false  (default: false)
      d/SecondChanceExceptionTaskEntry: true  (default: true)
      d/SortStructMembers: true  (default: true)
      d/SourcePaths:   (default: )
      d/SymbolPaths:   (default: )
      d/UsePythonDumper: true  (default: true)
      d/UseToolTipsInBreakpointsView: false  (default: false)
      d/UseToolTipsInLocalsView: false  (default: false)
      d/UseToolTipsInStackView: true  (default: true)
      d[GDB] State changed from DebuggerNotReady(0) to EngineSetupRequested(1)
      d[GDB] CALL: SETUP ENGINE
      d[GDB] TRYING TO START ADAPTER
      d[GDB] ENABLING TEST CASE: 0
      d[GDB] STARTING C:\Dev\Qt\6.10.0\Boot2Qt\raspberrypi-armv8\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\aarch64-poky-linux\aarch64-poky-linux-gdb.exe -i mi
      d[GDB] GDB STARTED, INITIALIZING IT
      <1show version
      <2show debug-file-directory
      <3set max-completions 1000
      <4complete set arch 
      <5set breakpoint pending on
      <6set print elements 10000
      <7set index-cache on
      <8set unwindonsignal on
      <9set width 0
      <10set height 0
       Setting up inferior...
      <# directory does not exist: C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/src/debug/qt5base/src/corelib
      <# directory does not exist: C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/src/debug/qt5base/src/gui
      <# directory does not exist: C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/src/debug/qt5base/src/network
      <11set sysroot C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux
      <12set substitute-path /usr/src C:/Dev/Qt/6.10.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa
      <13set detach-on-fork off
      <14python sys.path.insert(1, 'C:/Dev/Qt/Tools/QtCreator/share/qtcreator/debugger')
      <15python from gdbbridge import *
      <16python theDumper.loadDumpers({"token":16})
      d[GDB] HANDLE GDB ERROR: The command "C:\Dev\Qt\6.10.0\Boot2Qt\raspberrypi-armv8\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\aarch64-poky-linux\aarch64-poky-linux-gdb.exe -i mi" terminated abnormally.
      dProcess crashed
      d[GDB] GDB PROCESS FINISHED, status 1, exit code -1073741515 (0x-3ffffecb)
      d[GDB] NOTE: ENGINE SETUP FAILED
      d[GDB] State changed from EngineSetupRequested(1) to EngineSetupFailed(2)
      <Debugging has failed.
      d[GDB] State changed from EngineSetupFailed(2) to DebuggerFinished(16) 

      When running 'C:\Dev\Qt\6.10.0\Boot2Qt\raspberrypi-armv8\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\aarch64-poky-linux\aarch64-poky-linux-gdb.exe -i mi'

      it gives:

      The code execution cannot proceed because liblzma-5.dll was not found. Reinstalling the program may fix this problem. 

        For Gerrit Dashboard: QTBUG-139370
        # Subject Branch Project Status CR V

            sapiippo Samuli Piippo
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes