View Issue Details

IDProjectCategoryView StatusLast Update
0031383RunnerHTML5Public2019-10-04 16:27
ReporterScott DunbarAssigned ToLuke Brown 
PriorityHighSeverityA - Crash/HangReproducibility100%
Status ResolvedResolutionFixed 
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
DescriptionIssue:
 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.

expected:
 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

Activities

Scott Dunbar

2019-09-26 10:43

Adminstrator  

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

Dan

2019-10-04 16:27

Adminstrator   ~0064907

Runtime 363+