Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt debugger not working on Mac - (Python quit unexpectedly while using the _lldb.so plug-in)
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 3 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blissful
    wrote on last edited by
    #1

    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 _lldb.so 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/Python.app/Contents/MacOS/Python
    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/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/Python/lldb/_lldb.so
    PlugIn Identifier: _lldb.so
    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: com.apple.main-thread

    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/Python.app/Contents/MacOS/Python

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 _lldb.so 0x000000010aeee651 lldb::SBAddress::SetLoadAddress(unsigned long long, lldb::SBTarget&) + 167
    1 _lldb.so 0x000000010aeee56b lldb::SBAddress::SBAddress(unsigned long long, lldb::SBTarget&) + 25
    2 _lldb.so 0x000000010af0d1c9 _wrap_new_SBAddress(_object*, _object*) + 1084
    ...........

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SysTech
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        agnosticpope
        wrote on last edited by
        #3

        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 https://gitorious.org/qt-creator/qt-creator.git
        $ cd qt-creator
        $ export PATH=${PATH}:/Users/${user}/Qt/5.4/clang_64/bin/
        $ qmake
        $ make -j 4
        $ cd bin/Qt Creator.app/Contents/MacOS
        $ ./Qt\ Creator

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SysTech
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved