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

Debugging on Android with latest ndk doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.1.0-rc1
    • Android Support, Debugger
    • None

    Description

      With the latest ndk (r9d) on Os X 10.9, the debugger and the application fails to start.

      Debugger log:

      >&"Traceback (most recent call last):\n"
      >&"  File \"<string>\", line 1, in <module>\n"
      >&"  File \"/Users/cs/Qt5.3.0_os_b27/Qt Creator.app/Contents/Resources/debugger/gdbbridge.py\", line 14, in <module>\n"
      >&"    import struct\n"
      >&"  File \"/Users/cs/depot/android/ndk/r9d/prebuilt/darwin-x86_64/lib/python2.7/struct.py\", line 1, in <module>\n"
      >&"    from _struct import *\n"
      >&"ImportError: dlopen(/Users/cs/depot/android/ndk/r9d/prebuilt/darwin-x86_64/lib/python2.7/lib-dynload/_struct.so, 2): Symbol not found: _PyObject_Free\n  Referenced from: /Users/cs/depot/android/ndk/r9d/prebuilt/darwin-x86_64/lib/python2.7/lib-dynload/_struct.so\n  Expected in: dynamic lookup\n"
      >&"\n"
      >&"Error while executing Python code.\n"
      >13^error,msg="Error while executing Python code."
      dNOTE: ENGINE SETUP FAILED
      dState changed from EngineSetupRequested(1) to EngineSetupFailed(2) [master]
      dHANDLE RUNCONTROL FINISHED
      sDebugger finished.
       I/Qt JAVA (20421): DEBUGGER: waiting for pong at /data/local/tmp/qt/debug-pong-org.qtproject.example.notification, attempt 9
       I/Qt JAVA (20421): DEBUGGER: go to sleep
      dHANDLE RUNCONTROL START FAILED
      dState changed from EngineSetupFailed(2) to DebuggerFinished(23) [master]
      

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              stromme Christian
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes