Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

attach failed with TimeoutError exception #26

@friendwu

Description

@friendwu

I'm running pyringe to try to attach to one python process on Mac platform, and it fails all the time.

Using pyringe git HEAD code instead of PYPI package.
Gdb version: 8.1

Here is the trace:

Traceback (most recent call last):
File "", line 1, in
File "pyringe/repl.py", line 161, in Attach
self.inferior.Reinit(pid)
File "pyringe/inferior.py", line 484, in Reinit
self.init(pid, auto_symfile_loading, architecture=self.arch)
File "pyringe/inferior.py", line 456, in init
self.StartGdb()
File "pyringe/inferior.py", line 503, in StartGdb
self._gdb.Attach(self.position)
File "pyringe/inferior.py", line 200, in
return lambda *args, **kwargs: self._Execute(name, *args, **kwargs)
File "pyringe/inferior.py", line 342, in _Execute
result_string = self._Recv(timeout)
File "pyringe/inferior.py", line 429, in _Recv
raise TimeoutError()
TimeoutError
==> pid:[71164] #threads:[0] current thread:[None]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions