Note that there are some explanatory texts on larger screens.

plurals
  1. POAwesomium Access Violation When Accessing HTML5 File System API
    primarykey
    data
    text
    <h2>Update #1</h2> <p>For clarity, and easier reading, the following line is the smallest code in an HTML5 application to cause my Awesomium to crash</p> <pre><code>window.webkitStorageInfo.requestQuota(webkitStorageInfo.PERSISTENT,1,function() {}, function() {}); </code></pre> <h2>The Details</h2> <p>I'm new to Awesomium, and I was hoping that maybe someone else has come across this before, or might have an idea how to fix it.</p> <p>I'm creating a <strong>WPF Application</strong> with a <a href="http://docs.awesomium.net/html/T_Awesomium_Windows_Controls_WebControl.htm" rel="nofollow noreferrer"><strong>Awesomium WebControl</strong></a> for <strong>Awesomium 1.7.3</strong>. One of the webpages that I'm using within it uses the <a href="http://www.html5rocks.com/en/tutorials/file/filesystem/" rel="nofollow noreferrer"><strong>HTML5 FileSystem API</strong></a>.</p> <p>When I ran my application in <strong>Visual Studio's debug mode</strong>, I would attempt to perform the functionality in the HTML5 app that would use the <strong>FileSystem API</strong>. As soon as this would happen, I would get this pop up: </p> <p><img src="https://i.stack.imgur.com/JkbqN.png" alt="vshost32.exe has stopped working A problem caused the program to stop working correctly. Windows will now close the program and notify you if a solution is available."></p> <p>If I clicked the <strong>Debug</strong> button, it would get this warning dialog instead:</p> <p><img src="https://i.stack.imgur.com/zwXoM.png" alt="A debugger is attached to but not configured to debug this unhandled exception. To debug this exception, detach the current debugger."></p> <p>I had a look in the <strong>Windows Event Viewer</strong>, and found an <code>Error</code> for this.</p> <pre><code>Faulting application name: GeocortexApp.Windows.vshost.exe, version: 11.0.50727.1, time stamp: 0x5011d445 Faulting module name: awesomium.dll, version: 1.7.3.0, time stamp: 0x52698ef3 Exception code: 0xc0000005 Fault offset: 0x00a6d8a6 Faulting process id: 0x31c4 Faulting application start time: 0x01cee6500cc5ec54 Faulting application path: C:\Development\GeocortexApp\_Trunk\GeocortexApp.Windows\bin\Debug\GeocortexApp.Windows.vshost.exe Faulting module path: C:\WINDOWS\Microsoft.Net\assembly\GAC_32\Awesomium.Core\v4.0_1.7.3.0__e1a0d7c8071a5214\awesomium.dll Report Id: c8d0cd0d-5244-11e3-be84-b8ca3aa5c3db Faulting package full name: Faulting package-relative application ID: </code></pre> <p>I debugged my <strong>HTML5 Web Application</strong> and was able to trace the issue down to a single line:</p> <pre><code>window.webkitStorageInfo.requestQuota(PERSISTENT, 1024*1024, successFunction, errorFunction); </code></pre> <p>As soon as I execute this single line of code, it brings down my <strong>WPF Application</strong>. Does anyone know how to get around this?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload