-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
weechat crashes on exit when both title.py and autosort.py are loaded (voidlinux) #2046
Comments
If title is unloaded before autosort then weechat does not crash on exit:
If autosort is unloaded before title then weechat does crash on exit or on unloading of title:
|
Does the crash happen with any Python script? |
I can reproduce this crash with other python plugins. I reproduced the crash with the scripts go.py and grep.py both installed. If grep.py is unloaded before go.py then weechat does not crash on exit:
If go.py is unloaded before grep.py then weechat does crash on exit or on unloading of grep.py:
Note: going straight for /exit when grep.py and go.py are both installed and loaded also results in the crash. |
Hi, |
Hi there, I can also reproduce the issue with Reproducer:
Here is some more debug info if that helps:
|
I bisected this issue to this commit in cpython: python/cpython@de64e75 |
I posted an issue to CPython for this: python/cpython#116510 I also noticed that it's fixed in version v3.13.0a4. |
Bug summary
When using weechat-4.1.1_1 and weechat-python-4.1.1_1 under voidlinux. When scripts title.py and autosort.py are both installed weechat crashes on exit.
Steps to reproduce
1. /script load title.py
2. /script load autosort.py
3. /exit
If no crash at this time then reloading weechat and /exit will definitely crash weechat in voidlinux.
Current behavior
Weechat crashes during exit when both scripts are installed.
Expected behavior
Weechat doesn't crash on exit when both scripts are installed.
Suggested solutions
Additional information
After bulding debug packages in voidlinux
gdb /usr/bin/weechat
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff626f76d in PyObject_GC_UnTrack () from /usr/lib/libpython3.12.so.1.0
bt full
The text was updated successfully, but these errors were encountered: