pavanbehere / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

HTML5 test crash #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. go to html5test.com in the example browser (or within your app)
2. Browser crashes

What is the expected output? What do you see instead?
AccessViolationException
Attemped to Read or Write protected memory.  

What version of the product are you using? On what operating system?
Windows 7 Pro x64

Please provide any additional information below.
This has also occurred when I have hit back out of some sites.

Original issue reported on code.google.com by njspence...@gmail.com on 22 Jan 2012 at 2:33

GoogleCodeExporter commented 8 years ago
This does not happen to me. Other people have also reported this but I can't 
seem to find the reason. Maybe it is a webkit bug. I leave this issue open 
until the problem is gone when I upgrade to a newer WebKit build

Original comment by tsumalis96@gmail.com on 22 Jan 2012 at 6:14

GoogleCodeExporter commented 8 years ago
OK.  Is it a 64/32 bit type bug I wonder?

Original comment by njspence...@gmail.com on 22 Jan 2012 at 6:16

GoogleCodeExporter commented 8 years ago
I tried example.exe on Windows XP Pro 32-bit.  I got English.ini not found 
exception.  Not sure about that one.   I copied the C:\openwebkitsharp 
directory from the Windows 7 machine.  

Original comment by njspence...@gmail.com on 22 Jan 2012 at 6:51

GoogleCodeExporter commented 8 years ago
I received this kind of bug reports also from 32-Bit machines but only for 
HTML5 test. Not for the GoBack() method. For the Example to run there must be 
all files from the Core folder inside the same folder as teh exe's and the 
files from the References folder. The English.ini file is required by the 
LanguageLoader class and should be in \LanguageLoader.resources\English.ini

Original comment by tsumalis96@gmail.com on 22 Jan 2012 at 7:02

GoogleCodeExporter commented 8 years ago
Getting a COM interop error.  Nonetheless hopefully a newer webkit will handle 
this.  I would prefer webkit over IE.  And you seem to have the best 
implementation for winforms.  

When it works.  It works well.  I will do some more tests.  It works ok with my 
PHP reportmaker generated sites.  Just occassionally right click back and it 
blows with AccessViolationException.

I am several months before I need the web browser feature in our Law 
Enforcement app.  I will help in any way I can to improve this library.

Original comment by njspence...@gmail.com on 22 Jan 2012 at 7:12

GoogleCodeExporter commented 8 years ago
BTW.  Don't worry about my XP issue with example.exe.  I will try some more in 
my app. in Windows 7 Pro x64.  When do you think you be etting a newer webkit?  

Original comment by njspence...@gmail.com on 22 Jan 2012 at 7:20

GoogleCodeExporter commented 8 years ago
The build we are using is almost the latest It was built about a week ago and I 
have been looking to the webkit's repository for commits but nothing had to do 
with this kind of issues. The main problem is that I don't experience this 
problem, so even if I upgrade to the latest build I won't be sure if the 
problem is fixed.

Original comment by tsumalis96@gmail.com on 23 Jan 2012 at 1:48

GoogleCodeExporter commented 8 years ago
I will try as soon as you release a new one.  I will also duplicate on my XP VM 
as well.  The only other issue is I get javascript errors on a couple of pages 
when I do a print dialog command.  I tried disabling the javascript feature and 
it still does it.  This is a minor issue I will need to dig to fix.  

I will do what I can to help you corner this problem.  

Original comment by njspence...@gmail.com on 23 Jan 2012 at 2:49

GoogleCodeExporter commented 8 years ago
Thanks! I appreciate that! As for JavaScript printing, is is handled inside 
uiDelegate.printFrame(WebView WebView, IWebFrame frame). If you remove the code 
from there JS printing is not allowed. You can edit this method in your own 
OpenWebKitSharp build inside the WebUIDelegate.cs file.

Original comment by tsumalis96@gmail.com on 23 Jan 2012 at 6:47

GoogleCodeExporter commented 8 years ago
I am updating in a newer WebKit build right now but firstly I would like to 
bring this issue again to top and ask you: Do you use a user agent?

Original comment by tsumalis96@gmail.com on 5 Feb 2012 at 7:39

GoogleCodeExporter commented 8 years ago
No user-agent.  All this is for is a reports from an intranet web site.  

Basically I dock the control into the window.  Do 
webkitcontrolname.Navigate("url string")
I'll try the new version as soon as it is available.

Original comment by njspence...@gmail.com on 5 Feb 2012 at 7:43

GoogleCodeExporter commented 8 years ago
OK Thanks for the info! The latest WebKit seems a bit unresponsive but I think 
I will make it work.

Original comment by tsumalis96@gmail.com on 5 Feb 2012 at 7:50

GoogleCodeExporter commented 8 years ago
Problem is resolved.  It requires Quicktime.  Also QTCF.dll needs copied into 
folder w/ the .exe.  

Basically, open webkit sharp does not gracefully deal with the lack QT.  No big 
deal.  I would not be using anything invoking QT.  

Original comment by njspence...@gmail.com on 17 Feb 2012 at 12:59

GoogleCodeExporter commented 8 years ago
Side issue.  I get an Javascript errors when I invoke 
WebKitBrowser1.ShowPrintDialog(). 

I have attached a PNG of the window.  I get similar error on any web or 
intranet page that contains Javascript.

Original comment by njspence...@gmail.com on 17 Feb 2012 at 1:11

Attachments:

GoogleCodeExporter commented 8 years ago
I will fix the above issue with JS. Thanks for the solution with Quick Time! 
That's why I was not having problems with the html5test page...

Original comment by tsumalis96@gmail.com on 17 Feb 2012 at 12:42

GoogleCodeExporter commented 8 years ago
Updated r119.  I am still getting the JS printing issue.  It may not have been 
intended on being resolved in r119.

But an FYI nonetheless.

Original comment by njspence...@gmail.com on 20 Feb 2012 at 4:22

GoogleCodeExporter commented 8 years ago
I ran into this same issue at html5test.com and solved it by blocking 
*.doubleclick.net.

I'll remember the QuickTime solution though.

Using OpenWebKitSharp 2.9  on  Windows 8 x64

Original comment by paulrm...@hotmail.com on 31 Aug 2012 at 1:48

GoogleCodeExporter commented 8 years ago
The OpenWebKitSharp v3.0.1.0023 crashes immediately when browsing www.mamba.ru

Original comment by evgordie...@gmail.com on 19 Nov 2013 at 10:01