You are not logged in.

#1 2011-10-15 16:24:30

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

System hangs due "javascript void(0)" in WebKit based browsers?!

Hello!

I catched completely hanging systems with WebKit based browsers like Epiphany or Midori. It is reproducable on my machine.

pacman -Q libwebkit libwebkit3 midori epiphany
libwebkit 1.6.1-1
libwebkit3 1.6.1-1
midori 0.4.1-1
epiphany 3.2.0-1

other:
* self compiled vanilla 3.0.3 kernel
* amd radeon graphics card, with open-source drivers

Want to try? Visit the following website featureing pictures from the federal german Pirate Party convent.
Just click on the thumbnails...
http://piratpix.com/bpt2011.1/index.html


Questions:
* Are you affected too?
* Which hardware?
* Why can this lead to a hanging system?! A segfault of WebKit with a crash of the browser would be okay, but a hanging system?

Thanks for your help, investigation and interest
Hoschi





PS: Firefox is not affected, but also shows the message "javascript void(0)" to me.

Last edited by hoschi (2011-10-15 16:31:47)

Offline

#2 2011-10-15 16:31:53

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

No problem with midori-git, compiled today (2011-10-15).
System is Openbox, NVidia. No GTK3, however.

The problem may be caused by libwebkit3. There are still issues with GTK3.


To know or not to know ...
... the questions remain forever.

Offline

#3 2011-10-15 16:58:22

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

Midori 0.4.1 is based on libwebkit (without 3) and is affected, so this doesn't give me hope.

Worst possible news. I am afraid this is a bug in WebKit and the KERNEL
# sysctl -w kernel.sysrq="1"
$ midori http://piratpix.com/bpt2011.1/index.html
$ click manually on some thumbnails (slideshow doesn't leads to hang here)
$ hang & no reaction on MagicSysRq with REISUB


Thats bad. Really bad!

about:version

Version numbers in brackets show the version used at runtime.


Command line    midori
Midori    0.4.1
WebKitGTK+    1.6.1 (1.6.1)
GTK+    2.24.6 (2.24.6)
Glib    2.30.0 (2.30.0)
libsoup    2.36.0
libnotify    Yes
libidn    No
libunique    Yes
libhildon    No
Platform    Linux x86_64
Identification    Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.4+ Midori/0.4
Netscape Plugins:

libgnome-shell-browser-plugin.so    Gnome Shell Integration
Video Formats:

H264    true
Ogg Theora    true
WebM    true

Last edited by hoschi (2011-10-15 17:03:26)

Offline

#4 2011-10-15 17:23:30

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

Current default kernel of Archlinux is also affected sad

linux 3.0.6-2
linux-api-headers 3.0.1-1
linux-atm 2.5.1-2
linux-firmware 20110822-1
linux-headers 3.0.6-2
util-linux 2.20-3

I have taken two pictures after the system hangs.
Midori
Epiphany


// edit
Midori 0.3.6 on Fedora 15 is not affected.

Last edited by hoschi (2011-10-15 17:29:58)

Offline

#5 2011-10-15 19:01:55

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

hoschi wrote:

$ midori http://piratpix.com/bpt2011.1/index.html
$ click manually on some thumbnails (slideshow doesn't leads to hang here)
$ hang & no reaction on MagicSysRq with REISUB

This works perfectly here.

about:version

about:version

Versionsnummern in Klammern geben Versionen zur Laufzeit an.


Command line    midori
Midori    0.4.1-20-gb639067
WebKitGTK+    1.6.1 (1.6.1)
GTK+    2.24.6 (2.24.6)
Glib    2.30.0 (2.30.0)
libsoup    2.36.0
libnotify    Yes
libidn    No
libunique    Yes
libhildon    No
Platform    Linux x86_64
Identification    Mozilla/5.0 (X11; Linux; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Midori/0.4
Netscape Plugins:

libflashplayer.so    Shockwave Flash
Video Formats:

H264    true
Ogg Theora    true
WebM    true

Kernel packages are the same as yours.


To know or not to know ...
... the questions remain forever.

Offline

#6 2011-10-15 19:41:35

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

Thanks! And Epiphany? From Arch, not Git. Midori, 0.4.1 from Arch would be nice too.

Offline

#7 2011-10-15 22:14:17

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

Midori 0.4.1 is fairly recent (6 days from current git) and telling from the logs there have been no changes since then which may affect this behavior.

Which DE/WM are you running? I still suspect some GTK3 influence.

How about removing epiphany and libwebkit3 for a test?


To know or not to know ...
... the questions remain forever.

Offline

#8 2011-10-16 06:48:44

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

Yeah. I also haven taken a view in the git-log of Midori.
And yes, I am using Gnome3/Gnome-Shell.


Hm. Fallback-Mode? Maybe it is a OpenGL/2D issue.

Offline

#9 2011-10-16 09:54:00

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

Okay! This happens only with Gnome3 and a WebKit based browser while using the new Gnome-Shell!
Gnome3 in Fallback-Mode is not affected!

Maybe this is not a bug in WebKit. Maybe WebKit and Gnome-Shell use something conflicting or something else, which leads to a crash.


Is there someone with a graphics card from Intel and AMD?
Please test smile

Offline

#10 2011-10-16 10:49:34

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

// edit
I'm pretty sure it is a problem with the Kernel/Radeon-Driver, so I opened a bug at Xorg
https://bugs.freedesktop.org/show_bug.cgi?id=41838

Reason: Even if WebKit and Gnome-Shell are buggy, the system should survive this in any case.

Last edited by hoschi (2011-10-16 17:06:59)

Offline

#11 2011-11-23 06:41:50

usuario66
Member
Registered: 2011-05-24
Posts: 1

Re: System hangs due "javascript void(0)" in WebKit based browsers?!

Hello hoschi,

I had the same problem, only that I have nvidia video, and it was only using Midori (now that I'm writing this down I don't know if it was the same problem smile). Anyway I "fixed" this segfaults I was having with Midori playing flash, like in youtube, by installing nspluginwrapper. Check this from epiphany's wiki:

https://wiki.archlinux.org/index.php/Epiphany#Flash

I also had to install lib32-flashplugin from AUR since I'm in 64 bits.

What's cool about this is that you can play flash on Midori gtk3 version.

Anyway in the end, I'm not smart enough to know what was the problem, but that's ok.

Offline

Board footer

Powered by FluxBB