Skip to content
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

Crash on weechat exit #922

Closed
rjarry opened this issue Feb 5, 2024 · 2 comments
Closed

Crash on weechat exit #922

rjarry opened this issue Feb 5, 2024 · 2 comments

Comments

@rjarry
Copy link

rjarry commented Feb 5, 2024

Hi,

I am getting this crash when exiting weechat with slack.py installed.

======= WeeChat backtrace =======
(written by WeeChat 4.1.2, compiled on Dec  4 2023 00:00:00)
001  ??:0 [function ??]
002  ??:0 [function ??]
003  ??:? [function __restore_rt]
004  ??:? [function PyObject_GC_UnTrack]
005  ??:? [function PyGC_Collect]
006  ??:? [function _PyObject_FastCallDictTstate]
007  ??:? [function PyObject_Free]
008  ??:? [function _PyModule_ClearDict]
009  ??:? [function PyGC_Collect]
010  ??:? [function Py_EndInterpreter]
011  ??:? [function weechat_python_load]
012  ??:? [function weechat_python_load]
013  ??:? [function plugin_script_action_install]
014  ??:? [function weechat_python_signal_script_action_cb]
015  ??:0 [function ??]
016  ??:0 [function ??]
017  ??:0 [function ??]
018  ??:0 [function ??]
019  ??:? [function __libc_start_call_main]
020  :? [function __libc_start_main_alias_2]
021  ??:0 [function ??]
======= End of  backtrace =======

Here is some info about the python version involved:

$ ldd /usr/lib64/weechat/plugins/python.so 
	linux-vdso.so.1 (0x00007ffe957d9000)
	libpython3.12.so.1.0 => /lib64/libpython3.12.so.1.0 (0x00007f9353400000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f935321e000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f9353af9000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9353c35000)

Any idea what could be wrong?

@trygveaa
Copy link
Member

This is perhaps the same as this issue? weechat/weechat#2046

There is apparently some issue with Python 3.12 in WeeChat. Not sure what the cause is yet.

@trygveaa
Copy link
Member

trygveaa commented Mar 8, 2024

This looks to be the same issue as the one I linked to, so I'll close this. If this issue still occurs after that one is fixed, feel free to reopen or post a new issue.

The stack trace is a bit different though (and different from the one you posted in that issue, which is similar to the one I get). It seems like you've managed to trigger it when installing a script somehow. If you have a way to reproduce that, I would be interested.

@trygveaa trygveaa closed this as completed Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants