Page 1 of 1

Ventuz Crash while showing HTML5

Posted: 07 Sep 2017, 11:08
by brassel
We have a crash while showing a web page with the Chromium embedded framework.
Normally one would expect that a page can crash the browser.
Are there any known issues with CEF with respect to crashes?

Even if CEF does crash, this should not take the complete Ventuz system with it.
Does Ventuz not catch exceptions form Chromium?

Is there anything we could do to regain stability with this?

Re: Ventuz Crash while showing HTML5

Posted: 07 Sep 2017, 16:26
by Karol
Hi!

How can we reproduce this crash?

Best Regards
Karol

Re: Ventuz Crash while showing HTML5

Posted: 07 Sep 2017, 18:39
by brassel
Hi Karol,

we have by now analysed the problem. There seems to be a memory leak in your embedding of the chromium framework.
We have a page we integrated in a ventuz presentation and you can see the memory growing by about 1GB in 3-4 minutes.

The same page does not have any problem in the chromium browser on the same machine.
Sure, it uses a lot of memory but there is now steady grow in usage.

Unfortunately, I cannot give you the login data for the site.
But I guess this will be happening with a lot of other sites as well.

Any chance of a fix for this leak?

Thanks
Bernd

Re: Ventuz Crash while showing HTML5

Posted: 08 Sep 2017, 09:49
by Karol
Hi Bernd!

We definitely want to fix this.
But first of all we need a reproduce.
Can you give us more information about the technical aspects of the page?
Now I only know that it uses HTML5. This does not rely reduce the group of suspects.

Best Regards
Karol

Re: Ventuz Crash while showing HTML5

Posted: 08 Sep 2017, 10:00
by brassel
> Can you give us more information about the technical aspects of the page?

It does stream a lot of live data along with YouTube videos.

Unfortunately, I do not have access to a windows machine right now.
(Writing this from my Mac.)
What I would do now if I could:

Try to reproduce this with only a Ventuz Webview and surfing around on YouTube for a while.
I had the feeling that changing the playing videos had the biggest impact on memory.

Perhaps you could try this and see if the memory grows steadily while playing videos?

I guess, it will not grow as fast as with the page we use.
But I hope it will suffice to find and fix the bug.

Let me know if you can reproduce it this way.
If not, I will have to knock away a colleague from one of the Ventuz machines and try to create a project to upload.

Cheers
Bernd

Re: Ventuz Crash while showing HTML5

Posted: 08 Sep 2017, 13:03
by brassel
Hi again,

I have managed to get some time on a Ventuz machine.

YouTube does not reveal the bug but I have found a page which does.

https://www.geckoboard.com/learn/dashbo ... bKBydNJajg

The link above shows a dash board quite similar to our real use case (but without videos).
I have uploaded a Ventuz project simply loading this page with it you can reproduce the bug by

waiting for the page to load and then press reload.

Within about 8-10 reloads memory consumption has increased by 100MB and does not back down again.

This is very similar to what we experience with our use case, as that page refreshes every few seconds as well.
Only the magnitude of memory growth is higher, causing the crash after a limited time.

Both pages seem to behave well in Chromium.

Makes me think that it is a problem with the Ventuz embedding.

Hope this helps fixing this
Bernd

Re: Ventuz Crash while showing HTML5

Posted: 13 Sep 2017, 16:01
by brassel
What about this issue? Any news?