UIM causes segfault if we unset HOME. http://qa.mandriva.com/show_bug.cgi?id=24472#c12 How to reproduce: $ LC_ALL=C; unset HOME; GTK_IM_MODULE=uim leafpad // ERROR: not a symbol or string *backtrace* >>(string-append (getenv "HOME") "/.uim.d/plugin") >>(list (getenv "LIBUIM_PLUGIN_LIB_DIR") (string-append (getenv "HOME") "/.uim.d/plugin") (string-append (sys-pkglibdir) "/plugin")) >>(append (list (getenv "LIBUIM_PLUGIN_LIB_DIR") (string-append (getenv "HOME") "/.uim.d/plugin") (string-append (sys-pkglibdir) "/plugin")) (if (getenv "LD_LIBRARY_PATH") (string-split (getenv "LD_LIBRARY_PATH") ":") ())) >>(if (setugid?) (list (string-append (sys-pkglibdir) "/plugin")) (filter string? (append (list (getenv "LIBUIM_PLUGIN_LIB_DIR") (string-append (getenv "HOME") "/.uim.d/plugin") (string-append (sys-pkglibdir) "/plugin")) (if (getenv "LD_LIBRARY_PATH") (string-split (getenv "LD_LIBRARY_PATH") ":") ())))) >>(define uim-plugin-lib-load-path (if (setugid?) (list (string-append (sys-pkglibdir) "/plugin")) (filter string? (append (list (getenv "LIBUIM_PLUGIN_LIB_DIR") (string-append (getenv "HOME") "/.uim.d/plugin") (string-append (sys-pkglibdir) "/plugin")) (if (getenv "LD_LIBRARY_PATH") (string-split (getenv "LD_LIBRARY_PATH") ":") ()))))) >>(require "plugin.scm") >>(require "init.scm") >>(*catch (quote errobj) (require "init.scm")) >>(eq? (quote *init.scm-loaded*) (*catch (quote errobj) (require "init.scm"))) ERROR: unbound variable (errobj uim-get-default-im-name) *backtrace* >>(uim-get-default-im-name "ja_JP.UTF-8") ERROR: unbound variable (errobj create-context) *backtrace* >>(create-context 0 (quote ()) (quote direct)) >>Segmentation fault //
OK. Fixed in r3878.
> OK. Fixed in r3878. Confirmed. I uploaded a new package for Mandriva. http://sourceforge.net/project/showfiles.php?group_id=109779&package_id=119961 Thank you so much.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.