[webkit-qt] Crash on exit with multiple WK2 WebView's

Milian Wolff milian.wolff at kdab.com
Thu Jan 24 05:25:48 PST 2013

On Thursday 24 January 2013 14:04:32 Milian Wolff wrote:
> Hey all,
> we encounter a crash on exit in an app with multiple QML2 WebViews, see [1].
> The valgrind report you see there was created with:
> valgrind --trace-children=yes --smc-check=all ./MyApp
> It also shows tons of uninitialised value usages throughout WebKit and
> QtDeclarative.
> Under [2] you can find a backtrace acquired with GDB. It shows that the
> m_rootLayer in LayerTreeRenderer is invalid, when called from
> LayerTreeRenderer::purgeGLResources. Other places contain explicit checks
> for the validity, so maybe the check is just missing there?
> Cheers
> [1]: http://paste.kde.org/655388/
> [2]: http://paste.kde.org/655394/

The reason is apparently that the root layer is not instantiated if the 
webview is never shown, see https://bugs.webkit.org/show_bug.cgi?id=107812 for 
a minimal example. I'll create a patch - but where do I push that then? Gerrit 
for stable branch? Who will merge it upstream into WebKit itself?


Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20130124/a6594f84/attachment.sig>

More information about the webkit-qt mailing list