* [ISSUE] weechat crashes on exit when both title.py and autosort.py are loaded
@ 2023-11-21 17:47 laemeiqu
2023-11-21 18:08 ` laemeiqu
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: laemeiqu @ 2023-11-21 17:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3489 bytes --]
New issue by laemeiqu on void-packages repository
https://github.com/void-linux/void-packages/issues/47336
Description:
### Is this a new report?
Yes
### System Info
Void 6.5.11_1 x86_64 GenuineIntel/VM uptodate FFFF
### Package(s) Affected
weechat-4.1.1_1 , weechat-python-4.1.1_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
https://github.com/weechat/weechat/issues/2046
### Expected behaviour
Weechat doesn't crash on exit when both title.py and autosort.py scripts are installed.
### Actual behaviour
Weechat crashes during exit when both scripts are installed.
### Steps to reproduce
1. /script load title.py
2. /script load autosort.py
3. /exit
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
```
#0 0x00007ffff626f76d in PyObject_GC_UnTrack () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#1 0x00007ffff62a2099 in ?? () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#2 0x00007ffff62251e5 in ?? () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#3 0x00007ffff6220276 in ?? () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#4 0x00007ffff6225bd5 in _PyModule_ClearDict () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#5 0x00007ffff62eaaf6 in ?? () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#6 0x00007ffff62ead6b in Py_EndInterpreter () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#7 0x00007ffff66ea2a0 in weechat_python_unload (script=0x555555df3550)
at /builddir/weechat-4.1.1/src/plugins/python/weechat-python.c:975
rc = <optimized out>
interpreter = 0x7ffff5bec910
filename = 0x555555e69230 "/home/roald/.local/share/weechat/python/autoload/title.py"
#8 0x00007ffff66ea375 in weechat_python_unload_all ()
at /builddir/weechat-4.1.1/src/plugins/python/weechat-python.c:1024
No locals.
#9 0x00007ffff670a12c in plugin_script_end (weechat_plugin=weechat_plugin@entry=0x555555b5cd10,
plugin_data=plugin_data@entry=0x7ffff671bd00 <python_data>)
at /builddir/weechat-4.1.1/src/plugins/plugin-script.c:1789
scripts_loaded = 1
#10 0x00007ffff66eb681 in weechat_plugin_end (plugin=0x555555b5cd10)
at /builddir/weechat-4.1.1/src/plugins/python/weechat-python.c:1563
No locals.
#11 0x00005555555fadb6 in plugin_unload (plugin=0x555555b5cd10)
at /builddir/weechat-4.1.1/src/plugins/plugin.c:1253
end_func = <optimized out>
name = 0x555555fcd320 "python"
#12 0x00005555555fae69 in plugin_unload_all () at /builddir/weechat-4.1.1/src/plugins/plugin.c:1305
plugins_loaded = <optimized out>
#13 0x00005555555fb122 in plugin_end () at /builddir/weechat-4.1.1/src/plugins/plugin.c:1425
No locals.
#14 0x00005555555630c2 in weechat_end (gui_end_cb=0x5555555f43d0 <gui_main_end>)
at /builddir/weechat-4.1.1/src/core/weechat.c:708
No locals.
#15 0x00005555555620d6 in main (argc=1, argv=0x7fffffffe118)
at /builddir/weechat-4.1.1/src/gui/curses/normal/main.c:45
No locals.
```
WeeChat version: weechat-4.1.1_1
OS, distribution and version: Voidlinux (fully updated on Tue Nov 21 2023)
Terminal: foot
Terminal multiplexer (screen/tmux/…/none): none
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: weechat crashes on exit when both title.py and autosort.py are loaded
2023-11-21 17:47 [ISSUE] weechat crashes on exit when both title.py and autosort.py are loaded laemeiqu
@ 2023-11-21 18:08 ` laemeiqu
2023-11-21 18:08 ` laemeiqu
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: laemeiqu @ 2023-11-21 18:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
New comment by laemeiqu on void-packages repository
https://github.com/void-linux/void-packages/issues/47336#issuecomment-1821413740
Comment:
If title is unloaded before autosort then weechat does not crash on exit:
/script unload title
/exit
If autosort is unloaded before title then weechat does crash on exit or on unloading of title:
/script unload autosort
/script unload title
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: weechat crashes on exit when both title.py and autosort.py are loaded
2023-11-21 17:47 [ISSUE] weechat crashes on exit when both title.py and autosort.py are loaded laemeiqu
2023-11-21 18:08 ` laemeiqu
@ 2023-11-21 18:08 ` laemeiqu
2023-11-27 12:05 ` [ISSUE] [CLOSED] " ahesford
2023-11-27 12:05 ` ahesford
3 siblings, 0 replies; 5+ messages in thread
From: laemeiqu @ 2023-11-21 18:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 429 bytes --]
New comment by laemeiqu on void-packages repository
https://github.com/void-linux/void-packages/issues/47336#issuecomment-1821413740
Comment:
If title is unloaded before autosort then weechat does not crash on exit:
1. /script unload title
2. /exit
3. no crash
If autosort is unloaded before title then weechat does crash on exit or on unloading of title:
1. /script unload autosort
2. /script unload title
3. crash
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] weechat crashes on exit when both title.py and autosort.py are loaded
2023-11-21 17:47 [ISSUE] weechat crashes on exit when both title.py and autosort.py are loaded laemeiqu
2023-11-21 18:08 ` laemeiqu
2023-11-21 18:08 ` laemeiqu
@ 2023-11-27 12:05 ` ahesford
2023-11-27 12:05 ` ahesford
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2023-11-27 12:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 3492 bytes --]
Closed issue by laemeiqu on void-packages repository
https://github.com/void-linux/void-packages/issues/47336
Description:
### Is this a new report?
Yes
### System Info
Void 6.5.11_1 x86_64 GenuineIntel/VM uptodate FFFF
### Package(s) Affected
weechat-4.1.1_1 , weechat-python-4.1.1_1
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
https://github.com/weechat/weechat/issues/2046
### Expected behaviour
Weechat doesn't crash on exit when both title.py and autosort.py scripts are installed.
### Actual behaviour
Weechat crashes during exit when both scripts are installed.
### Steps to reproduce
1. /script load title.py
2. /script load autosort.py
3. /exit
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
```
#0 0x00007ffff626f76d in PyObject_GC_UnTrack () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#1 0x00007ffff62a2099 in ?? () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#2 0x00007ffff62251e5 in ?? () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#3 0x00007ffff6220276 in ?? () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#4 0x00007ffff6225bd5 in _PyModule_ClearDict () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#5 0x00007ffff62eaaf6 in ?? () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#6 0x00007ffff62ead6b in Py_EndInterpreter () from /usr/lib/libpython3.12.so.1.0
No symbol table info available.
#7 0x00007ffff66ea2a0 in weechat_python_unload (script=0x555555df3550)
at /builddir/weechat-4.1.1/src/plugins/python/weechat-python.c:975
rc = <optimized out>
interpreter = 0x7ffff5bec910
filename = 0x555555e69230 "/home/roald/.local/share/weechat/python/autoload/title.py"
#8 0x00007ffff66ea375 in weechat_python_unload_all ()
at /builddir/weechat-4.1.1/src/plugins/python/weechat-python.c:1024
No locals.
#9 0x00007ffff670a12c in plugin_script_end (weechat_plugin=weechat_plugin@entry=0x555555b5cd10,
plugin_data=plugin_data@entry=0x7ffff671bd00 <python_data>)
at /builddir/weechat-4.1.1/src/plugins/plugin-script.c:1789
scripts_loaded = 1
#10 0x00007ffff66eb681 in weechat_plugin_end (plugin=0x555555b5cd10)
at /builddir/weechat-4.1.1/src/plugins/python/weechat-python.c:1563
No locals.
#11 0x00005555555fadb6 in plugin_unload (plugin=0x555555b5cd10)
at /builddir/weechat-4.1.1/src/plugins/plugin.c:1253
end_func = <optimized out>
name = 0x555555fcd320 "python"
#12 0x00005555555fae69 in plugin_unload_all () at /builddir/weechat-4.1.1/src/plugins/plugin.c:1305
plugins_loaded = <optimized out>
#13 0x00005555555fb122 in plugin_end () at /builddir/weechat-4.1.1/src/plugins/plugin.c:1425
No locals.
#14 0x00005555555630c2 in weechat_end (gui_end_cb=0x5555555f43d0 <gui_main_end>)
at /builddir/weechat-4.1.1/src/core/weechat.c:708
No locals.
#15 0x00005555555620d6 in main (argc=1, argv=0x7fffffffe118)
at /builddir/weechat-4.1.1/src/gui/curses/normal/main.c:45
No locals.
```
WeeChat version: weechat-4.1.1_1
OS, distribution and version: Voidlinux (fully updated on Tue Nov 21 2023)
Terminal: foot
Terminal multiplexer (screen/tmux/…/none): none
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: weechat crashes on exit when both title.py and autosort.py are loaded
2023-11-21 17:47 [ISSUE] weechat crashes on exit when both title.py and autosort.py are loaded laemeiqu
` (2 preceding siblings ...)
2023-11-27 12:05 ` [ISSUE] [CLOSED] " ahesford
@ 2023-11-27 12:05 ` ahesford
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2023-11-27 12:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 277 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/47336#issuecomment-1827705995
Comment:
This seems like something for upstream to fix. If they demonstrate that this is a Void packaging problem, please re-open this issue.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-11-27 12:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-21 17:47 [ISSUE] weechat crashes on exit when both title.py and autosort.py are loaded laemeiqu
2023-11-21 18:08 ` laemeiqu
2023-11-21 18:08 ` laemeiqu
2023-11-27 12:05 ` [ISSUE] [CLOSED] " ahesford
2023-11-27 12:05 ` ahesford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).