Unity8/Mir server crashes when given an invalid keymap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Stephen M. Webb | ||
Mir |
Won't Fix
|
Critical
|
Andreas Pokorny | ||
mir (Ubuntu) |
Won't Fix
|
Critical
|
Andreas Pokorny | ||
qtmir (Ubuntu) |
Fix Released
|
Critical
|
Andreas Pokorny |
Bug Description
https:/
I foolishly tested unity8's keymap switching with the keymap "zh" (I should have used "cn").
But I noticed that libmirclient crashed when I switched to "zh". While this isn't a supported use case, we shouldn't crash.
Here's a non-debugful stack trace:
#0 0xb61379a6 in ?? () from /lib/arm-
(gdb) bt
#0 0xb61379a6 in ?? () from /lib/arm-
#1 0xb614562e in raise () from /lib/arm-
#2 0xb6146332 in abort () from /lib/arm-
#3 0xb6283120 in __gnu_cxx:
from /usr/lib/
#4 0xb6281950 in ?? () from /usr/lib/
#5 0xb62819a6 in std::terminate() ()
from /usr/lib/
#6 0xb6281bc6 in __cxa_throw ()
from /usr/lib/
#7 0xb3d726ec in ?? () from /usr/lib/
#8 0xb3d857f2 in mir::events:
from /usr/lib/
#9 0xb3e3e5e2 in ?? () from /usr/lib/
#10 0xb3e24d1e in ?? () from /usr/lib/
#11 0xb3e2aeb0 in ?? () from /usr/lib/
#12 0xb3e26870 in ?? () from /usr/lib/
#13 0xaa6476ce in qtmir::
Related branches
- Daniel d'Andrada (community): Approve
- Unity8 CI Bot (community): Approve (continuous-integration)
-
Diff: 40 lines (+17/-3)2 files modifiedsrc/modules/Unity/Application/mirsurface.cpp (+8/-1)
src/platforms/mirserver/inputdeviceobserver.cpp (+9/-2)
summary: |
- Crashes when given an invalid keymap + Mir crashes when given an invalid keymap |
Changed in canonical-devices-system-image: | |
milestone: | none → u8c-1 |
assignee: | nobody → Stephen M. Webb (bregma) |
Changed in mir: | |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
Changed in mir (Ubuntu): | |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
summary: |
- Mir server crashes when given an invalid keymap + Unity8/Mir server crashes when given an invalid keymap |
information type: | Public → Public Security |
information type: | Public Security → Public |
Changed in mir: | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
Changed in mir: | |
milestone: | 1.0.0 → none |
status: | In Progress → Confirmed |
Changed in qtmir (Ubuntu): | |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in canonical-devices-system-image: | |
milestone: | u8c-1 → u8c-z |
Changed in mir (Ubuntu): | |
status: | Confirmed → Won't Fix |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
See also bug 1627942