-
Notifications
You must be signed in to change notification settings - Fork 36
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
Segmentation fault when calling quit()
on a job event listener
#387
Comments
stack looks like Thread 1 "python" received signal SIGSEGV, Segmentation fault. |
@wiwichips async def async_quit(): my_j.on('accepted', lambda: async_quit()) |
Even if its unsupported, it should result in an exception, not a segmentation fault |
also works fine if not using lambda: my_j.on('accepted', non_async_quit()) |
just made an incorrect pr closes comment |
Issue type
Bug
How did you install PythonMonkey?
None
OS platform and distribution
Ubuntu 22.04.4 LTS x86_64
Python version (
python --version
)3.10
PythonMonkey version (
pip show pythonmonkey
)0.7.0
Bug Description
Not sure why in more detail, but when you call
quit()
on a job.on('accepted') listener, it seg faults every time!Standalone code to reproduce the issue
Relevant log output or backtrace
0.7.0 exec init preauth deploying listeners compute-groups uploading deployed Segmentation fault (core dumped)
Additional info if applicable
No response
What branch of PythonMonkey were you developing on? (If applicable)
No response
The text was updated successfully, but these errors were encountered: