Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLDB Doesn't Work #614

Closed
TheBrokenRail opened this issue Jan 5, 2020 · 6 comments
Closed

LLDB Doesn't Work #614

TheBrokenRail opened this issue Jan 5, 2020 · 6 comments

Comments

@TheBrokenRail
Copy link
Contributor

Darling [~/Documents]$ lldb
dyld: Library not loaded: /usr/lib/libform.5.4.dylib
  Referenced from: /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/LLDB
  Reason: image not found
Abort trap: 6 (core dumped)

This also happens if you call swift with no arguments.

I found this while trying to debug #600, and noticed no core dumps seem to be generated, even after running ulimit -c unlimited.

@TheBrokenRail
Copy link
Contributor Author

Fgured out how to get a core dump, turned out apport was blocking it.

@TheBrokenRail
Copy link
Contributor Author

Reinstalled my prefix and it works now!

@ahyattdev
Copy link
Member

@TheBrokenRail could you share how you got a core dump from Darling?

@TheBrokenRail
Copy link
Contributor Author

I had to use sydctl to change kernel.core_pattern temporarily and run ```ulimit -c unlimited````.

@TheBrokenRail
Copy link
Contributor Author

Was accidentally using an older version of the CLT, this is till an issue.

@ahyattdev
Copy link
Member

Note: You may run into LKM freezing. Please follow instructions on the wiki for a working lldb.

https://wiki.darlinghq.org/debugging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants