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

Debugging a process in emulator detaches from process immediately

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.8.0 RC
    • Fix Version/s: 5.8.0 RC
    • Component/s: Device Creation
    • Labels:
      None
    • Environment:
      Ubuntu 16.10, Qt for Device Creation 5.8.0 RC, VirtualBox 5.1.6

      Description

      Deploying an executable to the emulator works and it runs. However, starting to debug it gives:

      Debugging starts
      "QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
      "QTGLESSTREAM_DISPLAY" "192.168.56.1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_QPA_EGLFS_HEIGHT" "300"
      "QT_QPA_EGLFS_HIDECURSOR" "1"
      "QT_QPA_EGLFS_WIDTH" "1000"
      "QT_QPA_GENERIC_PLUGINS" "simulator"
      "QT_QUICK_CONTROLS_STYLE" "Flat"
      "XDG_RUNTIME_DIR" "/tmp"
      "gdbserver" ("localhost:10000", "/opt/deploytest-571/bin/deploytest-571")
      Process /opt/deploytest-571/bin/deploytest-571 created; pid = 1069
      Listening on port 10000
      Remote debugging from host 127.0.0.1
      File "/home/kaoikari1/Qt/5.8/Boot2Qt/emulator/toolchain/sysroots/i586-poky-linux/usr/lib/libstdc++.so.6.0.21-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
      QML debugging is enabled. Only use this in a safe environment.
      qt.qpa.egldeviceintegration: EGL device integration plugin keys: ()
      qt.qpa.egldeviceintegration: Using base device integration
      Unable to query physical screen size, defaulting to 100 dpi.
      To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
      qt.qpa.input: libinput: input device 'Power Button', /dev/input/event0 is tagged by udev as: Keyboard
      qt.qpa.input: libinput: input device 'Power Button', /dev/input/event0 is a keyboard
      qt.qpa.input: libinput: input device 'Sleep Button', /dev/input/event1 is tagged by udev as: Keyboard
      qt.qpa.input: libinput: input device 'Sleep Button', /dev/input/event1 is a keyboard
      qt.qpa.input: libinput: input device 'Video Bus', /dev/input/event2 is tagged by udev as: Keyboard
      qt.qpa.input: libinput: input device 'Video Bus', /dev/input/event2 is a keyboard
      qt.qpa.input: libinput: input device 'VirtualBox mouse integration', /dev/input/event5 is tagged by udev as: Mouse
      qt.qpa.input: libinput: input device 'VirtualBox mouse integration', /dev/input/event5 is a pointer caps
      qt.qpa.input: libinput: input device 'AT Translated Set 2 keyboard', /dev/input/event3 is tagged by udev as: Keyboard
      qt.qpa.input: libinput: input device 'AT Translated Set 2 keyboard', /dev/input/event3 is a keyboard
      qt.qpa.input: libinput: input device 'ImExPS/2 Generic Explorer Mouse', /dev/input/event4 is tagged by udev as: Mouse
      qt.qpa.input: libinput: input device 'ImExPS/2 Generic Explorer Mouse', /dev/input/event4 is a pointer caps
      qt.qpa.input: Using xkbcommon for key mapping
      Could not load shared library symbols for /usr/lib/plugins/generic/libqvinputplugin.so.
      Do you need "set solib-search-path" or "set sysroot"?QVInputMouseHandler::QVInputMouseHandler(const QString&, const QString&)
      No environment variable SIMULATOR_IP set. Trying to autodetect ...
      Invalid or no variable SIMULATOR_PORT set. Using default 48879
      Detaching from process 1072
      Process exited with exit code 0
      quit
      Debugging has finished

      Start of successful deployment:

      Starting remote application."QML2_IMPORT_PATH" "/data/user/qt/qmlplugins"
      "QTGLESSTREAM_DISPLAY" "192.168.56.1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_QPA_EGLFS_HEIGHT" "300"
      "QT_QPA_EGLFS_HIDECURSOR" "1"
      "QT_QPA_EGLFS_WIDTH" "1000"
      "QT_QPA_GENERIC_PLUGINS" "simulator"
      "QT_QUICK_CONTROLS_STYLE" "Flat"
      "XDG_RUNTIME_DIR" "/tmp"
      "/opt/deploytest-571/bin/deploytest-571" ()
      QML debugging is enabled. Only use this in a safe environment.
      qt.qpa.egldeviceintegration: EGL device integration plugin keys: ()
      qt.qpa.egldeviceintegration: Using base device integration
      Unable to query physical screen size, defaulting to 100 dpi.
      To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
      qt.qpa.input: libinput: input device 'Power Button', /dev/input/event0 is tagged by udev as: Keyboard
      qt.qpa.input: libinput: input device 'Power Button', /dev/input/event0 is a keyboard
      qt.qpa.input: libinput: input device 'Sleep Button', /dev/input/event1 is tagged by udev as: Keyboard
      qt.qpa.input: libinput: input device 'Sleep Button', /dev/input/event1 is a keyboard
      qt.qpa.input: libinput: input device 'Video Bus', /dev/input/event2 is tagged by udev as: Keyboard
      qt.qpa.input: libinput: input device 'Video Bus', /dev/input/event2 is a keyboard
      qt.qpa.input: libinput: input device 'VirtualBox mouse integration', /dev/input/event5 is tagged by udev as: Mouse
      qt.qpa.input: libinput: input device 'VirtualBox mouse integration', /dev/input/event5 is a pointer caps
      qt.qpa.input: libinput: input device 'AT Translated Set 2 keyboard', /dev/input/event3 is tagged by udev as: Keyboard
      qt.qpa.input: libinput: input device 'AT Translated Set 2 keyboard', /dev/input/event3 is a keyboard
      qt.qpa.input: libinput: input device 'ImExPS/2 Generic Explorer Mouse', /dev/input/event4 is tagged by udev as: Mouse
      qt.qpa.input: libinput: input device 'ImExPS/2 Generic Explorer Mouse', /dev/input/event4 is a pointer caps
      qt.qpa.input: Using xkbcommon for key mapping
      QVInputMouseHandler::QVInputMouseHandler(const QString&, const QString&)
      No environment variable SIMULATOR_IP set. Trying to autodetect ...
      Invalid or no variable SIMULATOR_PORT set. Using default 48879
      Connection to QtSimulator established

        Attachments

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

          Activity

            People

            Assignee:
            sapiippo Samuli Piippo
            Reporter:
            kari.oikarinen Kari Oikarinen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes