WeeChat crashes on devel WeeChat 2.0-dev (git: v1.9-353-g157dc811a), the cause is that php7.x-embed is not installed on the system. https://github.com/weechat/weechat/issues/1078#issuecomment-334575574
Original post can be found here, comments have been compressed into gists as the backtraces are quite lengthy: https://gist.github.com/Zarthus/af57be8e65675fbbc55ef692126fbdfb#file-a_op-zarthus-md
Hi,
How can I reproduce the crash?
Can you try to start WeeChat without scripts? (weechat -s). And if this still crashes, without plugins: weechat -p
import random)So the problem happens when there's no php installed (or not all required packages).
Currently the Debian packages in weechat.org repository embeds php plugin but there's a dependency problem: the php packages are not required. That means weechat can be installed without php, which causes the crash.
The solution is to install libphp7.1-embed (or libphp7.0-embed in Stretch).
I'm looking why it crashes though (it should not crash when the lib is not found).
Hmm still not working in debian packaging.
Most helpful comment
So the problem happens when there's no php installed (or not all required packages).
Currently the Debian packages in weechat.org repository embeds php plugin but there's a dependency problem: the php packages are not required. That means weechat can be installed without php, which causes the crash.
The solution is to install libphp7.1-embed (or libphp7.0-embed in Stretch).
I'm looking why it crashes though (it should not crash when the lib is not found).