I am running command "weechat -r \"/quit\" -d /home/quetzal/.weechat" from Puppet configuration. The command is ran as user "quetzal", not root. I use that to create the "base" of default configuration and later apply my changes on top of those. What happens now is that weechat is crashing when running the command. It crashes when run by Puppet but not from the command line (it never crashed with weechat 1.1.1 in Ubuntu 15.04):
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns:
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** Very bad! WeeChat is crashing (SIGSEGV received)
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** Full crash dump was saved to /home/quetzal/.weechat/weechat_crash_20151023_1760.log file.
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: ***
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** Please help WeeChat developers to fix this bug:
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** 1. If you have a core file, please run: gdb /path/to/weechat core
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** then issue command: "bt full" and send result to developers
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** (see user's guide for more info about report of crashes).
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** 2. Otherwise send backtrace (below), only if it is a complete trace.
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** Keep the crash log file, just in case developers ask you some info
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: *** (be careful, private info like passwords may be in this file).
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns:
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: ======= WeeChat backtrace =======
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: (written by WeeChat 1.3, compiled on Aug 20 2015 05:29:31)
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: ======= End of backtrace =======
Notice: /Stage[main]/Weechat::Fror::Quetzal/Exec[weechat-confcreate-quetzal]/returns: Aborted (core dumped)
Crash log attached.