Skip to content

lldb-server fails to connect on version 20.1+ #132024

Closed
@azais-corentin

Description

@azais-corentin

Hello,

Since LLVM 20, I'm not able to use remote debugging anymore.

I start the server on one terminal:

lldb-server-20 platform --server --listen *:1234 --min-gdbserver-port 31400 --max-gdbserver-port 31500

Then when I connect, I get the following errors:

> lldb-20
> (lldb) platform select remote-linux
> (lldb) platform connect connect://127.0.0.1:1234
> error: spawn_process failed: execve failed: No such file or directory
> error: Connection shut down by remote side while waiting for reply to initial handshake packet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions