Mir servers crash if I press the side mouse button (thumb)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Andreas Pokorny | ||
0.19 |
Won't Fix
|
High
|
Unassigned | ||
0.20 |
Fix Released
|
High
|
Andreas Pokorny | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Mir servers crash if I press the side mouse button (thumb).
There are two of them on the side of my Intellimouse Explorer 3.0. The kernel calls them BTN_SIDE and BTN_EXTRA. And X calls them buttons 8 and 9.
When the crash happens I see in unity8.log:
[1455268365.782990] <ERROR> MirSurfaceAPI: Caught exception at client library boundary (in mir_surface_
Dynamic exception type: boost::
std::exception:
32, "Broken pipe"
*** Error in `unity8': free(): invalid size: 0x00007fcb4c03fe90 ***
Also happens with the Mir demo servers; they segfault but without a usable stack trace due to exception handling.
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Mir CI Bot: Approve (continuous-integration)
- Kevin DuBois (community): Approve
- Daniel van Vugt: Approve
- Cemil Azizoglu (community): Approve
-
Diff: 267 lines (+95/-77)6 files modifiedinclude/client/mir_toolkit/events/input/pointer_event.h (+4/-1)
src/client/input/android/event_conversion_helpers.cpp (+11/-26)
src/client/input/input_event.cpp (+1/-15)
src/platforms/evdev/button_utils.cpp (+3/-0)
src/platforms/evdev/libinput_device.cpp (+45/-35)
tests/unit-tests/input/evdev/test_libinput_device.cpp (+31/-0)
- Daniel van Vugt: Needs Fixing
-
Diff: 282 lines (+100/-77)7 files modifieddebian/changelog (+1/-0)
include/client/mir_toolkit/events/input/pointer_event.h (+4/-1)
src/client/input/android/event_conversion_helpers.cpp (+11/-26)
src/client/input/input_event.cpp (+1/-15)
src/platforms/evdev/button_utils.cpp (+3/-0)
src/platforms/evdev/libinput_device.cpp (+45/-35)
tests/unit-tests/input/evdev/test_libinput_device.cpp (+35/-0)
Changed in unity8 (Ubuntu): | |
importance: | Undecided → High |
summary: |
- Unity8 crashes if I press the side mouse button (thumb) + Mir servers crash if I press the side mouse button (thumb) |
affects: | unity8 (Ubuntu) → mir (Ubuntu) |
tags: | added: input |
description: | updated |
Changed in mir: | |
importance: | Undecided → High |
milestone: | none → 0.20.0 |
Changed in mir: | |
milestone: | 0.20.0 → 0.21.0 |
Changed in mir (Ubuntu): | |
assignee: | nobody → Andreas Pokorny (andreas-pokorny) |
Changed in mir (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in mir: | |
status: | Fix Committed → Fix Released |
This seems similar to bug #1542305, even though that one has different log/.crash results.