View Issue Details

IDProjectCategoryView StatusLast Update
0031383RunnerHTML5Public2020-03-26 15:43
ReporterScott DunbarAssigned ToLuke Brown 
PriorityHighSeverityA - Crash/HangReproducibility100%
Status ClosedResolutionReopened 
PlatformHTML5OSWindows 10OS Version
Product Version2.2.4 
Target Version2.2.4Fixed in Version2.2.4 
Summary0031383: HTML5: surface_free() crashes the page if the surface doesn't exist
 surface_free() crashes the page if the surface doesn't exist. This is different to Windows platform, which simply outputs a warning to the output window.

 html5 and windows should work the same
Steps To Reproduce1. import attached project
2. run project in windows - observe no crash/error
3. run project in HTML5 - observe that page will crash and error produced in developer console
TagsNo tags attached.
1.4 Found In
2.x Runtime Found In2.2.4.357
2.x Runtime Verified In


Scott Dunbar

2019-09-26 10:43


surface_free.yyz (21,934 bytes)

Luke Brown

2019-09-30 10:14

Developer   ~0064866

It isn't exactly true that VM/YYC wont fail if the surface doesnt exist. instead, it will silently fail if the id given to surface_free is < 0; noone, all, self, etc - are all set to negative values so will all silently fail. an actual invalid surface id, say '12' when no surfaces how been created, will throw and error on both platforms.

fixed in gitlab


2019-10-04 16:27

Adminstrator   ~0064907

Runtime 363+

Patrick Roche

2020-03-09 12:37

Adminstrator   ~0065460

Issue is still present in IDE v9.2.1.2152 Runtime v9.9.1.1717 - Runner launches into HTML5 and shows white screen.

Patrick Roche

2020-03-26 15:43

Adminstrator   ~0065539

Fixed in IDE v23.1.1.129 Runtime v23.1.1.111