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

"Unable to find dynamic linker breakpoint function" when trying to debug on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 14.0.0
    • Debugger

    Description

      Steps to reproduce:

      Prerequisites:

      • Docker Desktop installed and running

      Steps to reproduce:

      • Install B2Qt 6.7.2 and Qt C 14.0.0 via installer
      • Open QtC and a Qt Quick application and set a breakpoint to .cpp file
      • Build and start debugger 

      Expected result:
      GDB stops at breakpoint and no errors are shown

      Actual result:
      GDB stops at breakpoint and an error:

      15:08:47: Checking available ports...
      15:08:48: Found 101 free ports.
      15:08:48: Debugging ssh://root@10.204.0.95/opt/quickapp ...
      "DBUS_SESSION_BUS_ADDRESS" "unix:path=/run/user/0/dbus_session_socket"
      "FB_MULTI_BUFFER" "2"
      "LD_LIBRARY_PATH" "/data/user/qt/squish/lib"
      "QTWEBENGINE_DISABLE_SANDBOX" "1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_PLUGIN_PATH" "/data/user/qt/squish/plugins"
      "QT_QPA_EGLFS_FORCE888" "1"
      "QT_QPA_EGLFS_FORCEVSYNC" "1"
      "QT_QPA_EGLFS_KMS_ATOMIC" "1"
      "QT_QPA_EGLFS_KMS_CONFIG" "/etc/kms.conf"
      "QT_QPA_GENERIC_PLUGINS" "squish:10100"
      "QT_QPA_PLATFORM" "eglfs"
      "SQUISH_PREFIX" "/data/user/qt/squish"
      "WAYLAND_DISPLAY" "/run/wayland-0"
      "XDG_RUNTIME_DIR" "/run/user/0"
      "gdbserver" QList("localhost:10000", "/opt/quickapp")
      Process /opt/quickapp created; pid = 1671
      Listening on port 10000
      index cache: could not make cache directory: Permission denied
      Remote debugging from host ::ffff:10.9.21.45, port 64209
      Unable to find dynamic linker breakpoint function.
      GDB will be unable to debug shared library initializers
      and track explicitly loaded dynamic code.Could not load shared library symbols for /lib/ld-linux-aarch64.so.1.
      Do you need "set solib-search-path" or "set sysroot"?index cache: could not make cache directory: Permission denied
      index cache: could not make cache directory: Permission denied
      could not convert 'QGuiApplication' from the host encoding (UTF-8) to UTF-32.
      This normally should not happen, please file a bug report.

      is shown.

      Attachments

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

        Activity

          People

            hjk hjk
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes