-
Notifications
You must be signed in to change notification settings - Fork 93
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
Mir crashes when wayvnc connection opened while Mir is on a non-active TTY #2701
Comments
I can imagine that the Mir display configuration may be "confused" and some GPU resources may be unavailable. But I agree, crashing isn't appropriate. Logs? Stack trace? |
So far I have been unable to replicate this while running Mir from SSH, so no stack trace. |
I reproduced with Thread 92 (Thread 0x7faf5bfff6c0 (LWP 1300471) "Mir/Wayland"):
#0 0x00007fb100b95b96 in wl_list_empty () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#1 0x00007fb100b976e5 in wl_client_destroy () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#2 0x00007fb1016d5a3d in (anonymous namespace)::halt_eventloop(int, uint32_t, void*) (fd=31, data=0x5635c03dfcb0) at /home/michal/dev/MirServer/mir/src/server/frontend_wayland/wayland_connector.cpp:154
#3 0x00007fb100b970fa in wl_event_loop_dispatch () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#4 0x00007fb100b978d5 in wl_display_run () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#5 0x00007fb1016d7312 in operator()(wl_display*) const (__closure=0x5635bfca4268, d=0x5635c03dfcb0) at /home/michal/dev/MirServer/mir/src/server/frontend_wayland/wayland_connector.cpp:393
#6 0x00007fb1016d9872 in std::__invoke_impl<void, mir::frontend::WaylandConnector::start()::<lambda(wl_display*)>, wl_display*>(std::__invoke_other, struct {...} &&) (__f=...) at /usr/include/c++/12/bits/invoke.h:61
#7 0x00007fb1016d9817 in std::__invoke<mir::frontend::WaylandConnector::start()::<lambda(wl_display*)>, wl_display*>(struct {...} &&) (__fn=...) at /usr/include/c++/12/bits/invoke.h:96
#8 0x00007fb1016d9787 in std::thread::_Invoker<std::tuple<mir::frontend::WaylandConnector::start()::<lambda(wl_display*)>, wl_display*> >::_M_invoke<0, 1>(std::_Index_tuple<0, 1>) (this=0x5635bfca4268) at /usr/include/c++/12/bits/std_thread.h:252
#9 0x00007fb1016d9740 in std::thread::_Invoker<std::tuple<mir::frontend::WaylandConnector::start()::<lambda(wl_display*)>, wl_display*> >::operator()(void) (this=0x5635bfca4268) at /usr/include/c++/12/bits/std_thread.h:259
#10 0x00007fb1016d9724 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<mir::frontend::WaylandConnector::start()::<lambda(wl_display*)>, wl_display*> > >::_M_run(void) (this=0x5635bfca4260) at /usr/include/c++/12/bits/std_thread.h:210
#11 0x00007fb101e573a3 in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007fb101be6402 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007fb101c75590 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
That is the Wayland thread closing down. Was the thread handling SIGSEGV? |
This is the sort of thing I'd expect as Mir doesn't "own" any output, nor the associated graphics card. |
So, first we receive a SIGSEGV and enter |
This sounds like the same issue I have when just switching TTY away from Miriway, I'm seeing the same logs and trace. |
Perhaps this is also fixed by #2712? |
Fixed by #2712 |
Open Mir with all extensions enabled, run wayvnc, which to a different TTY, run gnome-connections and connect. Sway has weird behavior indicating there's something hard about making this work, but Mir completely crashes.
The text was updated successfully, but these errors were encountered: