Title: Core dump when calling session.methods() · Issue #203 · ParallelSSH/ssh2-python · GitHub
Open Graph Title: Core dump when calling session.methods() · Issue #203 · ParallelSSH/ssh2-python
X Title: Core dump when calling session.methods() · Issue #203 · ParallelSSH/ssh2-python
Description: Bug reports Hello, I'm getting a core dump when calling the methods() method of a session object. Steps to reproduce: Example code that produces error. from ssh2 import session as session_lib session = session_lib.Session() print(session...
Open Graph Description: Bug reports Hello, I'm getting a core dump when calling the methods() method of a session object. Steps to reproduce: Example code that produces error. from ssh2 import session as session_lib sessi...
X Description: Bug reports Hello, I'm getting a core dump when calling the methods() method of a session object. Steps to reproduce: Example code that produces error. from ssh2 import session as session_lib s...
Opengraph URL: https://github.com/ParallelSSH/ssh2-python/issues/203
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Core dump when calling session.methods()","articleBody":"### Bug reports\r\n\r\nHello, I'm getting a core dump when calling the `methods()` method of a session object.\r\n\r\n__Steps to reproduce:__\r\n\r\n1. Example code that produces error.\r\n\r\n```python\r\nfrom ssh2 import session as session_lib\r\nsession = session_lib.Session()\r\nprint(session.methods(session_lib.LIBSSH2_METHOD_HOSTKEY))\r\n```\r\n\r\n3. Stack trace or error messages.\r\n\r\n__Expected behaviour:__ [What was expected to happen.]\r\n\r\nDisplay the list of methods.\r\n\r\n__Actual behaviour:__ [What actually happened.]\r\n\r\n```bash\r\nSegmentation fault (core dumped)\r\n```\r\n\r\n__Additional info:__ [Include version of ``libssh2`` and any other relevant information.]\r\n\r\n- ubuntu 22.04\r\n- python 3.10.12\r\n- ssh2-python 1.0.0\r\n","author":{"url":"https://github.com/fcaspar-weefin","@type":"Person","name":"fcaspar-weefin"},"datePublished":"2024-01-08T10:01:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/203/ssh2-python/issues/203"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f0dbcc95-3088-5561-a335-9d89f951e37e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A1C:37B15B:532D22:761175:696A51ED |
| html-safe-nonce | 32ee6385addf55e6fda1cf2f667d339ff2ed3c281ab2a2c628b6ca5daafd9cd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTFDOjM3QjE1Qjo1MzJEMjI6NzYxMTc1OjY5NkE1MUVEIiwidmlzaXRvcl9pZCI6IjkyOTc5ODQ2NjQ0OTMzMDY2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1e41504b0ff7e9c2779d86ae132a85eb239abaa9e598866cb67d8426a18ec4e8 |
| hovercard-subject-tag | issue:2070103868 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ParallelSSH/ssh2-python/203/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b0cd1a8dcb88ed72409d7cdc93a5a447eaca523b11b56c1eeba5a7dfba5a358d/ParallelSSH/ssh2-python/issues/203 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0cd1a8dcb88ed72409d7cdc93a5a447eaca523b11b56c1eeba5a7dfba5a358d/ParallelSSH/ssh2-python/issues/203 |
| og:image:alt | Bug reports Hello, I'm getting a core dump when calling the methods() method of a session object. Steps to reproduce: Example code that produces error. from ssh2 import session as session_lib sessi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fcaspar-weefin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/ParallelSSH/ssh2-python git https://github.com/ParallelSSH/ssh2-python.git |
| octolytics-dimension-user_id | 22918200 |
| octolytics-dimension-user_login | ParallelSSH |
| octolytics-dimension-repository_id | 98586974 |
| octolytics-dimension-repository_nwo | ParallelSSH/ssh2-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 98586974 |
| octolytics-dimension-repository_network_root_nwo | ParallelSSH/ssh2-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width