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

Alexis Menard alexis at webkit.org
Thu Jan 24 05:30:27 PST 2013


On Thu, Jan 24, 2013 at 10:25 AM, Milian Wolff <milian.wolff at kdab.com> wrote:
> 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?

No WebKit.org then it will be backported.

>
> Cheers
>
> --
> 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
>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-qt
>



-- 
Software Engineer @
Intel Open Source Technology Center


More information about the webkit-qt mailing list