Coder Social home page Coder Social logo

lldb-mi hangs on MacOS about lldb-mi HOT 2 OPEN

lldb-tools avatar lldb-tools commented on June 19, 2024
lldb-mi hangs on MacOS

from lldb-mi.

Comments (2)

busjaeger avatar busjaeger commented on June 19, 2024

FYI, I built lldb-mi from source against llvm installed with brew:

brew install llvm
brewllvm=$(ls -d /usr/local/Cellar/llvm/*)
cd ~/Projects
git clone https://github.com/lldb-tools/lldb-mi
cd lldb-mi
cmake -DCMAKE_PREFIX_PATH=$brewllvm .
cmake --build .

Not sure if this is related, but when I follow the steps in Verifying Python Support, I get:

✗ export PYTHONPATH=`/usr/local/Cellar/llvm/13.0.1_1/bin/lldb -P`
✗ python3 -c 'import lldb'
[1]    64445 segmentation fault  python3 -c 'import lldb'

I don't get that seg fault with:

✗ export PYTHONPATH=`/Library/Developer/CommandLineTools/usr/bin/lldb -P`
✗ python3 -c 'import lldb'

Is there some way to build lldb-mi against lldb that comes with XCode?

from lldb-mi.

busjaeger avatar busjaeger commented on June 19, 2024

Looks like this is somehow related to the debug information for libzstd. When I remove the directory libzstd.1.3.4.dylib.dSYM, the debugger no longer hangs.

from lldb-mi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.