Nominate our 2022 Qt Champions!

Qt debugger not working on Mac - (Python quit unexpectedly while using the plug-in)

  • Hi
    Whenever I "Start Debugging" with Qt.
    It does not stop at the set breakpoints and it shows a dialog box with this message:
    "Python quit unexpectedly while using the plug-in"

    What's wrong and how do I fix this?

    I'm using this version of Qt Creator and Qt:

    Qt Creator 3.3.0 (opensource)
    Based on Qt 5.4.0 (Clang 6.0 (Apple), 64 bit)

    Built on Dec 8 2014 at 15:34:58

    From revision d36c4d87db

    Copyright 2008-2014 Digia Plc. All rights reserved.

    Here is a portion of the "Problem Details and System Configuration":
    Process: Python [3096]
    Path: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/
    Identifier: Python
    Version: 2.7.6 (2.7.6)
    Code Type: X86-64 (Native)
    Parent Process: Qt Creator [2717]
    Responsible: Qt Creator [2717]
    User ID: 502

    PlugIn Path: /Applications/
    PlugIn Identifier:
    PlugIn Version: ??? (320.4.156)

    Date/Time: 2015-01-04 01:03:21.911 +0800
    OS Version: Mac OS X 10.10.1 (14B25)
    Report Version: 11
    Anonymous UUID: 72A209EB-BBC9-FC8F-958D-5E56334EF04A

    Time Awake Since Boot: 18000 seconds

    Crashed Thread: 0 Dispatch queue:

    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010

    VM Regions Near 0x10:
    __TEXT 0000000109c29000-0000000109c2a000 [ 4K] r-x/rwx SM=COW /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/

    Thread 0 Crashed:: Dispatch queue:
    0 0x000000010aeee651 lldb::SBAddress::SetLoadAddress(unsigned long long, lldb::SBTarget&) + 167
    1 0x000000010aeee56b lldb::SBAddress::SBAddress(unsigned long long, lldb::SBTarget&) + 25
    2 0x000000010af0d1c9 _wrap_new_SBAddress(_object*, _object*) + 1084

  • Several others have the same problem. We've filed a bug report on it.

    The bug tracking site is changing over on I think 1/7 to a new server so after its up and running you can search to find the bug or someone will probably link it here.

  • So I've managed to debug this.

    The shared library (.so) is binary incompatible between Mavericks and Yosemite.

    The simplest way to fix this is just to compile the darn thing yourself. In other words,

    $ git clone
    $ cd qt-creator
    $ export PATH=${PATH}:/Users/${user}/Qt/5.4/clang_64/bin/
    $ qmake
    $ make -j 4
    $ cd bin/Qt
    $ ./Qt\ Creator

  • Thanks for posting the build sequence. I haven't tried to debug yet but the built Qt Creator seems to run. Thanks again.

Log in to reply