Bug 14346 - swfdec-mozilla 100% CPU usage with some animations
Summary: swfdec-mozilla 100% CPU usage with some animations
Status: RESOLVED FIXED
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: 0.5.5
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL: http://sudoku.repubblica.it/sudoku-ti...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-03 06:20 UTC by shrdlu
Modified: 2008-04-10 02:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description shrdlu 2008-02-03 06:20:20 UTC
http://sudoku.repubblica.it/sudoku.php?id=20080203_03

Clicking on a blank square opens a sort of "dial" where one can select the digit to insert in the square. On my system, *only while the dial is open*, the cpu usage of forefox jumps to 100%. As soon as a digit is selected, the dial closes and cpu usage drops to normal.

I'm using swfdec and swfdec-mozilla 0.5.5, firefox 2.0.11. 64-bit Gentoo.

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
stepping        : 2
cpu MHz         : 2400.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips        : 4813.14
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
stepping        : 2
cpu MHz         : 2400.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips        : 4809.95
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

$ free
             total       used       free     shared    buffers     cached
Mem:       8111920    1748968    6362952          0     409452     492116
-/+ buffers/cache:     847400    7264520
Swap:      1959888          0    1959888

If more info is needed just ask.

Thanks
Comment 1 Pavel Roskin 2008-02-03 19:31:03 UTC
Confirmed, also in swfplay, so it's not a plugin bug.  Log messages when running (after "sort -u"):

SWFDEC: WARN : swfdec_as_interpret.c(908): swfdec_action_call_method: no function named "apply" on object unknown
SWFDEC: WARN : swfdec_as_interpret.c(908): swfdec_action_call_method: no function named "swapDepths" on object unknown
SWFDEC: WARN : swfdec_load_object.c(161): swfdec_load_object_load: SECURITY: no access to http://sudoku.repubblica.it/getpuzzle.php?id=undefined from file:///
SWFDEC: FIXME: swfdec_text_field_movie.c(1201): swfdec_text_field_movie_iterate: I'm pretty sure this is swfdec_player_add_action()'d
SWFDEC: FIXME: swfdec_as_function.c(165): swfdec_as_function_call: does the super object really reference the function when thisp is NULL?

The message repeating during 100% CPU utilization is:

SWFDEC: FIXME: swfdec_text_field_movie.c(1201): swfdec_text_field_movie_iterate: I'm pretty sure this is swfdec_player_add_action()'d
Comment 2 Pekka Lampila 2008-02-14 19:55:11 UTC
Confirmed
Comment 3 Benjamin Otte 2008-04-10 02:07:26 UTC
This is solved in git.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.