SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Slackware 12.1
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Smart Common Input Method 1.4.7
/home/test/firefox/run-mozilla.sh: line 131: 24829 Segmentation fault "$prog" ${1+"$@"}
line 131 of run-mozilla.sh:
Code:
moz_run_program()
{
prog=$MOZ_PROGRAM
##
## Make sure the program is executable
##
if [ ! -x "$prog" ]
then
moz_bail "Cannot execute $prog."
fi
##
## Use md5sum to crc a core file. If md5sum is not found on the system,
## then dont debug core files.
##
moz_test_binary /bin/type
if [ $? -eq 1 ]
then
crc_prog=`type md5sum 2>/dev/null | awk '{print $3;}' 2>/dev/null | sed -e 's/\.$//'`
else
crc_prog=`which md5sum 2>/dev/null`
fi
if [ -x "$crc_prog" ]
then
DEBUG_CORE_FILES=1
fi
if [ "$DEBUG_CORE_FILES" ]
then
crc_old=
if [ -f core ]
then
crc_old=`$crc_prog core | awk '{print $1;}' `
fi
fi
##
## Run the program
##
"$prog" ${1+"$@"}
exitcode=$?
if [ "$DEBUG_CORE_FILES" ]
then
if [ -f core ]
then
crc_new=`$crc_prog core | awk '{print $1;}' `
fi
fi
if [ "$crc_old" != "$crc_new" ]
then
printf "\n\nOh no! %s just dumped a core file.\n\n" $prog
printf "Do you want to debug this ? "
printf "You need a lot of memory for this, so watch out ? [y/n] "
read ans
if [ "$ans" = "y" ]
then
debugger=`moz_get_debugger`
if [ -x "$debugger" ]
then
echo "$debugger $prog core"
# See http://www.mozilla.org/unix/debugging-faq.html
# For why LD_BIND_NOW is needed
LD_BIND_NOW=1; export LD_BIND_NOW
$debugger "$prog" core
else
echo "Could not find a debugger on your system."
fi
fi
fi
}
Well, I don't know if the two problems are related or not, but according to this thread you may just have to issue
Code:
# chmod +x /etc/profile.d/scim.*
to fix the problem. However, not knowing anything at all about SCIM myself, and not having tested the suggestion (and not experiencing the problem in the first place since I don't use SCIM), I don't know how much that will help, if at all.
It works because Firefox uses GTK, and you have disabled the use of scim for GTK apps. i.e. You have dodged the problem, not fixed it. You will probably find other problems occur due to not having scim properly implemented.
The default setting is GTK_IM_MODULE=scim-bridge ( see /etc/profile.d/scim.sh ).
This suggests that your problem lies with scim. I suggest that from a terminal window you type:
'scim --help' - To see the scim options
'scim --list' - To see the IMEngine modules available.
then try loading the IMEngine modules individually using 'scim --engines <modulename>'.
Hopefully you will get some information on your problem.
The problem of problems with SCIM and fcitx is that the documentation is in chinese, yet after simple chinese(38%), european(15%), in particular English (11%), is the mother language of SCIM users according to their survey.
As with fcitx, I have difficulty reading the suggestions under the input box - this is even more important to a person such as me who is learning chinese.
Hence I really want to find out how to enlage the box and the chinese characters which are prompted underneath for choosing (zh-tonepy-gb).
Quote:
You will probably find other problems occur due to not having scim properly implemented.
Quite right - it doesn't work for inputting into a firefox textarea.
Well, at least no one can accuse me of not RTFM - it's in chinese.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.