[Uim-bugs] [Bug 8405] New: UIM causes segfault if we unset HOME
bugzilla-daemon at annarchy.freedesktop.org
bugzilla-daemon at annarchy.freedesktop.org
Sat Sep 23 11:42:04 EEST 2006
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=8405
Summary: UIM causes segfault if we unset HOME
Product: UIM
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Other
AssignedTo: uim-bugs at freedesktop.org
ReportedBy: utuhiro78 at yahoo.co.jp
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
//
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the uim-bugs
mailing list