[regression] libmirclient crashes when calling mir_surface_set_event_handler() twice [InputTransport.cpp:110: android::InputChannel::InputChannel(const String8&, int): Assertion `false && "\"result != 0\""' failed.]
Bug #1438160 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Chris Halse Rogers | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Calling mir_surface_
3rd_party/
Related branches
lp:~mir-team/mir/fix-1438160
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Approve
- Kevin DuBois (community): Approve
- Daniel van Vugt: Approve
-
Diff: 60 lines (+41/-1)2 files modifiedsrc/client/input/android/android_input_receiver.cpp (+1/-1)
tests/acceptance-tests/test_client_library.cpp (+40/-0)
Changed in mir: | |
status: | Triaged → In Progress |
assignee: | nobody → Chris Halse Rogers (raof) |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks like it might be a regression from the Dispatcher stuff...
auto input_dispatcher = input_platform- >create_ input_receiver( surface. fd(0),
keymapper,
handle_ event_callback) ; <----- Crash
input_ thread = std::make_ shared< md::SimpleDispa tchThread> (input_ dispatcher) ;