Flash crashed to render a emoji on Chrome OS. |
||||
Issue descriptionVersion: 54.0.2840.59 OS: ChromeOS 8743.65.0 Platform: 8743.65.0 (Official Build) beta-channel samus Flash Version: 23.0.0.185-r1 What steps will reproduce the problem? Make sure you're using Chrome OS rather than Linux. (1) Open http://try.haxe.org/ (an online code editor that compiles to Flash) (2) Use the following code: class Test { static function main() { trace("Test😀"); } } (3) Click Build + Run Note: if the code got messed up by bug tracker, maybe the following link is also available (I don't know when haxe expire a saved code) http://try.haxe.org/#bcf3c What is the expected output? The right pane (Flash) should display: Test.hx:3: Test😀 What do you see instead? The browser freezes and then Flash crashed. Please use labels and text to provide additional information. The reason of these should be the Chrome OS can render emoji fonts colorfully. Also reproduced at M56(dev) under ChromeOS. If you do an one-line patch to cairo under Linux to support colorful emojis, the Flash can also crash under Linux.
,
Oct 25 2016
Extra information: when reproducing with Hexa, please make sure in the "Options" tab, the output type is SWF rather than Javascript.
,
Oct 25 2016
Thanks for reporting the bug. Do you know if this is happening on other platforms (Win, Linux,...) as well?
,
Oct 25 2016
It might be the same as issue 649787 .
,
Oct 25 2016
Linux: As cairo[1] doesn't render fonts colorfully by default. So it won't crash. But if you manually patch cairo as richard0053 mentioned above, it will lead to this problem. Mac: Mac doesn't crash. But when I tried to install the Noto Emoji Color to a Macbook. The system reports an error "sfnt required tables" while Noto Emoji(without color) can be successfully installed. Windows: My personal laptop is still on Win 7 without colorful emoji font support. (I missed the deadline for Win 10 free upgrade. And I only use it to play games so... I'll try to see if there're some other eng who has a Windows 10 laptop or workstation. But I don't think it crashes, or I would have already heard some crash reports from many friends who has the same use case as me mentioned in [1]. As my chromebook pixel is corp enrolled so I can't provide extra useful information to you. Maybe you can guide richard0053 to provide some debug information. Or I can also try to get some debug information by getting the cairo patch back at my personal laptop on weekends. About issue 649787 , I'm not sure it's the same. Issue 649787 looks like a regression issue and it doesn't reproduce at M54. While this does reproduce at M54 and I met the flash crash months ago[1] and figured out it can be caused by colorful emoji while playing the cairo patch at Linux. [1] Crashes on ChromeOS but not my personal Linux laptop while watching videos at a website that puts user comment(mostly flash rendered text, and some other player control behavior or pixel drawing by the code user entered) scrolling along with the video at exact video time point. Screenshot of how it looks from google images: https://goo.gl/e6HVuR
,
Oct 25 2016
typo s/cairo[1]/cairo[2] [2] Cairo is a platform independent 2d drawing library widely used under Linux.
,
Oct 25 2016
It looks skia also has FT_LOAD_COLOR set here https://cs.chromium.org/chromium/src/third_party/skia/src/ports/SkFontHost_FreeType.cpp?q=FT_LOAD_COLOR&sq=package:chromium&l=828
,
Jan 4 2017
Any update on this issue? Users playing Flash games with a chat function are getting affected by this whenever there's emojis used.
,
Feb 10 2017
ping. and just tried Windows 10 with M56. It can display colorful emoji without crashing the Flash on Chrome.
,
Nov 22 2017
So, built-in flash plugin on CrOS uses Cairo with a patch mentioned in comment 1 ? I think Behdad has updated Cairo more and Cairo ToT (or the latest release) has his latest change to support color fonts in Cairo. If the flash plugin on Chrome OS does not use that version of Cairo, it needs to be updated to use it.
,
Nov 22 2017
Does flash plugin use cairo at all?
,
Nov 22 2017
Unable to reproduce the issue on Chrome 63.0.3239.50/CrOS 10032.39.0 - Samus. Able to see the "Test.hx:3: Test😀" without crashing the flash (version:27.0.0.187)
,
Nov 28 2017
Marking as fix unknown. |
||||
►
Sign in to add a comment |
||||
Comment 1 by richard0...@gmail.com
, Oct 25 20164.4 KB
4.4 KB View Download