Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Firefox si blocca quando deve scaricare
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
francescor82
n00b
n00b


Joined: 10 Oct 2005
Posts: 25
Location: Leverano (LE) / Torino (TO) / Italy

PostPosted: Mon Oct 10, 2005 1:44 pm    Post subject: [Risolto] Firefox si blocca quando deve scaricare Reply with quote

Nel rispetto delle regole, posto il mio secondo problema in un'altra thread visto che non ha niente a che fare con KDE.

Ho installato mozilla-firefox, 1.0.7-r3, con:
Code:
USE="-gnome mozsvg"

e sembra funzionare bene in tutto, eccetto al momento di scaricare qualsiasi cosa, per esempio se scelgo "Salva come...". In questo caso si blocca prima di mostrarmi la finestra per scegliere dove scaricare il file, e si bloccano tutte le finestre di Firefox. L'unica via d'uscita sembra il kill del processo.

Qualche idea su cosa possa essere?


Last edited by francescor82 on Mon Oct 10, 2005 5:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Mon Oct 10, 2005 1:46 pm    Post subject: Reply with quote

prova ad avviarlo da console ed a riprodurre il problema. magari stampa qualche warning che possa dire qualcosa.
Back to top
View user's profile Send private message
francescor82
n00b
n00b


Joined: 10 Oct 2005
Posts: 25
Location: Leverano (LE) / Torino (TO) / Italy

PostPosted: Mon Oct 10, 2005 1:57 pm    Post subject: Reply with quote

Ic3M4n wrote:
prova ad avviarlo da console ed a riprodurre il problema. magari stampa qualche warning che possa dire qualcosa.


Niente, l'unico output è "No windows found", forse di mozilla-launcher, perchè avevo chiuso tutte le finestre precedenti di firefox.
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Mon Oct 10, 2005 2:01 pm    Post subject: Reply with quote

mmmm. quello è normale che ci sia.

altra domanda allora:
hai firefox-bin o firefox da sorgente?

nel caso sia la seconda...
che flag use hai utilizzato per compilarlo?
e che cflag?
Back to top
View user's profile Send private message
francescor82
n00b
n00b


Joined: 10 Oct 2005
Posts: 25
Location: Leverano (LE) / Torino (TO) / Italy

PostPosted: Mon Oct 10, 2005 2:08 pm    Post subject: Reply with quote

Ho firefox da sorgente, compilato con:
Code:
USE="-debug -gnome -java -mozcalendar -mozdevelop -moznoxft -xinerama -xprint mozsvg ipv6 truetype"

e
Code:
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
Back to top
View user's profile Send private message
kaosone
Guru
Guru


Joined: 01 Feb 2004
Posts: 446

PostPosted: Mon Oct 10, 2005 2:10 pm    Post subject: Reply with quote

fai uno strace :wink:
Back to top
View user's profile Send private message
francescor82
n00b
n00b


Joined: 10 Oct 2005
Posts: 25
Location: Leverano (LE) / Torino (TO) / Italy

PostPosted: Mon Oct 10, 2005 3:27 pm    Post subject: Reply with quote

Fatto, e vedo che nel momento in cui si blocca firefox, strace non produce altro output, e invece ricomincia quando lancio "killall firefox-bin". Ho lanciato "strace firefox", e l'output di strace a partire dal momento in cui si blocca è:

Code:
rt_sigaction(SIGINT, {0x8078890, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM}], 0) = 12508
fstat64(2, {st_mode=S_IFREG|0644, st_size=36222, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dcf000
open("/usr/share/locale/it_IT@euro/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/it@euro/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/it_IT/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/it/LC_MESSAGES/libc.mo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=33665, ...}) = 0
mmap2(NULL, 33665, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7dc6000
close(3)                                = 0
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\4\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9704, ...}) = 0
mmap2(NULL, 8228, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dc3000
mmap2(0xb7dc4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7dc4000
close(3)                                = 0
write(2, "/usr/libexec/mozilla-launcher: l"..., 86/usr/libexec/mozilla-launcher: line 119: 12508 Terminated              "$mozbin" "$@"
) = 86
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfc829cc, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8078890, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
fcntl64(1, F_GETFD)                     = 0
fcntl64(1, F_DUPFD, 10)                 = 10
fcntl64(1, F_GETFD)                     = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
dup2(2, 1)                              = 1
fcntl64(2, F_GETFD)                     = 0
write(1, "firefox-bin exited with non-zero"..., 46firefox-bin exited with non-zero status (143)
) = 46
dup2(10, 1)                             = 1
fcntl64(10, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
close(10)                               = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
fork()                                  = 12574
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 12574
waitpid(-1, 0xbfc826ac, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x8079910, [], 0}, {0x8079910, [], 0}, 8) = 0
close(4)                                = 0
read(3, "  MOZ_USER_DIR=\".mozilla/firefox"..., 128) = 34
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8078890, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x8078890, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/home/francesco//.mozilla/firefox/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/init.d/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/home/francesco//.mozilla/firefox/init.d/K*", 0xbfc82cd0) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/init.d/K*", 0xbfc82cd0)        = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xb7dcf000, 4096)                = 0
munmap(0xb7f59000, 4096)                = 0
exit_group(143)                         = ?


In particolare, durante la normale esecuzione di firefox, strace si ferma su quel primo waitpid, e non produce nessun output nè durante la navigazione nè prima o durante la fase in cui firefox è bloccato. Tutto quell'output, a partire dagli argomenti della waitpid, sono stampati DOPO che lancio il killall.
Notare che vengono creati diversi processi chamati firefox-bin, se pensate che sia utile posso provare a killarli selettivamente anzichè fare un killall.
Back to top
View user's profile Send private message
francescor82
n00b
n00b


Joined: 10 Oct 2005
Posts: 25
Location: Leverano (LE) / Torino (TO) / Italy

PostPosted: Mon Oct 10, 2005 5:23 pm    Post subject: Reply with quote

Il problema si è risolto da solo nel momento in cui ho aggiustato l'indirizzo dell'interfaccia di loopback e il routing verso l'interfaccia lo.
Ora firefox non dà più problemi.
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Mon Oct 10, 2005 5:32 pm    Post subject: Reply with quote

come si dice.... due piccioni con una fava! :D
o se preferisci: Il battito d'ali di una farfalla può provocare un tornado dall'altra parte del mondo.
Back to top
View user's profile Send private message
francescor82
n00b
n00b


Joined: 10 Oct 2005
Posts: 25
Location: Leverano (LE) / Torino (TO) / Italy

PostPosted: Mon Oct 10, 2005 6:38 pm    Post subject: Reply with quote

Ic3M4n wrote:
come si dice.... due piccioni con una fava! :D
o se preferisci: Il battito d'ali di una farfalla può provocare un tornado dall'altra parte del mondo.


Vero! :-D
Ancora non ho provato a ri-emergere baselayout, sto ricompilando i pacchetti che avevano ipv6 e tra questi ci sono firefox, thunderbird, qt e xorg... penso che per domattina abbia finito. :-D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum