You are not logged in.

#1551 2013-03-30 10:50:20

Ypnose
Member
From: Jailed in the shell
Registered: 2011-04-21
Posts: 353
Website

Re: dwb - a webkit web browser

Yes, dwb starts and displays pages but those messages are spammed in the terminal. With default webkitgtk from repo (1.10.2), everything is fine.
When I opened google.com in the current tab, I had this error too:

** (dwb:3439): CRITICAL **: void webkit_web_view_load_uri(WebKitWebView*, const gchar*): assertion `uri' failed

EDIT: If you need it, I can send you webkitgtk 1.11.92 compiled by me. It could be useful if you want to do tests.
Here the configure options I used: https://github.com/Ypnose/PKGBUILD/blob … t/PKGBUILD

Last edited by Ypnose (2013-03-30 15:33:17)


Github -- My terminal font Envypn

Offline

#1552 2013-03-30 15:42:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: dwb - a webkit web browser

portix wrote:

...snip...
i wasn't ever able to reproduce it but several people confirmed that disabling javascript fixes the issue, so i assume that it is a bug either in JavaScriptCore or in webkitgtk. Anyways, as long as i cannot reproduce it i cannot do anything to fix it.

I'm fairly certain that it's the adblockers and javascript. It happens more with privoxy than the built in adblocker. From http://www.privoxy.org/faq/trouble.html

privoxy wrote:

5.18. At one site Privoxy just hangs, and starts taking all CPU. Why is this?

This is probably a manifestation of the "100% cpu" problem that occurs on pages containing many (thousands upon thousands) of blank lines. The blank lines are in the raw HTML source of the page, and the browser just ignores them. But the pattern matching in Privoxy's page filtering mechanism is trying to match against absurdly long strings and this becomes very CPU-intensive, taking a long, long time to complete.

Offline

#1553 2013-03-31 10:33:45

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 245

Re: dwb - a webkit web browser

finally updated today the dwb and navigate search from google , said : google.com blocked domain. What ? before update work all things.

Offline

#1554 2013-03-31 15:24:15

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: dwb - a webkit web browser

Try it with e.g. surf and see if it works.

Offline

#1555 2013-03-31 16:04:15

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: dwb - a webkit web browser

Hi folks! I'm used to use this script under firefox to play a flash video with mplayer, but it doesn't work under dwb

mplayer $(lsof -p `ps x | awk '/libflashplayer.so\ /{print $1}'` -n 2>/dev/null | perl -lne '@F = split(/ +/, $_, 9); print "/proc/$F[1]/fd/${\($F[3] =~ /(^\d+)/)[0]}" if $F[4] eq "REG" && $F[8] =~ /\(deleted\)$/')

Do you know why?

No video is downloaded in /proc/***/fd/***

Last edited by TheImmortalPhoenix (2013-03-31 17:12:52)

Offline

#1556 2013-03-31 18:48:29

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: dwb - a webkit web browser

Have you tried the extension with dwbem that handles this?

Last edited by WonderWoofy (2013-03-31 18:49:10)

Offline

#1557 2013-03-31 19:15:53

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: dwb - a webkit web browser

Which extension? What's dwbem? Sorry but i don't know much about dwb

Offline

#1558 2013-03-31 20:08:49

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: dwb - a webkit web browser

Ummmm.... it is mentioned repeatedly throughout this thread, and there is a man page for it... and it is in the "SEE ALSO" section of the dwb man page.  Read a bit.

Offline

#1559 2013-03-31 21:27:55

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: dwb - a webkit web browser

I use

#!/bin/bash
for f in $(file /proc/$(pidof dwb)/fd/*|gawk '/\/tmp\/Flash/ {print $1}');do mplayer ${f%:};done

and last time I used it, it worked.

Offline

#1560 2013-04-01 00:03:41

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: dwb - a webkit web browser

I'm starting to like this browser more and more, but I have only one problem. Whenever, I am logged in to facebook and try to navigate away to another URL, dwb becomes unresponsive. The only way to kill it is with the kill command or through top/htop. This doesn't happen before I log in: if I'm at the sign-in screen and I try to go to a different website, it'll work as expected. Facebook is the only site where this happens.

Offline

#1561 2013-04-01 15:55:00

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: dwb - a webkit web browser

I've just updated and it seems dwb now has problems with the settings file being a symbolic link:

No settingsfile found: Failed to open file '../../.dotfiles/dwb_config': No such file or directory
Using default values.

However, the symbolic link has not changed and isn't broken.

EDIT
In fact it handles absolute symlinks fine.

Last edited by bloom (2013-04-01 15:58:56)


gh · da · ds

Offline

#1562 2013-04-03 20:57:46

ignorant
Member
Registered: 2012-06-09
Posts: 50

Re: dwb - a webkit web browser

I noticed something strange today: dwb is using 1.2GB of resident memory for only 2 tabs (neither of which have javascript or plugins enabled).

I've been opening and closing tabs in this particular dwb instance for about a day and a half, but there's only two tabs open right now.

I'm using the latest Arch package:

$ dwb -v
    This is : dwb
    Version : 2013.03.30
      Built : Mar 30 2013 10:48:20
  Copyright : © 2010-2013 Stefan Bolte
    License : GNU General Public License, version 3 or later

Is this normal? I haven't noticed it until this version.

Offline

#1563 2013-04-03 23:24:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dwb - a webkit web browser

I get high memory usage after a prolonged use, even with just a few tabs. After dwb restart the memory usage is very low and will continue to climb as time goes on.
It has been always the case for me and it hasn't changed recently.

Offline

#1564 2013-04-05 15:00:04

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

ignorant wrote:

I noticed something strange today: dwb is using 1.2GB of resident memory for only 2 tabs (neither of which have javascript or plugins enabled).

I've been opening and closing tabs in this particular dwb instance for about a day and a half, but there's only two tabs open right now.

I'm using the latest Arch package:

$ dwb -v
    This is : dwb
    Version : 2013.03.30
      Built : Mar 30 2013 10:48:20
  Copyright : © 2010-2013 Stefan Bolte
    License : GNU General Public License, version 3 or later

Is this normal? I haven't noticed it until this version.

Just see page 62 of this thread…

Offline

#1565 2013-04-05 15:43:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dwb - a webkit web browser

jakob wrote:

Just see page 62 of this thread…

Please link to a post instead of writing 'see page n' because users can use a non-default numbers of posts per page - e.g. I use 75 posts per page and this whole thread has only 21 pages.
Do you mean https://bbs.archlinux.org/viewtopic.php … 1#p1247951 ?

Offline

#1566 2013-04-05 16:13:32

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

Yep, that's the one. Sorry, I assumed that people who ask for features go to such lengths to read a bit of the other discussions that are going on at the time. I don't ask anybody to read 1500 posts to be up to date, but especially if the answer has just been given 3 posts before their initial post, that's when I get lazy in pointing out where to find it. Bad role model, I know… :-/

Offline

#1567 2013-04-05 16:19:42

ignorant
Member
Registered: 2012-06-09
Posts: 50

Re: dwb - a webkit web browser

jakob wrote:

Just see page 62 of this thread…

I've seen that post. 800mb for 18 tabs just seemed more reasonable than 1.2GB for 2 tabs, and I had never seen it go that high before. Just making sure it's not a problem.

Offline

#1568 2013-04-05 16:28:47

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

ignorant wrote:
jakob wrote:

Just see page 62 of this thread…

I've seen that post. 800mb for 18 tabs just seemed more reasonable than 1.2GB for 2 tabs, and I had never seen it go that high before. Just making sure it's not a problem.

Sorry, I wasn't aware of that. However, not the number of tabs but rather the time the browser was open seems to be the issue here… at least, that's also the pattern on my computer: If dwb was open a few hours and there's only one tab open (even if it has been cleared) it still might consume a few hundred MiBs…

Offline

#1569 2013-04-05 17:17:29

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

One memory leak is fixed in dwb-hg that affects closed tabs, but i guess memory consumption will never be low with webkitgtk.

Offline

#1570 2013-04-05 17:29:14

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 126
Website

Re: dwb - a webkit web browser

You've probably heard this one. Hitting "back" after browsing to certain pages lands you on the very same page again. I believe this has to do something with loading external resources causing double history entries... some pages, I have to 7H before I get back to where I was. This is an issue shared by all browsers based on webkitgtk, as far as I can tell, but is there anything dwb can do about it?


Fear me! I have root! Sometimes...

Offline

#1571 2013-04-05 17:43:49

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

You don't get on the same page again, webkit just doesn't render the new page, if you reload the page webkit will render the page correctly in most cases.

Offline

#1572 2013-04-05 17:55:27

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 126
Website

Re: dwb - a webkit web browser

I don't think that's the case. Prepending a count to the back command usually gets me to the right place.

A place where it always happens is when going from reddit to a imgur gallery. Please try it yourself and see if that's what you mean. Note that direct links to images hosted on imgur do not cause this behavior. It needs to land you on the gallery page.


Fear me! I have root! Sometimes...

Offline

#1573 2013-04-05 18:35:24

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

Do you have an example? I won't search on reddit for imgur links. I think it's webkit's fault anyway because dwb only modifies webkit's history when it loads content from a string, e.g. when browsing the local filesystem or for dwb:... sites.

Offline

#1574 2013-04-05 18:59:39

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 126
Website

Re: dwb - a webkit web browser

This one should do it: http://www.reddit.com/r/Eve/comments/1b … iness_and/

Click the link to the imgur gallery, then try to go back.

And yes, I'm almost certain it's webkit's fault. I was just wondering whether dwb can do anything about it.


Fear me! I have root! Sometimes...

Offline

#1575 2013-04-05 19:09:54

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

Works here as expected.

Offline

Board footer

Powered by FluxBB