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

Locally built Servo hangs when closing #24879

Open
saschanaz opened this issue Nov 27, 2019 · 0 comments
Open

Locally built Servo hangs when closing #24879

saschanaz opened this issue Nov 27, 2019 · 0 comments

Comments

@saschanaz
Copy link
Contributor

@saschanaz saschanaz commented Nov 27, 2019

win32u.dll!00007fff5d5c4d44() (Unknown Source:0)
d3d11.dll!00007fff58ea291e() (Unknown Source:0)
d3d11.dll!00007fff58eb5787() (Unknown Source:0)
libGLESv2.dll!rx::Renderer11::testDeviceLost() Line 1885 (c:\Users\sasch\.cargo\registry\src\github.com-1ecc6299db9ec823\mozangle-0.2.7\gfx\angle\checkout\src\libANGLE\renderer\d3d\d3d11\Renderer11.cpp:1885)
libGLESv2.dll!rx::Renderer11::finish(rx::Context11 * context11) Line 1241 (c:\Users\sasch\.cargo\registry\src\github.com-1ecc6299db9ec823\mozangle-0.2.7\gfx\angle\checkout\src\libANGLE\renderer\d3d\d3d11\Renderer11.cpp:1241)
libGLESv2.dll!rx::Context11::finish(const gl::Context * context) Line 241 (c:\Users\sasch\.cargo\registry\src\github.com-1ecc6299db9ec823\mozangle-0.2.7\gfx\angle\checkout\src\libANGLE\renderer\d3d\d3d11\Context11.cpp:241)
libGLESv2.dll!gl::Context::finish() Line 2243 (c:\Users\sasch\.cargo\registry\src\github.com-1ecc6299db9ec823\mozangle-0.2.7\gfx\angle\checkout\src\libANGLE\Context.cpp:2243)
libGLESv2.dll!gl::Finish() Line 792 (c:\Users\sasch\.cargo\registry\src\github.com-1ecc6299db9ec823\mozangle-0.2.7\gfx\angle\checkout\src\libGLESv2\entry_points_gles_2_0_autogen.cpp:792)
servo.exe!glutin::api::egl::{{impl}}::drop(glutin::api::egl::Context * self) Line 648 (c:\Users\sasch\.cargo\registry\src\github.com-1ecc6299db9ec823\glutin-0.21.1\src\api\egl\mod.rs:648)
servo.exe!core::ptr::real_drop_in_place<glutin::api::egl::Context>(glutin::api::egl::Context *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<glutin::platform::platform::Context>(glutin::platform::platform::Context *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<glutin::context::Context<glutin::context::PossiblyCurrent>>(glutin::context::Context<glutin::context::PossiblyCurrent> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<glutin::windowed::ContextWrapper<glutin::context::PossiblyCurrent, winit::Window>>(glutin::windowed::ContextWrapper<glutin::context::PossiblyCurrent, winit::Window> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<servo::context::GlContext>(servo::context::GlContext *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<core::cell::UnsafeCell<servo::context::GlContext>>(core::cell::UnsafeCell<servo::context::GlContext> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<core::cell::RefCell<servo::context::GlContext>>(core::cell::RefCell<servo::context::GlContext> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<servo::headed_window::Window>(servo::headed_window::Window *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<alloc::rc::RcBox<WindowPortsMethods>>(alloc::rc::RcBox<WindowPortsMethods> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!alloc::rc::{{impl}}::drop<WindowPortsMethods>(alloc::rc::Rc<WindowPortsMethods> * self) Line 1105 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\liballoc\rc.rs:1105)
servo.exe!core::ptr::real_drop_in_place<alloc::rc::Rc<WindowPortsMethods>>(alloc::rc::Rc<WindowPortsMethods> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<(winit::WindowId, alloc::rc::Rc<WindowPortsMethods>)>((winit::WindowId, alloc::rc::Rc<WindowPortsMethods>) *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::{{impl}}::drop_in_place<(winit::WindowId, alloc::rc::Rc<WindowPortsMethods>)>((winit::WindowId, alloc::rc::Rc<WindowPortsMethods>) * self) Line 2424 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:2424)
servo.exe!hashbrown::raw::Bucket<(winit::WindowId, alloc::rc::Rc<WindowPortsMethods>)>::drop<(winit::WindowId, alloc::rc::Rc<WindowPortsMethods>)>() Line 308 (c:\Users\VssAdministrator\.cargo\registry\src\github.com-1ecc6299db9ec823\hashbrown-0.6.2\src\raw\mod.rs:308)
servo.exe!hashbrown::raw::{{impl}}::drop<(winit::WindowId, alloc::rc::Rc<WindowPortsMethods>)>(hashbrown::raw::RawTable<(winit::WindowId, alloc::rc::Rc<WindowPortsMethods>)> * self) Line 1040 (c:\Users\VssAdministrator\.cargo\registry\src\github.com-1ecc6299db9ec823\hashbrown-0.6.2\src\raw\mod.rs:1040)
servo.exe!core::ptr::real_drop_in_place<hashbrown::raw::RawTable<(winit::WindowId, alloc::rc::Rc<WindowPortsMethods>)>>(hashbrown::raw::RawTable<(winit::WindowId, alloc::rc::Rc<WindowPortsMethods>)> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<hashbrown::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>(hashbrown::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>(std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<core::cell::UnsafeCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>>(core::cell::UnsafeCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<core::cell::RefCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>>(core::cell::RefCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::ptr::real_drop_in_place<core::option::Option<core::cell::RefCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>>>(core::option::Option<core::cell::RefCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>> *) Line 181 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\ptr\mod.rs:181)
servo.exe!core::mem::drop<core::option::Option<core::cell::RefCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>>>(core::option::Option<core::cell::RefCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>> _x) Line 719 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libcore\mem\mod.rs:719)
servo.exe!std::thread::local::fast::destroy_value<core::cell::RefCell<std::collections::hash::map::HashMap<winit::WindowId, alloc::rc::Rc<WindowPortsMethods>, std::collections::hash::map::RandomState>>>(unsigned char * ptr) Line 469 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libstd\thread\local.rs:469)
servo.exe!std::sys_common::thread_local::register_dtor_fallback::run_dtors() Line 257 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libstd\sys_common\thread_local.rs:257)
servo.exe!std::sys::windows::thread_local::on_tls_callback() Line 205 (c:\rustc\1bd30ce2aac40c7698aa4a1b9520aa649ff2d1c5\src\libstd\sys\windows\thread_local.rs:205)
ntdll.dll!00007fff5f5c7bad() (Unknown Source:0)
ntdll.dll!00007fff5f5c7c8f() (Unknown Source:0)
ntdll.dll!00007fff5f5f3e12() (Unknown Source:0)
ntdll.dll!00007fff5f5f3bed() (Unknown Source:0)
kernel32.dll!00007fff5e22e04b() (Unknown Source:0)
ucrtbase.dll!00007fff5cd6ffdc() (Unknown Source:0)

testDeviceLost() is called infinitely, not sure why. The nightly build doesn't have this problem. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.