Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-19 Thread Mike Hommey
On Thu, Nov 19, 2009 at 08:55:20AM +0100, Slobodan Simic wrote:
 On Wednesday, 18. November 2009. 13:49:32 you wrote:
  Can you try something like the following command line:
  strace -o /tmp/strace.log -f -p $(pgrep firefox-bin)
  
  Leave it for a little while, then ctrl+c and send the resulting
  /tmp/strace.log file ?
 
 Ok, here it is... file attached... one with safe-mode iceweasel 

Interesting. But unfortunately, that doesn't help knowing where the
whole happens. Could you install the xulrunner-1.9.1-dbg and gdb
packages , run iceweasel -g, type run at the gdb prompt, and when
it is sucking the 100% cpu, ctrl+c, which should bring the gdb prompt
back, and then type bt full and send the output here.

Thanks

Mike



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-19 Thread Slobodan Simic
On Thursday, 19. November 2009. 10:06:35 you wrote:
 Could you install the xulrunner-1.9.1-dbg and gdb
 packages , run iceweasel -g, type run at the gdb prompt, and when
 it is sucking the 100% cpu, ctrl+c, which should bring the gdb prompt
 back, and then type bt full and send the output here.
 
 
Here is output... 

(gdb) bt full   
  
#0  0xb7fe1424 in __kernel_vsyscall ()  
  
No symbol table info available. 
  
#1  0xb7e09a17 in poll () from /lib/i686/cmov/libc.so.6 
  
No symbol table info available. 
  
#2  0xb5ed80cb in ?? () from /usr/lib/libxcb.so.1   
  
No symbol table info available. 
  
#3  0xb5ed86ee in ?? () from /usr/lib/libxcb.so.1   
  
No symbol table info available. 
  
#4  0xb5ed8a97 in xcb_writev () from /usr/lib/libxcb.so.1   
  
No symbol table info available. 
  
#5  0xb6805a62 in _XSend () from /usr/lib/libX11.so.6   
  
No symbol table info available. 
  
#6  0xb67f3898 in XQueryExtension () from /usr/lib/libX11.so.6  
  
No symbol table info available.
#7  0xb67e8131 in XInitExtension () from /usr/lib/libX11.so.6
No symbol table info available.
#8  0xb68e417d in XRenderFindDisplay () from /usr/lib/libXrender.so.1
No symbol table info available.
#9  0xb68e1f65 in XRenderFreePicture () from /usr/lib/libXrender.so.1
No symbol table info available.
#10 0xb3a25ea9 in QX11PixmapData::release() () from /usr/lib/libQtGui.so.4
No symbol table info available.
#11 0xb3a266f0 in QX11PixmapData::~QX11PixmapData() () from 
/usr/lib/libQtGui.so.4
No symbol table info available.
#12 0xb3a15c87 in QPixmap::deref() () from /usr/lib/libQtGui.so.4
No symbol table info available.
#13 0xb3a16090 in QPixmap::~QPixmap() () from /usr/lib/libQtGui.so.4
No symbol table info available.
#14 0xb36d77ca in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
No symbol table info available.
#15 0xb36e37af in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
No symbol table info available.
#16 0xb36e5460 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
No symbol table info available.
---Type return to continue, or q return to quit---
#17 0xb36e5d25 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
No symbol table info available.
#18 0xb36fa48b in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
No symbol table info available.
#19 0xb7d77461 in ?? () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#20 0xb7d774bf in exit () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#21 0xb7d5eb3d in __libc_start_main () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#22 0x080496d1 in ?? ()
No symbol table info available.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-19 Thread Mike Hommey
reassign 556914 kdebase-runtime
subscribe 556914 gland...@debian.org
thanks

Thanks.

So here is what seems to be happening: the oxygen kde plugin has a
destructor function that does some cleanup, during which it needs to
send some requests to the X server to free pixmaps. Except that by the
time you reach there, the connection to the X server is long gone. So
the poll() call returns an error and is retried indefinitely.

It seems to me the problem lies in the oxygen plugin, which shouldn't
be doing this, but it could also very well be lower in the stack.

It could be interesting to see what exactly is retrying to poll()
indefinitely, because that could be a separate bug, too.

