[webkit-qt] Crash on exit with multiple WK2 WebView's
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 .
> 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
> Under  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?
> : http://paste.kde.org/655388/
> : 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...
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the webkit-qt