Sailfish WebView crashed sometimes when assigning URL

REPRODUCIBILITY: ~10% (sometimes)
OS VERSION: 4.5.0.18
HARDWARE: X, XA2
UI LANGUAGE: german
REGRESSION: no

DESCRIPTION:

Sailfish WebView seams stable when running in a simple app. But with some signal handlers and some settings in Component.onCompleted the Sailfish WebView API or the WebEngine crashed sometimes after
WebView.url = myURL

Signal handlers used:
WebView.onLoadedChanged, WebView.onLinkClicked, WebView.onLoadRedirect, WebView.onMovingChanged

Settings used:
WebView.pixelRatio, WebView.httpUserAgent, WebEngineSettings.javascriptEnabled, WebEngineSettings.autoLoadImages, WebEngineSettings.cookieBehavior

The settings will be applied after WebView.initalizied === true.

PRECONDITIONS:

In my app (Ielig:Web) some history data where deleted in the app cache before starting. And the WebViewPage is typicall the third page in PageStack and sometimes a page can attached.

STEPS TO REPRODUCE:

Create a more complex app than in the examples.

EXPECTED RESULT:

Less crashes

ACTUAL RESULT:

The app crashed but the cover page remain on the app grid.

MODIFICATIONS:

No Android, nothing from OpenRepos or Chum

ADDITIONAL INFORMATION:

Maybe the crash frequency is little less on the XA2 (vs. X)
The new version of my app (Ielig:Web) is nearly ready for the Store. But in SF 4.5 the old QT WebKit is no more available for new releases apps. So the app has to work with the Sailffish WebView API. The SF WebView is a great browser. When the bug described here and this bug are fixed the new version will be released in Store.

Send PM for more details.

1 Like

For your tests you can find the new beta Sailfish WebView API version of the app Ielig:Web here:

Ielig:Web RPM