Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when loading shader on html5test.com #21191

Open
NiLSPACE opened this issue Jul 17, 2018 · 3 comments
Open

Crash when loading shader on html5test.com #21191

NiLSPACE opened this issue Jul 17, 2018 · 3 comments
Labels
A-content/webgl 3d canvas API C-triggered-by-web-page Report issue casued by visiting web pages I-crash No impact; the issue is one of maintainability or tidiness. P-windows Any version of Windows capable of running Servo

Comments

@NiLSPACE
Copy link

When going to http://html5test.com I get the following error:

Error and stacktrace
called `Option::unwrap()` on a `None` value (thread WebGLThread, at libcore\option.rs:345)
ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

stack backtrace:
ERROR 2018-07-17T06:40:13Z: servo: called `Option::unwrap()` on a `None` value
   0:     0x7ff65009ec8e - <no info>
   1:     0x7ff65009e6ae - <no info>
   2:     0x7ff65009e6fd - <no info>
   3:     0x7ff64e29c7b8 - <no info>
   4:     0x7ff6500a74a2 - <no info>
   5:     0x7ff6500a7004 - <no info>
   6:     0x7ff6500a6ee9 - <no info>
   7:     0x7ff6500cf96c - JS::Value::toPrivateUint32
   8:     0x7ff6500cf89e - JS::Value::toPrivateUint32
   9:     0x7ff64ffe9e02 - <no info>
  10:     0x7ff64ffdfba5 - <no info>
  11:     0x7ffa5a5d6cc1 - CallWindowProcW
  12:     0x7ffa5a5d699c - CallWindowProcW
  13:     0x7ffa5a5e0453 - IsWindowVisible
  14:     0x7ffa5c88dbc4 - KiUserCallbackDispatcher
  15:     0x7ffa59c01f04 - NtUserCreateWindowEx
  16:     0x7ffa5a5c50d7 - CreateWindowExW
  17:     0x7ffa5a5c4961 - CreateWindowExW
  18:     0x7ffa5a5c4792 - CreateWindowExW
  19:     0x7ff64fd96de4 - <no info>
  20:     0x7ff64fd917d2 - <no info>
  21:     0x7ff64f9da733 - <no info>
  22:     0x7ff64f9cc0ea - <no info>
  23:     0x7ff64fa258ea - <no info>
  24:     0x7ff64f9ccdd8 - <no info>
  25:     0x7ff64f9b8d79 - <no info>
  26:     0x7ff6500c98b2 - JS::Value::toPrivateUint32
  27:     0x7ff64f9d8ee1 - <no info>
  28:     0x7ff6500a7a72 - <no info>
  29:     0x7ffa5a013034 - BaseThreadInitThunk
Stack trace for thread "WebGLThread"
stack backtrace:
   0:     0x7ff65009ec8e - <no info>
   1:     0x7ff65009e6ae - <no info>
   2:     0x7ff65009e6fd - <no info>
   3:     0x7ff64e298b0d - <no info>
   4:     0x7ffa58c2d7bb - raise
   5:     0x7ffa58c2e851 - abort
   6:     0x7ffa58c2df1f - terminate
   7:     0x7ff650999a37 - js::BaseProxyHandler::isCallable
   8:     0x7ffa5989c0a0 - UnhandledExceptionFilter
   9:     0x7ffa5c8bc081 - LdrResolveDelayLoadsFromDll
  10:     0x7ffa5c88db30 - KiUserApcDispatcher
  11:     0x7ffa5c88eced - _chkstk
  12:     0x7ffa5c7f6c86 - RtlWalkFrameChain
  13:     0x7ffa5c7f52ca - RtlRaiseException
  14:     0x7ffa597ea388 - RaiseException
  15:     0x7ffa333b43dd - CxxThrowException
  16:     0x7ff6500c9998 - JS::Value::toPrivateUint32
  17:     0x7ff6500a7658 - <no info>
  18:     0x7ff6500a7538 - <no info>
  19:     0x7ff6500a7004 - <no info>
  20:     0x7ff6500a6ee9 - <no info>
  21:     0x7ff6500cf96c - JS::Value::toPrivateUint32
  22:     0x7ff6500cf89e - JS::Value::toPrivateUint32
  23:     0x7ff64ffe9e02 - <no info>
  24:     0x7ff64ffdfba5 - <no info>
  25:     0x7ffa5a5d6cc1 - CallWindowProcW
  26:     0x7ffa5a5d699c - CallWindowProcW
  27:     0x7ffa5a5e0453 - IsWindowVisible
  28:     0x7ffa5c88dbc4 - KiUserCallbackDispatcher
  29:     0x7ffa59c01f04 - NtUserCreateWindowEx
  30:     0x7ffa5a5c50d7 - CreateWindowExW
  31:     0x7ffa5a5c4961 - CreateWindowExW
  32:     0x7ffa5a5c4792 - CreateWindowExW
  33:     0x7ff64fd96de4 - <no info>
  34:     0x7ff64fd917d2 - <no info>
  35:     0x7ff64f9da733 - <no info>
  36:     0x7ff64f9cc0ea - <no info>
  37:     0x7ff64fa258ea - <no info>
  38:     0x7ff64f9ccdd8 - <no info>
  39:     0x7ff64f9b8d79 - <no info>
  40:     0x7ff6500c98b2 - JS::Value::toPrivateUint32
  41:     0x7ff64f9d8ee1 - <no info>
  42:     0x7ff6500a7a72 - <no info>
  43:     0x7ffa5a013034 - BaseThreadInitThunk

Specs:
CPU: I7 6500U @ 2.5GHz,
RAM: 16.0GB Dual-Channel,
GPU: Intel HD Graphics 520
OS: Windows 10 PRO 1803

@tigercosmos tigercosmos added C-needs minimized testcase C-triggered-by-web-page Report issue casued by visiting web pages labels Jul 18, 2018
@NiLSPACE
Copy link
Author

This alone seems to make Servo crash, but it doesn't spew out the ps_text_run error with it:

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
var element = document.createElement('canvas');
element.getContext("webgl");
</script>
</body>
</html>

@jdm
Copy link
Member

jdm commented Jul 18, 2018

What's the output from the crash?

@jdm jdm added P-windows Any version of Windows capable of running Servo I-crash No impact; the issue is one of maintainability or tidiness. labels Jul 18, 2018
@NiLSPACE
Copy link
Author

The same as before but without

ERROR 2018-07-17T06:40:13Z: webrender::device::gl: Failed to compile shader: ps_text_run

@jdm jdm added the A-content/webgl 3d canvas API label Jul 18, 2018
@nox nox changed the title Crash on loading html5test.com: Failed to compile shader: ps_text_run Crash when loading shader on html5test.com Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-content/webgl 3d canvas API C-triggered-by-web-page Report issue casued by visiting web pages I-crash No impact; the issue is one of maintainability or tidiness. P-windows Any version of Windows capable of running Servo
Projects
None yet
Development

No branches or pull requests

3 participants