crashes after some time: too many files opened
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
galeon (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: galeon
After using Galeon some time (an hour or so? sometimes shorter if I do a lot of page refreshes), it either crashes or becomes unresponsive. Here's the output to std.err.:
----
I/O error : Too many open files
** (galeon:11104): WARNING **: Failed to save /home/kimiko/
----
..possibly repeated a few times if it didn't crash right away and I tried to click a link a few times before noticing it not responding.
Here's a backtrace from gdb:
----
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb72037c3 in *__GI___poll () from /lib/tls/
#2 0xb73b6883 in g_main_
#3 0xb73b6bf9 in g_main_loop_run () from /usr/lib/
#4 0xb756ca23 in bonobo_main () from /usr/lib/
#5 0x0807d1c8 in main ()
----
Using lsof shows that Galeon opens the same file many, many times: /usr/share/
locale says:
----
LANG=en_US.UTF-8
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
----
Encoding in Galeon is set to 'Universal' and 'automatic', whatever that means.
I think I noticed this bug in Epiphany too once. I'll see if I can get output/backtrace for that too.
Yep, Epiphany has the same problem. It opens the file /usr/share/ X11/locale/ en_US.UTF- 8/Compose a gazillion times (once for every link clicked I think?) and then crashes. The gdb backtrace is much larger this time, so I attached it.
Oh, and another thing I noticed is that my /tmp directory contains a gazillion orbit-kimiko- <random hex number>/ subdirs. Might be related perhaps?