Open KiChjang opened 5 years ago
cc @ferjm @ceyusa
It looks like the gstreamer is initialized twice, perhaps in different threads, like a race condition... mmmhh ... I wonder why.
@KiChjang is this only happening while running WPTs?
@ferjm No, it happens if I do .\mach run -d -- https://en.wikipedia.org
as well:
D:\Workspace\servo [mutation-observer-test-fix ≡ +0 ~2 -0 !]> .\mach run -d -- https://en.wikipedia.org
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.9.16
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
(servo.exe:8948): GLib-GObject-WARNING **: 23:10:53.864: cannot register existing type 'GstObject'
(servo.exe:8948): GLib-CRITICAL **: 23:10:53.867: g_once_init_leave: assertion 'result != 0' failed
(servo.exe:8948): GLib-GObject-CRITICAL **: 23:10:53.867: g_type_register_static: assertion 'parent_type > 0' failed
(servo.exe:8948): GLib-CRITICAL **: 23:10:53.868: g_once_init_leave: assertion 'result != 0' failed
(servo.exe:8948): GLib-GObject-CRITICAL **: 23:10:53.868: g_type_register_static: assertion 'parent_type > 0' failed
(servo.exe:8948): GLib-GObject-WARNING **: 23:10:53.868: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(servo.exe:8948): GLib-CRITICAL **: 23:10:53.868: g_once_init_leave: assertion 'result != 0' failed
(servo.exe:8948): GLib-GObject-CRITICAL **: 23:10:53.869: g_type_register_static: assertion 'parent_type > 0' failed
(servo.exe:8948): GLib-GObject-WARNING **: 23:10:53.869: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(servo.exe:8948): GLib-GObject-WARNING **: 23:10:53.869: cannot register existing type 'GstURIHandler'
(servo.exe:8948): GLib-CRITICAL **: 23:10:53.869: g_once_init_leave: assertion 'result != 0' failed
(servo.exe:8948): GLib-GObject-CRITICAL **: 23:10:53.870: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(servo.exe:8948): GLib-CRITICAL **: 23:10:53.870: g_once_init_leave: assertion 'result != 0' failed
Before I ran servo, I also had to rename a couple of my .DLL files by prefixing them with lib
, e.g. libgstplayer-1.0.0.dll
instead of gstplayer-1.0.0.dll
, otherwise the executable crashes, telling me that it can't find some required DLL files.
Before I ran servo, I also had to rename a couple of my .DLL files by prefixing them with lib, e.g. libgstplayer-1.0.0.dll instead of gstplayer-1.0.0.dll, otherwise the executable crashes, telling me that it can't find some required DLL files.
That is probably not the right fix. Could you verify that you are installing the GStreamer MSVC binaries, please? It sounds like you may be installing the MinGW binaries, which are currently not supported.
@ferjm I reinstalled both GStreamer and GStreamer devel just to make sure that I have the MSVC version instead of the MinGW binaries, but the problem still persists: I needed to rename the DLL files, and after I did, it still gives me the same error log as above.
I am using GStreamer version 1.16.1 instead of 1.16.0. Would that be the cause of this problem?