-
Notifications
You must be signed in to change notification settings - Fork 13.3k
lldb-server fails to connect on version 20.1+ #132024
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
Comments
@llvm/issue-subscribers-lldb Author: Azais Corentin (azais-corentin)
Hello,
Since LLVM 20, I'm not able to use remote debugging anymore. I start the server on one terminal:
Then when I connect, I get the following errors:
The exact same steps on LLVM 19 work without any errors. Please note that the issue seems to be specific to lldb-server since using lldb-20 with lldb-server-19 works. |
I think this may have been fixed by #131519.
So if you are able to build a new lldb from the main branch, you can check whether this is the case. |
I think we should be backporting that change to the 20 branch anyway, so I've requested that. If it fixes this issue too, that's a bonus. |
I tried on LLVM 20.1.1 and using it with an absolute path seems to fix the issue. I will close this as the two issues are very likely to be the same. Thanks for your help! |
I reproduced the issue locally and confirmed that a combination of #131519 and #133093 fixes the problem. How to reproduce:
|
Hello,
Since LLVM 20, I'm not able to use remote debugging anymore.
I start the server on one terminal:
Then when I connect, I get the following errors:
The exact same steps on LLVM 19 work without any errors.
Please note that the issue seems to be specific to lldb-server since using lldb-20 with lldb-server-19 works.
The text was updated successfully, but these errors were encountered: