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

Core dump when calling session.methods() #203

Open
fcaspar-weefin opened this issue Jan 8, 2024 · 0 comments
Open

Core dump when calling session.methods() #203

fcaspar-weefin opened this issue Jan 8, 2024 · 0 comments

Comments

@fcaspar-weefin
Copy link

Bug reports

Hello, I'm getting a core dump when calling the methods() method of a session object.

Steps to reproduce:

  1. Example code that produces error.
from ssh2 import session as session_lib
session = session_lib.Session()
print(session.methods(session_lib.LIBSSH2_METHOD_HOSTKEY))
  1. Stack trace or error messages.

Expected behaviour: [What was expected to happen.]

Display the list of methods.

Actual behaviour: [What actually happened.]

Segmentation fault (core dumped)

Additional info: [Include version of libssh2 and any other relevant information.]

  • ubuntu 22.04
  • python 3.10.12
  • ssh2-python 1.0.0
@fcaspar-weefin fcaspar-weefin changed the title Code dump when calling session.methods() Core dump when calling session.methods() Jan 8, 2024
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

1 participant