Skip to main content
March 30, 2011
Question

webkit.dll crash on launch

  • March 30, 2011
  • 1 reply
  • 5072 views

Hello. I tried posting on this issue in the Flex forums a couple weeks ago, but got no response. I am posting here in case the problem in case it is more specific to AIR applications in general.

At least one user of our  Flex desktop application, who was formerly able to run it normally, now  has an issue in which the application crashes shortly after opening.  Facts:

  • The user is running Windows XP SP3.
  • The  Application event log shows "Faulting application MyAppName.exe,  version 0.0.0.0, faulting module webkit.dll, version 0.0.0.0, fault  address 0x001f9425."
  • The crash does not always happen at exactly  the same time (although is always within a few seconds), and the  application is able to download a few things before crashing.
  • Uninstalling and reinstalling the latest version of AIR on the user's machine did not help.
  • Running Tour de Flex produces an equivalent message.
  • The  only potentially relevant thing that the user mentioned that has  happened recently is that she installed another AIR app, svBuilder.  However, since AIR was reinstalled more recently than the application  was installed, I don't see how that could be related. Installing  svBuilder on other computers also does not appear to induce this  problem.
  • I found at least one example of another AIR application having the same problem.

If anyone has any idea what the problem could be here, please let me know.

Thanks,

Chris

This topic has been closed for replies.

1 reply

Participant
February 6, 2012

Chris,

    I am also facing same Issue.I am not able to launch my Air application because of Webkit.dll.Itunes were installed in my Machine.

When i uncheck(stop-don't include) Itunes related things from startup tab of System Configuration, I am not able to launch my Air app following Error is coming root cause is Webkit.dll.

When i check itunes i am able to launch my air app.

Faulting application name: UCClient.exe, version: 0.0.0.0, time stamp: 0x4c0053ef

Faulting module name: WebKit.dll, version: 6531.9.0.0, time stamp: 0x4eb75ebc

Exception code: 0xc0000005

Fault offset: 0x000145fb

Faulting process id: 0x1934

Faulting application start time: 0x01ccdf954b165f94

Faulting application path: C:\Program Files\UCClient\UCClient.exe

Faulting module path: c:\Program Files\Common Files\Adobe AIR\Versions\1.0\Resources\WebKit.dll

Report Id: 8d52f214-4b88-11e1-afb6-0025646584ea

Fault bucket , type 0

Event Name: APPCRASH

Response: Not available

Cab Id: 0

Problem signature:

P1: UCClient.exe

P2: 0.0.0.0

P3: 4c0053ef

P4: WebKit.dll

P5: 6531.9.0.0

P6: 4eb75ebc

P7: c0000005

P8: 000145fb

P9:

P10:

Attached files:

Thanks

Naresh.

chris.campbell
Community Manager
Community Manager
February 7, 2012

Hi Neresh,

Could you generate a dmp file and send it along my way (ccampbel@adobe.com)?  Here are instructions (relpace your app in place of the ADL references.)

http://forums.adobe.com/message/4159755#4159755

Thanks,

Chris

rogerc96594825
Known Participant
December 14, 2016

Hi Rakshit

I think we have found what causes this crash.

We use the DEACTIVE event

  1. this.addEventListener(Event.DEACTIVATE, appDeavtivatedHandler);

And in appDeactatedHandler we call

_webView.loadURL("javascript:setProgress('"+theLocation+"');");

So that the text  in any TextArea's on the HTML page can be sent via Ajax to the server

(Our app runs its own local web server)

There seems to be a problem when the App is deactivated and the user uses Google Chrome or perhaps Microsoft Word, that when the App gets re-activated the _webView variable is null

The StageWebView still functions, but the App is unable to interact with the webview because the variable _webview is null

Sometimes _webview is not null, but AS3 can't communicate with the webview, so calls to _webView.loadURL no longer function.

I have uploaded the SWF and Exe to this google drive

https://drive.google.com/drive/folders/0B4AdvMiTQuacTGlkc3lvUjZlTzQ

To replicate the bug.

Run the Exe

Login as demo   demo

On the first screen, select the top menu item, (workset 1)

After page loads

Press Home button

Click to enter workset 2

Click home button

Click to enter worset 1

Click outside app to deactivate it

Run google chrome

click between app and google chrome

Try also pressing home button and go to workset 1 then workset 2, and also to Google chome and back to the App

The app will detect webview is null, and try to display a popup, but as _webview is null, it is unable to set _webview.stage = null, so the popup does not work

Webkit does not always crash - this is very rare, but _webview does become null or it is impossible for flash to communicate with the StageWebview if you do the procedure a few times.

Our work-around is that we no longer try to interact with _webview after the App is deactived. 

This is not ideal, but it seems to prevent the problem


Sorry

I can't add an update to the bug as your tracker would not accept my update