[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Firefox VS Flash VS Xorg



Exporte essa variavel antes de carregar o FF :
export XLIB_SKIP_ARGB_VISUALS=1

Esse bug realmente existe e foi documentado em :
https://bugzilla.mozilla.org/show_bug.cgi?id=304370

Eu até já havia criado um script para não me aborrecer com o crash :
#!/bin/sh
# name : firefox.sh
# workaround to this bug :
# https://bugzilla.mozilla.org/show_bug.cgi?id=304370
# sitio para teste : http://www.stadtplandienst.de/
# Tambem pode-se acrescentar no proprio /usr/bin/firefox
# as seguintes linhas
# export MOZILLA_LAUNCHER=firefox-bin
# export XLIB_SKIP_ARGB_VISUALS=1
# exec /usr/libexec/mozilla-launcher

export XLIB_SKIP_ARGB_VISUALS=1

# somente se voce baixou o FF de mozilla.org e
# descompactou em /opt/firefox
firefox $1 $2 $3 $4 $5&

Paulo R. Francisco escreveu:
Segue as últimas linhas do strace depois que o Firefox caiu ao acessar uma página com Flash.


read(51, "\241 \314\7I\0\240\2\366\0\0\0\363\0\0\0\0\0\0\0\0\0\0"..., 32) = 32 read(51, 0xaf929200, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=51, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(51, "\0\247\316\7\0\34\0\0\2\0\222\0\10\0\0\0\0\0\0\0\270\316"..., 32) = 32
open("/usr/share/X11/XErrorDB", O_RDONLY) = 53
fstat64(53, {st_mode=S_IFREG|0644, st_size=37893, ...}) = 0
read(53, "! $Xorg: XErrorDB,v 1.3 2000/08/"..., 37893) = 37893
close(53)                               = 0
fstat64(2, {st_mode=S_IFCHR|0666, st_rdev=makedev(5, 0), ...}) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa38bc000 write(2, "The program \'Gecko\' received an "..., 55The program 'Gecko' received an X Window System error.) = 55 write(2, "This probably reflects a bug in "..., 45This probably reflects a bug in the program.) = 45 write(2, "The error was \'BadShmSeg (invali"..., 62The error was 'BadShmSeg (invalid shared segment parameter)'.) = 62 write(2, " (Details: serial 1998 error_co"..., 70 (Details: serial 1998 error_code 167 request_code 146 minor_code 2)) = 70 write(2, " (Note to programmers: normally"..., 72 (Note to programmers: normally, X errors are reported asynchronously;) = 72 write(2, " that is, you will receive the"..., 65 that is, you will receive the error a while after causing it.) = 65 write(2, " To debug your program, run it"..., 62 To debug your program, run it with the --sync command line) = 62 write(2, " option to change this behavio"..., 65 option to change this behavior. You can then get a meaningful) = 65 write(2, " backtrace from your debugger "..., 77 backtrace from your debugger if you break on the gdk_x_error() function.)) = 77
writev(17, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12
close(17)                               = 0
writev(9, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12
close(9)                                = 0
close(16)                               = 0
close(15)                               = 0
unlink("/tmp/orbit-root/linc-3259-0-6abe146f77e68") = 0
close(10)                               = 0
unlink("/root/.mozilla/firefox/y04ryo2c.default/lock") = 0
munmap(0xa38bc000, 4096)                = 0
munmap(0xa3a6e000, 131072)              = 0
exit_group(1)                           = ?
Process 12889 detached


Instalação:

    * Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.8.0.4) Gecko/20060406
      Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1)

    * Linux galileu 2.6.16-2-k7 #1 Fri Aug 18 19:48:42 UTC 2006 i686
      GNU/Linux

    * X Window System Version 7.0.0
          o Release Date: 21 December 2005
          o X Protocol Version 11, Revision 0, Release 7.0
          o Build Operating System:Linux 2.6.12-1-686 i686
          o Current Operating System: Linux galileu 2.6.16-2-k7 #1 Fri
            Aug 18 19:48:42 UTC 2006 i686Build Date: 16 March 2006

Por favor, alguém pode ajudar???







Reply to: