Uzbl

Tasklist

FS#245 - 100% CPU use when browsing with a proxy (privoxy)

Attached to Project: Uzbl
Opened by Oriol de la Dehesa Demaria (oriold) - 2010-10-26 04:48:50 PM
Last edited by Brendan Taylor (bct) - 2012-11-25 09:55:25 PM
Task Type Bug Report
Category uzbl-core
Status Closed
Assigned To No-one
Operating System Linux
Severity High
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I also have this problem with privoxy. I have 100% CPU browsing with the proxy, and normal without it. The strace loop again and again with "Bad Address":

read(8, 0, 1) = -1 EFAULT (Bad address)
read(4, 0x15f4b84, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=3, events=0}, {fd=8, events=POLLIN}, {fd=11, events=0}, {fd=12, events=0}, {fd=13, events=0}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 12, -1) = 1 ([{fd=8, revents=POLLIN}])
read(8, 0, 1) = -1 EFAULT (Bad address)
read(4, 0x15f4b84, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=3, events=0}, {fd=8, events=POLLIN}, {fd=11, events=0}, {fd=12, events=0}, {fd=13, events=0}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 12, -1) = 1 ([{fd=8, revents=POLLIN}])
read(8, 0, 1) = -1 EFAULT (Bad address)
read(4, 0x15f4b84, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=3, events=0}, {fd=8, events=POLLIN}, {fd=11, events=0}, {fd=12, events=0}, {fd=13, events=0}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 12, -1) = 1 ([{fd=8, revents=POLLIN}])
read(8, <unfinished ...>

This task depends upon

Closed by  Brendan Taylor (bct)
2012-11-25 09:55:25 PM
Reason for closing:  Works for me
Additional comments about closing:  Old bug, please reopen if this is still occurring.
Comment by Noel Maersk (veox) - 2010-11-15 06:45:23 PM
I use privoxy everyday and do not experience this.
Comment by Oriol de la Dehesa Demaria (oriold) - 2010-11-16 08:58:03 AM
I still have the problem, and if I disconect privoxy, it works. I going to try to change privoxy options, and see if flash has something to do with this, then I'll update the ticket:

top - 09:52:56 up 26 min, 2 users, load average: 1.16, 1.81, 1.79
Tasks: 203 total, 4 running, 199 sleeping, 0 stopped, 0 zombie
Cpu(s): 18.5%us, 17.4%sy, 4.2%ni, 30.9%id, 28.8%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 3972608k total, 3692168k used, 280440k free, 424k buffers
Swap: 2000088k total, 148k used, 1999940k free, 2195004k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5027 oriol 20 0 196m 25m 12m R 99 0.6 10:33.06 python2 /usr/bin/uzbl-tabbed


Comment by Noel Maersk (veox) - 2010-11-16 01:47:16 PM
Does this happen when using uzbl-browser instead?

(OT: uzbl-tabbed also went 100% for me when I closed a tab.)
Comment by Brendan Taylor (bct) - 2010-11-20 06:21:43 PM
The strace output here looks identical to the one I got when I was debugging the close tab bug, are we sure it's not the same thing?
Comment by Brendan Taylor (bct) - 2010-11-20 07:44:24 PM
Oh, i see there's another bug reporting the same thing with squid.
What version of webkit and libsoup do you have?
Comment by Oriol de la Dehesa Demaria (oriold) - 2010-11-22 09:06:21 AM
ArchLinux 64bit libwebkit 1.2.5-1 and libsoup 2.32.1-1
Comment by Oriol de la Dehesa Demaria (oriold) - 2010-11-22 09:18:37 AM
I wasn't closing a tab when got that strace. I loaded a profile. But also when I close a tab I have 100% CPU too. I don't have that bug with uzbl-browser.

Loading...