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

Qt Creator crashes when deploying to Android after selecting a device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • Qt Creator 4.12.0
    • Qt Creator 4.11.0
    • Android Support
    • None
    • Linux/X11

    Description

      When deploying a project to Android, after selecting a device the Qt Creator crashes with the following error:

      qtc.cpptools.sourceprocessor: Parsing: "/home/assam/Qt/5.14.0/android/include/QtCore/qsharedpointer_impl.h" contents: 34001 bytes 
      qtc.cpptools.sourceprocessor: Parsing: "/home/assam/Qt/5.14.0/android/include/QtGui/qfont.h" contents: 11225 bytes 
      qtc.cpptools.sourceprocessor: Parsing: "/home/assam/Qt/5.14.0/android/include/QtGui/qfontmetrics.h" contents: 7882 bytes 
      qtc.cpptools.sourceprocessor: Parsing: "/home/assam/Qt/5.14.0/android/include/QtGui/qfontinfo.h" contents: 2966 bytes 
      qtc.cpptools.sourceprocessor: Parsing: "/home/assam/Qt/5.14.0/android/include/QtWidgets/qsizepolicy.h" contents: 9566 bytes 
      qtc.cpptools.sourceprocessor: Parsing: "/home/assam/Qt/5.14.0/android/include/QtGui/qkeysequence.h" contents: 7460 bytes 
      qtc.autotest.testcodeparser: setting state to PartialParse (scanForTests) 
      qtc.autotest.testcodeparser: "10:44:54.670" StartParsing 
      qtc.autotest.testcodeparser: setting state to Idle (onFinished, PartialParse) 
      qtc.autotest.testcodeparser: not emitting parsingFinished (on PartialParsingFinished, singleshot scheduled) 
      qtc.autotest.testcodeparser: "10:44:54.672" PartParsingFin 
      qtc.cpptools.builtineditordocumentprocessor: document parsed "/home/assam/Qt/Examples/Qt-5.14.0/widgets/widgets/calendarwidget/main.cpp" 1 
      qtc.cpptools.semanticinfoupdater: updateDetached() - asynchronous 
      qtc.cpptools.semanticinfoupdater: update() for source revision: 1 canceled: false 
      qtc.cpptools.semanticinfoupdater: emiting new info 
      qtc.cpptools.builtineditordocumentprocessor: semantic info updated "/home/assam/Qt/Examples/Qt-5.14.0/widgets/widgets/calendarwidget/main.cpp" 1 true 
      qtc.android.build.androiddeployqtstep: Selected Device: Type: Device , ABI: ("arm64-v8a", "armeabi-v7a", "armeabi") , Serial: "6db0e8d7" , Name: "" , API: 29 , Authorised: true 
      qtc.android.build.androiddeployqtstep: Files to pull from device: 
      qtc.android.build.androiddeployqtstep: "/system/bin/app_process" to "/home/assam/Qt/Examples/Qt-5.14.0/widgets/widgets/build-calendarwidget-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clan
      g_Qt_5_14_0_for_Android-Debug/app_process" 
      qtc.android.build.androiddeployqtstep: "/system/bin/app_process32" to "/home/assam/Qt/Examples/Qt-5.14.0/widgets/widgets/build-calendarwidget-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Cl
      ang_Qt_5_14_0_for_Android-Debug/app_process" 
      qtc.android.build.androiddeployqtstep: "/system/bin/linker" to "/home/assam/Qt/Examples/Qt-5.14.0/widgets/widgets/build-calendarwidget-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_
      5_14_0_for_Android-Debug/linker" 
      qtc.android.build.androiddeployqtstep: "/system/lib/libc.so" to "/home/assam/Qt/Examples/Qt-5.14.0/widgets/widgets/build-calendarwidget-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt
      _5_14_0_for_Android-Debug/libc.so" 
      qtc.android.androidManager: Device serial for the target changed "Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.0 for Android)" "6db0e8d7" 
      qtc.android.androidManager: Device API level for the target changed "Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.0 for Android)" 29 
      ConnectionServer error: "QLocalSocket: Remote closed" "/tmp/QtCreator-KSXXQF/ClangBackEnd-27932" 
      Segmentation fault

      This seems to be reproducible sometimes if the project is opened for the first time and parsing is still ongoing. Or debug permissions not granted on the device.

      Attachments

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

        Activity

          People

            assam Assam Boudjelthia
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes