intel / webml-polyfill

Deprecated, the Web Neural Network Polyfill project has been moved to https://github.com/webmachinelearning/webnn-polyfill
Apache License 2.0
161 stars 46 forks source link

[Example] Chromium crashed sometimes when run SSD MobileNet example on Mac 10.14 #235

Closed Christywl closed 5 years ago

Christywl commented 5 years ago

Test Env: Chromium Version: nightly build 70.0.3503.0 (861b761) Device: MacBook Pro 10.14

Expected Result: SSD MobileNet example works fine.

Actual Result: Chromium crashed sometimes and the web page may hang or the example will switch to WASM with the error “fail to setup WebML backend”. crash log:

/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.200.3/Libraries/CompressData/CompressData.c:35: getxattr(/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist): Operation 
not permitted
Received signal 11 SEGV_MAPERR 000000000000
 [0x0001190715ec]
 [0x0001190714e1]
 [0x7fff77f56b3d]
 [0x000000000000]
 [0x000118fc0e32]
 [0x000118fe19df]
 [0x000118fe2011]
 [0x000118fe332c]
 [0x000119006455]
 [0x00011904765d]
 [0x00011907a347]
 [0x7fff77f5f33d]
 [0x7fff77f622a7]
 [0x7fff77f5e425]
[end of stack trace]
[17869:775:1012/162414.989760:ERROR:gles2_cmd_decoder.cc(18059)] [.BrowserCompositor-0x7fde86008a00]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[17869:775:1012/162414.989978:ERROR:gles2_cmd_decoder.cc(12532)] [.BrowserCompositor-0x7fde86008a00]GL ERROR :GL_INVALID_VALUE : glScheduleCALayerCHROMIUM: unsupported texture format

How to Reproduce:

  1. Visit https://huningxin.github.io/webml-examples/
  2. Choose SSD MobileNet Image Demo
  3. Wait for the model loading
Christywl commented 5 years ago

Retested with build 861b761 on Mac 10.14 and this issue can't reproduce, so close it.