View Issue Details

IDProjectCategoryView StatusLast Update
0009412New issuesCEFpublic2017-03-31 19:30
Reporter[THC]Lars-MarcelAssigned To 
PrioritynormalSeveritycrashReproducibilityrandom
Status newResolutionopen 
Summary0009412: CEF crashes the client sometimes
Description

Sometimes MTA crashes while a CEF window is active.
Also, sometimes MTA crashes without a Crash-Report or creating a crash dump.

Two crashdumps from two clients with this problem:
http://upload.mtasa.com/u/582869056/client_1.5.2-release-9928.1.000_libcef_01938bd3_3_CPxMb_E93E84A4_55F3_2D5_55771_20161002_2038.dmp_
http://upload.mtasa.com/u/625274525/client_1.5.2-release-10034.0.000_libcef_01938bd3_3_CPxMb_E93E84A4_55F3_FFF_60D64_20160930_2318.dmp_

TagsNo tags attached.

Activities

Jusonex

2016-10-03 10:47

administrator   ~~0025280

Last edited: 2016-10-03 10:47

View 2 revisions

Could it be that the websites you requested tried to open a print dialog?

Also, do you use ajax handlers?

[THC]Lars-Marcel

2016-10-03 14:25

viewer   ~~0025282

Print-Dialog, do u mean for a printing a page? No :D

Yes, to synchronise data between CEF and LUA.

[THC]Lars-Marcel

2017-02-07 19:54

viewer   ~~0025667

Last edited: 2017-03-31 19:30

View 2 revisions

Problem is still existent, but since 1.5.3 the crashes has been very increased.

Problem is caused by a CEF-Browser which is used for a smartphone and is running in the background.
In the background the only action that will be executed is AJAX-Handlers with jQuery, i sync the data every few seconds between LUA and JS.

Here are multiple crashdumps from 3 clients.
http://upload.mtasa.com/u/496025370/cef_crashes.zip_

[THC]Lars-Marcel

2017-03-31 01:47

viewer   ~~0025792

Problem is definitly caused by AJAX-Handlers.
After temporary removing AJAX-Functions we had no more crashes.

Used JS-Code: https://pastebin.com/BUwNiHKR
Used LUA-Code: https://pastebin.com/DvskC5AL

Crash is completely random, sometimes with error message sometimes without any message.
When changing the JS-Interval to 50ms it doesn't seems that the crash happens earlier.

Issue History

Date Modified Username Field Change