Bug 109049

Summary: SIGSEGV at WebCore::JSNodeOwner::isReachableFromOpaqueRoots
Product: WebKit Reporter: Gerhard Gruber <gerhard.gruber>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
The HTML file which loads ExtJS and then changes the location/URL
none
ExtJS file none

Description Gerhard Gruber 2013-02-06 06:50:17 PST
I am using WebView in a Vala program to show some HTML files and these HTML-Files use ExtJS.

In some situations the Vala program opens another URL and in this case WebKit crashes.

I started to search for the problem and now I know, that you just have to load ExtJS and change to another page and it crashes.

The bug just occurs when using Windows - when using Linux it works.
I cross compiled my program via MinGW.
I use webkitgtk-1.10.2 and compiled it with the following parameters:

./configure --host=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32/sys-root/mingw/ --with-target=win32 --enable-plugin-process=no --enable-webkit2=no --disable-glibtest --with-gtk=3.0 --disable-jit

Here is the stackdump from gdb when the program crashes:
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x01a6ac1a in WebCore::JSNodeOwner::isReachableFromOpaqueRoots(JSC::Handle<JSC::Unknown>, void*, JSC::SlotVisitor&) ()
   from C:\webkit_crash\libwebkitgtk-3.0-0.dll
#2  0x00000037 in ?? ()
#3  0x7fec19f0 in ?? ()
#4  0xfffffffb in ?? ()
#5  0x036980a8 in ?? ()

I also attached the HTML file and the JS-File which lead to the crash.
Comment 1 Gerhard Gruber 2013-02-06 06:51:02 PST
Created attachment 186847 [details]
The HTML file which loads ExtJS and then changes the location/URL
Comment 2 Gerhard Gruber 2013-02-06 06:51:44 PST
Created attachment 186848 [details]
ExtJS file