Flash on firefox have memory leak bug in Korean locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox-3.0 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: firefox
Steps to reproduce:
1. open terminal and set locale to Korean, and launch firefox
~$ export LANG=ko_KR.UTF-8
~$ export LC_ALL=ko_KR.UTF-8
~$ firefox
2. visit http://
3. wait to crash( with 1GB Ram, under 1 minutes)
[code]
firefox: Fatal IO error 12 (Cannot allocate memory) on X server :0.0.
Program received signal SIGSEGV, Segmentation fault.
[/code]
Test Env.
HW
* D945GSEJT (Atom N270 board)
* Over 10 General x86 PC(Core, Core 2 duo, etc)
OS
* ubuntu 8.04
* ubuntu 8.10
* ubuntu 9.04
* xubuntu 8.10
* xubuntu 9.04
Web browser
* Firefox 3.0
* Firefox 3.5
* kazehakase with Gecko 0.5.4
* epiphany2.26.1
* konquerer
Flash Plugin
* Adobe flash plugin 10
* Adobe flash plugin 10 debugger version
* Adobe flash plugin 9
Actual Results:
Expected Results:
Workaround (if any):
with pmap(Process mapping), I found there is memory leak
[code]
pmap 5304 <- firefox pid
5304: /usr/lib/
08048000 28K r-x-- /usr/lib/
0804f000 4K r---- /usr/lib/
08050000 4K rw--- /usr/lib/
09570000 79932K rw--- [ anon ]
4750b000 1568K r---- /usr/share/
47693000 1568K r---- /usr/share/
4781b000 1568K r---- /usr/share/
479a3000 1568K r---- /usr/share/
47b2b000 1568K r---- /usr/share/
47cb3000 1568K r---- /usr/share/
.... hundreds line of /usr/share/
[/code]
and it increase very quick
If I set English or japanese locale, there is only one (One time load) /usr/share/
Font name is setup by /etc/fonts/
I try to change font to other korean fonts, or English fonts, etc but firefox is crased
So I launch firefox with debugger, and at crash point, there is many threads
Flash thread backtrace
[code]
#0 0xb804c9f0 in pthread_mutex_lock () from /lib/tls/
#1 0xb18f50a8 in ?? () from /usr/lib/
#2 0xb18f5332 in ?? () from /usr/lib/
#3 0xb18f53c1 in ?? () from /usr/lib/
#4 0xb176c50d in ?? () from /usr/lib/
#5 0xb804b50f in start_thread () from /lib/tls/
#6 0xb7ea0a0e in clone () from /lib/tls/
[/code]
Firefox main thread backtrace
[code]
#0 0xb8088430 in __kernel_vsyscall ()
#1 0xb7e9d276 in munmap () from /lib/tls/
#2 0xb1deaf74 in ?? () from /usr/lib/
#3 0xb1deadc0 in ?? () from /usr/lib/
#4 0xb18fa81d in ?? () from /usr/lib/
#5 0xb176b105 in ?? () from /usr/lib/
#6 0xb1754550 in ?? () from /usr/lib/
#7 0xb7dedd89 in exit () from /lib/tls/
#8 0xb67051d5 in ?? () from /usr/lib/
#9 0xb6b46062 in _XIOError () from /usr/lib/
#10 0xb6b4d3f8 in _XGetXCBBuffer () from /usr/lib/
#11 0xb6b4d5fd in ?? () from /usr/lib/
#12 0xb6b4e37e in _XReply () from /usr/lib/
#13 0xb6b2a4f9 in XGetImage () from /usr/lib/
#14 0xb6b2a779 in XGetSubImage () from /usr/lib/
#15 0xb6700ff2 in ?? () from /usr/lib/
#16 0xb66cb9f9 in gdk_drawable_
#17 0xb66cb9f9 in gdk_drawable_
#18 0xb176a3c3 in ?? () from /usr/lib/
#19 0xb175e0c5 in ?? () from /usr/lib/
#20 0xb1754590 in ?? () from /usr/lib/
#21 0xb1759124 in ?? () from /usr/lib/
#22 0xb7871887 in ?? () from /usr/lib/
#23 0xb7429aff in ?? () from /usr/lib/
#24 0xb7a69680 in ?? () from /usr/lib/
#25 0xb7a5adcb in ?? () from /usr/lib/
#26 0xb7a5b04a in ?? () from /usr/lib/
...
[/code]
Changed in firefox-3.0 (Ubuntu): | |
status: | Incomplete → New |
status: | New → Confirmed |
Changed in firefox-3.0 (Ubuntu): | |
status: | Confirmed → New |
Thank you for reporting this to Ubuntu. I can confirm the memory leak, but I have locales purged on my machine. Could you please run the following from the command line and attach /tmp/strace_ff.log after the crash occurs:
strace -eopen firefox 2>&1 | tee /tmp/strace_ff.log