I'll leave the rest of the investigation up to the kdebase-runtime
maintainer(s) (that is the package holding the oxygen plugin), but I'm
staying subscribed to this bug out of curiosity (and if help is needed,
I'm here, too ;) ).

On Thu, Nov 19, 2009 at 11:13:24AM +0100, Slobodan Simic wrote:
 On Thursday, 19. November 2009. 10:06:35 you wrote:
  Could you install the xulrunner-1.9.1-dbg and gdb
  packages , run iceweasel -g, type run at the gdb prompt, and when
  it is sucking the 100% cpu, ctrl+c, which should bring the gdb prompt
  back, and then type bt full and send the output here.
  
  
 Here is output... 
 
 (gdb) bt full 
 
 #0  0xb7fe1424 in __kernel_vsyscall ()
 
 No symbol table info available.   
 
 #1  0xb7e09a17 in poll () from /lib/i686/cmov/libc.so.6   
 
 No symbol table info available.   
 
 #2  0xb5ed80cb in ?? () from /usr/lib/libxcb.so.1 
 
 No symbol table info available.   
 
 #3  0xb5ed86ee in ?? () from /usr/lib/libxcb.so.1 
 
 No symbol table info available.   
 
 #4  0xb5ed8a97 in xcb_writev () from /usr/lib/libxcb.so.1 
 
 No symbol table info available.   
 
 #5  0xb6805a62 in _XSend () from /usr/lib/libX11.so.6 
 
 No symbol table info available.   
 
 #6  0xb67f3898 in XQueryExtension () from /usr/lib/libX11.so.6
 
 No symbol table info available.
 #7  0xb67e8131 in XInitExtension () from /usr/lib/libX11.so.6
 No symbol table info available.
 #8  0xb68e417d in XRenderFindDisplay () from /usr/lib/libXrender.so.1
 No symbol table info available.
 #9  0xb68e1f65 in XRenderFreePicture () from /usr/lib/libXrender.so.1
 No symbol table info available.
 #10 0xb3a25ea9 in QX11PixmapData::release() () from /usr/lib/libQtGui.so.4
 No symbol table info available.
 #11 0xb3a266f0 in QX11PixmapData::~QX11PixmapData() () from 
 /usr/lib/libQtGui.so.4
 No symbol table info available.
 #12 0xb3a15c87 in QPixmap::deref() () from /usr/lib/libQtGui.so.4
 No symbol table info available.
 #13 0xb3a16090 in QPixmap::~QPixmap() () from /usr/lib/libQtGui.so.4
 No symbol table info available.
 #14 0xb36d77ca in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
 No symbol table info available.
 #15 0xb36e37af in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
 No symbol table info available.
 #16 0xb36e5460 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
 No symbol table info available.
 ---Type return to continue, or q return to quit---
 #17 0xb36e5d25 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
 No symbol table info available.
 #18 0xb36fa48b in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
 No symbol table info available.
 #19 0xb7d77461 in ?? () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #20 0xb7d774bf in exit () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #21 0xb7d5eb3d in __libc_start_main () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #22 0x080496d1 in ?? ()
 No symbol table info available.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-19 Thread Slobodan Simic
I think I found what the problem was...
I changed in KDE settings that GTK apps don't use KDE theme and colors.
After that I tried Iceweasel several times and never had CPU jam at 100% after 
closing the Iceweasel's window
So I think problem is not with Iceweasel but coexistence with KDE
desktop environment.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-18 Thread Slobodan Simic
Package: iceweasel
Version: 3.5.5-1
Severity: normal

--- Please enter the report below this line. ---
After updating to 3.5.5 iceweasel problem occurs when closing iceweasel 
window.
Process /usr/lib/iceweasel/firefox-bin stays in process list and use full CPU
Only kill helps


--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.30-2-686

Debian Release: squeeze/sid
  990 testing www.debian-multimedia.org 
  990 testing security.debian.org 
  990 testing moblock-deb.sourceforge.net 
  990 testing ftp.de.debian.org 
  500 unstableftp.hu.debian.org 
1 experimentalftp2.de.debian.org 

--- Package information. ---
Depends (Version) | Installed
=-+-==
fontconfig| 2.6.0-4
psmisc| 22.8-1
procps| 1:3.2.8-2
debianutils (= 1.16) | 3.2.1
libc6   (= 2.3.6-6~) | 2.10.1-7
libgcc1  (= 1:4.1.1) | 1:4.4.1-4
libglib2.0-0  (= 2.12.0) | 2.22.2-2
libgtk2.0-0(= 2.8.0) | 2.18.3-1
libnspr4-0d (= 1.8.0.10) | 4.8.2-1
libstdc++6 (= 4.1.1) | 4.4.1-4
xulrunner-1.9.1   | 1.9.1.5-1


Package's Recommends field is empty.

Suggests   (Version) | Installed
-+-===
xulrunner-1.9.1-gnome-support| 
latex-xft-fonts  | 
xfonts-mathml| 3
ttf-mathematica4.1   | 10
xprint   | 
mozplugger   | 
libkrb53 | 







-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-18 Thread Mike Hommey
On Wed, Nov 18, 2009 at 11:11:15AM +0100, Slobodan Simic wrote:
 Package: iceweasel
 Version: 3.5.5-1
 Severity: normal
 
 --- Please enter the report below this line. ---
 After updating to 3.5.5 iceweasel problem occurs when closing iceweasel 
 window.
 Process /usr/lib/iceweasel/firefox-bin stays in process list and use full CPU
 Only kill helps

Does it still do so if you run
MOZILLA_DISABLE_PLUGINS=1 iceweasel ?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-18 Thread Mike Hommey
On Wed, Nov 18, 2009 at 12:31:04PM +0100, Slobodan Simic wrote:
 On Wednesday, 18. November 2009. 11:37:46 you wrote:
  On Wed, Nov 18, 2009 at 11:11:15AM +0100, Slobodan Simic wrote:
   Package: iceweasel
   Version: 3.5.5-1
   Severity: normal
  
   --- Please enter the report below this line. ---
   After updating to 3.5.5 iceweasel problem occurs when closing iceweasel
   window.
   Process /usr/lib/iceweasel/firefox-bin stays in process list and use full
   CPU Only kill helps
  
  Does it still do so if you run
  MOZILLA_DISABLE_PLUGINS=1 iceweasel ?
  
 Yes it does.
 Just tried it out.
 
 oh, and I just forgott to write in bugreport... I'm using iceweasel with KDE 4

What about iceweasel -safe-mode ?

PS: Please CC the bug (n...@bugs.debian.org) when replying.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-18 Thread Slobodan Simic
On Wednesday, 18. November 2009. 12:51:30 you wrote:
 
 What about iceweasel -safe-mode ?
no help... still the same



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#556914: [iceweasel] after closing, iceweasel process remains active and using 90% CPU

2009-11-18 Thread Mike Hommey
On Wed, Nov 18, 2009 at 01:37:37PM +0100, Slobodan Simic wrote:
 On Wednesday, 18. November 2009. 12:51:30 you wrote:
  
  What about iceweasel -safe-mode ?
 no help... still the same

Can you try something like the following command line:
strace -o /tmp/strace.log -f -p $(pgrep firefox-bin)

Leave it for a little while, then ctrl+c and send the resulting
/tmp/strace.log file ?

Mike



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org