Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWindows nightly crashes at startup #21820
Comments
|
From ferjm: I get this when running Servo from VS:
Without being able to create dev builds on my Windows VM I don`t know what else to do here. From jdm:
From ferjm:
I tried to break on From kichjang:
And here's the stacktrace:
So it doesn't look like that my segfault is related to gstreamer or SpiderMonkey, but with the loading of fonts... |
|
@KiChjang Any chance you could try following the instructions for windbg to catch this in a debugger and investigate what's happening a bit more closely? |
|
@jdm I still got the following stack using your method as described:
... which points to this line in the source file: servo/components/gfx/platform/windows/font.rs Line 249 in 97e3c5f |
|
Ok, so I think I figured out what the problem is... while trying to fetch the fonts for Microsoft YaHei, the servo/components/gfx/platform/windows/font.rs Line 212 in 97e3c5f ... which perhaps hints at the inability for servo to load asian fonts? |
|
I suspect the problem will solve itself once we update to dwrote 0.5. |
|
...which is blocked by #21725. |
|
Thank you for investigating! |
|
I misspoke, we need an even more recent version of web render in order to bump dwrote to version 0.5. |
|
What happens if we bump the version used by Servo and ignore webrender right now? Does the startup crash go away? |
|
I tried that yesterday, and the reason why I said that we need a new webrender version is because WR is currently on dwrote 0.4, and one of the WR API functions that we use contains a type exported from dwrote, and bumping dwrote to 0.5 on servo would cause a type mismatch due to versioning differences. |
|
This is fixed now. Edit: Actually it turns out that previous nightly builds work for me as well. Maybe there is more going on here than I thought. @jdm are you still able to reproduce the issue? |
|
I still get the following error running the latest nightly on Windows 10 x64:
|
|
You may need to uninstall gstreamer and servo before installing again. |
|
I was using the version from the zip. I never installed gstreamer in the first place. I assumed the problem was Servo not bundling the dependencies it needed. |
|
You will need to install gstreamer separately in that case. Only the bundled instaler is expected to work out of the box. |
|
Using the bundled installer also still results in Servo crashing on startup:
|
|
@AshleyScirra do you have a gstreamer folder located on your C: drive? I have encountered that error before when I ran into issues with Servo loading the GStreamer files. I think there still may be issues with the Windows installer. |
|
Shouldn't the installer be fixed then, or at least the install instructions updated? |
|
The installer was supposed to have been fixed in #21902 but it is possible there are still some issues with it. |
|
I just tried installing Servo on Windows 10 using the current installer from https://download.servo.org/ and running it produced this error. Uninstalling and reinstalling doesn't fix it. |
I'm having this same error. |
No description provided.