[root@anton ~]# /firefox1.0/firefox
*** loading the extensions datasource
*** loading the extensions datasource
Warning:
Name: menuBar
Class: XmRowColumn
XtGrabPointer failed.
/firefox1.0/run-mozilla.sh: line 159: 5629 段错误 "$prog" ${1+"$@"}
run-mozilla.sh对应的代码段落是;
## 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
}