#1 Le 31/10/2006, à 11:25
- 666jesus
[Résolu] Firefox plante sur certain sites sous edgy
firefox me ferme toutes les fenetres internet si j'ai le malheur d'aller sur un site de la "liste noire".
Problème, la liste noire, c'est quasiment tous les sites sauf ubuntu, et google...dur dur. (ex, lycos, meteo france, ... ca plante)
j'ai desactiver pour voir la fermeture automatique des fenetres popup mais sans conviction et en effet ca n'a rien changer....
A l'aide.....
svp dans vos reponse que je souhaite nombreuses, essayer d'etre assez complet car mes connaissances sont limité
Merci
Hors ligne
#2 Le 31/10/2006, à 11:56
- bakalegum
Re : [Résolu] Firefox plante sur certain sites sous edgy
tu peux tester un autre exploratuer tel qu epiphanie (epiphany ?) en attendant que tous les bug de firefox soient resolu ( il ya un tut dans le planet) ou peut etre peux tu essayer de desinstaller reinatller firefox 2.0, quitte a mettre une version plus ancienne mais qui a fait ses preuves
bon courage
Hors ligne
#3 Le 31/10/2006, à 12:04
- eln
Re : [Résolu] Firefox plante sur certain sites sous edgy
Hors ligne
#4 Le 31/10/2006, à 14:02
- 666jesus
Re : [Résolu] Firefox plante sur certain sites sous edgy
formidable, ca marche du tonerre
merci a tous
Hors ligne
#5 Le 31/10/2006, à 15:14
- Mister Mamat
Re : [Résolu] Firefox plante sur certain sites sous edgy
Pour ma part l'ajout des 2 lignes au début du script, n'arrangeait pas le problème.
La solution est de les mettre en avant dernière position.
Dans mon cas :
#!/bin/bash
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
##
## For silly people running firefox through sudo
##
if [ "${SUDO_USER}" ] && [ "${SUDO_USER}" != "${USER}" ]; then
SUDO_HOME=`getent passwd ${SUDO_USER} | cut -f6 -d:`
if [ "${SUDO_HOME}" = "${HOME}" ]; then
echo "You should really not run firefox through sudo WITHOUT the -H option." >&2
echo "Anyway, I'll do as if you did use the -H option." >&2
HOME=`getent passwd ${USER} | cut -f6 -d:`
if [ -z "${HOME}" ]; then
echo "Could not find the correct home directory. Please use the -H option of sudo." >&2
fi
fi
fi
##
## Variables
##
MOZ_DIST_BIN="/usr/lib/firefox"
MOZ_PROGRAM="${MOZ_DIST_BIN}/firefox-bin"
##
## Load system and user properties
##
RUNTIME_FIREFOX_DSP="${FIREFOX_DSP}"
if [ -f /etc/firefox/firefoxrc ]; then
. /etc/firefox/firefoxrc
fi
if [ -f "${HOME}/.mozilla/firefox/rc" ]; then
. "${HOME}/.mozilla/firefox/rc"
elif [ -f "${HOME}/.mozilla-firefoxrc" ]; then
. "${HOME}/.mozilla-firefoxrc"
echo "Warning: a .mozilla-firefoxrc file has been found in your home directory" >&2
echo "While it is still supported, it is recommended to move it to" >&2
echo "\${HOME}/.mozilla/firefox/rc" >&2
fi
if [ "x${MOZ_DISABLE_PANGO}" = x ]; then
if egrep '^(bn|gu|hi|kn|ml|mr|ne|pa|si|ta|te)_' \
/var/lib/locales/supported.d/*[^~] >/dev/null 2>&1; then
MOZ_DISABLE_PANGO=0
else
MOZ_DISABLE_PANGO=1
fi
export MOZ_DISABLE_PANGO
fi
if [ "x${MOZ_DISABLE_PANGO}" = x0 ]; then
unset MOZ_DISABLE_PANGO
fi
if [ "${RUNTIME_FIREFOX_DSP}" ]; then
FIREFOX_DSP="${RUNTIME_FIREFOX_DSP}"
fi
if [ -z "${FIREFOX_DSP}" ]; then
#FIREFOX_DSP="auto"
FIREFOX_DSP="none"
# esddsp is dreadful, see https://launchpad.net/malone/bugs/29760
fi
##
## find /dev/dsp handler
##
if [ "${FIREFOX_DSP}" = "auto" ]; then
FIREFOX_DSP=
if [ -n "${AUDIOSERVER}" ]; then
# do not prevent using other wrappers if $AUDIOSERVER was set up
# unintentionally or audiooss is not available
if type audiooss >/dev/null 2>&1; then
FIREFOX_DSP=audiooss
fi
fi
if pgrep -u `id -u` esd >/dev/null 2>&1; then
FIREFOX_DSP=esddsp
elif pgrep -u `id -u` arts >/dev/null 2>&1; then
FIREFOX_DSP=artsdsp
elif [ -x /usr/bin/aoss -a -d /proc/asound ] ; then
FIREFOX_DSP=aoss
fi
elif [ "${FIREFOX_DSP}" = "none" ]; then
FIREFOX_DSP=
fi
##
## Set LD_LIBRARY_PATH
##
EXTENT_LD_LIB_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:/usr/lib/mozilla-firefox/plugins
if [ "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=${EXTENT_LD_LIB_PATH}:${LD_LIBRARY_PATH}
else
LD_LIBRARY_PATH=${EXTENT_LD_LIB_PATH}
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH/:\/usr\/lib\/mozilla-thunderbird:/:}
LD_LIBRARY_PATH=${LD_LIBRARY_PATH%:}
export LD_LIBRARY_PATH
MOZ_PLUGIN_PATH=/usr/lib/mozilla-firefox/plugins${MOZ_PLUGIN_PATH+":$MOZ_PLUGIN_PATH"}
export MOZ_PLUGIN_PATH
# Set XPSERVERLIST if not set yet for XPrint support, or complain.
#if [ -z "${XPSERVERLIST}" ]; then
# if [ -x /etc/init.d/xprint ]; then
# XPSERVERLIST=`/etc/init.d/xprint get_xpserverlist`
# export XPSERVERLIST
# else
# echo -e "Warning: \${XPSERVERLIST} not set and /etc/init.d/xprint not found;\nprinting will not work.\nPlease install the xprt-xprintorg package" >&2
# fi
#fi
verbose () {
if [ "${VERBOSE}" ]; then
echo $@
fi
}
echo_vars () {
if [ "${VERBOSE}" ]; then
for var in "$@"; do
echo "$var=`eval echo \\${$var}`"
done
fi
}
# exec wrapper for verbosity
exec_verbose () {
verbose Running: $@
exec "$@"
}
# exec wrapper for verbosity
run_verbose () {
verbose Running: $@
"$@"
}
# OK, here's where all the real work gets done
# parse command line
APPLICATION_ID=firefox
VERBOSE=
DEBUG=0
DEBUGGER=
first=1
opt=
for arg in "$@"; do
if [ ${first} -eq 1 ]; then
set dummy
first=0
fi
case "${arg}" in
-a | --display | -contentLocale | -UILocale | -remote | --debugger | -height | -width | -chrome | -P | -CreateProfile)
prev=${arg}
continue
;;
esac
if [ "${prev}" ]; then
case "${prev}" in
-a)
APPLICATION_ID="${arg}"
;;
-P|-CreateProfile)
case "${arg}" in
default) APPLICATION_ID=firefox ;;
*) APPLICATION_ID=firefox--"${arg}" ;;
esac
MOZ_NO_REMOTE=1
export MOZ_NO_REMOTE
set "$@" "${prev}" "${arg}"
;;
--display)
CMDLINE_DISPLAY="${arg}"
set "$@" --display "${arg}"
;;
-remote)
set "$@" -remote "${arg}"
;;
--debugger)
DEBUGGER="${arg}"
DEBUG=1
;;
*)
set "$@" "${prev}" "${arg}"
;;
esac
prev=
elif [ "${arg}" ]; then
case "$arg" in
--verbose | -V)
VERBOSE=1
;;
--display=*)
CMDLINE_DISPLAY=`echo ${arg} | sed 's/^--display=//'`
set "$@" "${arg}"
;;
-g | -debug)
DEBUG=1
;;
-no-remote)
MOZ_NO_REMOTE=1
export MOZ_NO_REMOTE
;;
-ProfileManager)
MOZ_NO_REMOTE=1
export MOZ_NO_REMOTE
APPLICATION_ID="unique--`uname -n`--$$"
set "$@" "${arg}"
;;
-*)
set "$@" "${arg}"
;;
*)
if [ -z "${opt}" ]; then
opt="${arg}"
# check to make sure that the url contains at least a :/ in it.
echo ${opt} | grep -e ':/' 2>/dev/null > /dev/null
RETURN_VAL=$?
if [ "${RETURN_VAL}" -eq 1 ]; then
# if it doesn't begin with a '/' and it exists when the pwd is
# prepended to it then append the full path
echo ${opt} | grep -e '^/' 2>/dev/null > /dev/null
if [ "$?" -ne "0" ] && [ -e "`pwd`/${opt}" ]; then
opt="`pwd`/${opt}"
fi
# Make it percent-encoded and prepend file:// if it is a valid file
if [ -e "${opt}" ]; then
opt="file://$( echo -n "${opt}" | perl -pe "s/([^a-zA-Z0-9-._~\!\\\$&'()*+,=:@\/])/'%'.unpack('H2',\$1)/ge" )"
fi
fi
set "$@" "${opt}"
else
set "$@" "${arg}"
fi
;;
esac
fi
done
set "$@" "-a" "${APPLICATION_ID}"
if [ $# -ne 0 ]; then
shift
fi
OPTIONS="$@"
if [ ${DEBUG} -eq 1 ]; then
if [ "${DEBUGGER}" = "" ]; then
DEBUGGER=gdb
fi
TMPFILE=`mktemp -t firefox_argsXXXXXX`
echo set args "$@" > ${TMPFILE}
case "${DEBUGGER}" in
gdb)
run_verbose gdb "${MOZ_PROGRAM}" -x ${TMPFILE}
;;
ddd)
run_verbose ddd --debugger "gdb -x ${TMPFILE}" "${MOZ_PROGRAM}"
;;
*)
run_verbose ${DEBUGGER} "${MOZ_PROGRAM}" "$@"
;;
esac
rm ${TMPFILE}
exit
fi
echo_vars FIREFOX_DSP APPLICATION_ID CMDLINE_DISPLAY DISPLAY \
OPTIONS DEBUG DEBUGGER MOZ_DISABLE_PANGO MOZ_NO_REMOTE
if type "${FIREFOX_DSP}" > /dev/null 2>&1; then
MOZ_PROGRAM="${FIREFOX_DSP} ${MOZ_PROGRAM}"
fi
XLIB_SKIP_ARGB_VISUALS=1
export XLIB_SKIP_ARGB_VISUALS
exec_verbose ${MOZ_PROGRAM} "$@"
La nouvelle version de firefox est vraiment superbe!
Windows :
... on ne connait, on ne salue plus, on méprise!
Un singe en hivers (dialogue d'Audiard sur un bouquin de A.Blondin)
Hors ligne
#6 Le 31/10/2006, à 15:17
- Mister Mamat
Re : [Résolu] Firefox plante sur certain sites sous edgy
au fait tu devrais mettre résolu
Windows :
... on ne connait, on ne salue plus, on méprise!
Un singe en hivers (dialogue d'Audiard sur un bouquin de A.Blondin)
Hors ligne
#7 Le 01/11/2006, à 11:23
- titoucha
Re : [Résolu] Firefox plante sur certain sites sous edgy
Vous avez quoi comme message d'erreur, car moi j'ai une erreur de segmentation .
Je suis en x86_64 et j'ai réinstallé Firefox, mais rien n'y fait.
Hors ligne
#8 Le 01/11/2006, à 11:33
- eln
Re : [Résolu] Firefox plante sur certain sites sous edgy
Pour le message d'erreur il suffit de regarder le lien donné plus haut.
Hors ligne
#9 Le 01/11/2006, à 13:12
- titoucha
Re : [Résolu] Firefox plante sur certain sites sous edgy
Bon je vois que ce n'est vraiment pas la même erreur.
Edit: je viens de trouver c'est java qui fait planter firefox.
Dernière modification par titoucha (Le 01/11/2006, à 13:44)
Hors ligne
#10 Le 17/11/2006, à 19:37
- Blankoworld
Re : [Résolu] Firefox plante sur certain sites sous edgy
Bon je vois que ce n'est vraiment pas la même erreur.
Edit: je viens de trouver c'est java qui fait planter firefox.
Et as tu trouvé une solution entre temps ?:rolleyes:
La nature de l'homme n'est pas toujours de vouloir le mal de son prochain, elle est aussi d'aider ce dernier. En ce sens, je m'evertuerai à prêter toute l'aide possible.
Hors ligne