Open Saviq opened 2 years ago
Sounds like #2658 maybe?
Possibly, but #2136 could also be hanging a thread (or #2674). Would be good to attach gdb and poke around...
Sounds like #2658 maybe?
Definitely not:
wrz 23 10:15:31 michal-laptop ubuntu-frame.daemon[318871]: [2022-09-23 10:15:31.954889] < - debug - > mirserver: Handling User defined signal 1 from pid=0
wrz 23 10:15:41 michal-laptop ubuntu-frame.daemon[318871]: [2022-09-23 10:15:41.102850] < - debug - > mirserver: Handling Terminated from pid=1
We're getting:
SIGUSR1
- The VT switch; and,
SIGTERM
- not a "Fatal signal" (it should schedule a call to DisplayServer::stop()
on the main loop
What is likely happening is that the VT switch has paused some thread that is assumed to be running by the shutdown code.
Steps
snap set ubuntu-frame daemon=true
Ctrl+Alt+F*
to a different TTYsnap stop ubuntu-frame
Ctrl+Alt+F4
to move back to tty4Expected
Current
Logs say:
Things are fine if you stay on tty4 and shut it down from remote. Sounds like #2658 maybe?