--vt N option seems to be unreliable/racing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Thomas Voß |
Bug Description
This command: sudo bin/mir_
Sometimes fails with:
ERROR: /home/dan/
Dynamic exception type: boost::
std::exception:
[boost:
It does correctly switch to VT 1. But fails to start as you see above.
Running the same command a second time works. Which makes it look like a race -- we're not waiting for the VT switch to complete before opening the device. Or more likely, not waiting for X (VT7) to relinquish the DRM device before trying to grab it.
Related branches
- Robert Ancell: Approve
- Kevin DuBois (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 32 lines (+8/-2)2 files modifiedsrc/server/graphics/gbm/linux_virtual_terminal.cpp (+2/-1)
tests/unit-tests/graphics/gbm/test_linux_virtual_terminal.cpp (+6/-1)
Changed in mir: | |
status: | Fix Committed → Fix Released |
This appears to have been fixed. Looks like from:
lp:~thomas-voss/mir/wait-for-vt-to-become-active-before-setting-mode