-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Intermittent SIGSEGV when running multiple ssh_channel.exec_command() #645
Comments
When I enable logging via
|
Version of remote SSH daemon (if that makes any difference):
|
@Jakuje ideas? |
Having log level trace output (see #597) would help to investigate the issue. From the current debug log it is not clear what is going on. I can just guess from the backtrace, that after the first channel got closed, either the callback or something is probing the structure that might have been freed. Is there way to install debuginfo on openbsd to see some more information through gdb about variables that make it crash or does it look like crashing inside the cpython? |
SUMMARY
On OpenBSD -current as of 2024-09-04 I have following backtrace from a core dump:
ISSUE TYPE
PYLISSH and LIBSSH VERSION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
Execution of below script should work all the time, but it code dumps intermittently.
ACTUAL RESULTS
Core dumps every now and then. Always on second command. First command always works.
The text was updated successfully, but these errors were encountered: