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?

Cheers

-- 
Milian Wolff | [email protected] | 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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to