guile: disable guile gmp allocator (fix crash on unload of relay plugin) (bug #40628)

v2.8-utf8proc
Pierre Carru 2013-11-19 19:41:16 +01:00 committed by Sebastien Helleu
parent 717eaae496
commit b5db21d6c4
3 changed files with 10 additions and 0 deletions

View File

@ -55,6 +55,7 @@ Alphabetically:
* Paul Komkoff
* Pavel Shevchuk (Stalwart)
* Peter Boström (pbos)
* Pierre Carru
* Piotr Szymaniak
* Pistos
* Quentin Glidic (SardemFF7)

View File

@ -38,6 +38,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
string_eval_expression and command /eval
* api: add support for C++ plugins
* api: fix read of arrays in hdata functions hdata_<type> (bug #40354)
* guile: disable guile gmp allocator (fix crash on unload of relay plugin)
(bug #40628)
* irc: fix groups in channel nicklist when reconnecting to a server that
supports more nick prefixes than the previously connected server
* irc: fix auto-switch to channel buffer when doing /join channel (without "#")

View File

@ -972,6 +972,13 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
guile_stdout = NULL;
/*
* prevent guile to use its own gmp allocator, because it can conflict
* with other plugins using GnuTLS like relay, which can crash WeeChat
* on unload (or exit)
*/
scm_install_gmp_memory_functions = 0;
scm_init_guile ();
guile_module_weechat = scm_c_define_module ("weechat",