Stressed Mir server terminates on input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
New
|
Undecided
|
Unassigned |
Bug Description
Running a Mir server with the mir_stress client causes a crash when input events occur:
$ sudo gdb --args bin/mir_demo_server --vt 1 --test-client bin/mir_stress
(move the cursor)
Program received signal SIGTERM, Terminated.
[Switching to Thread 0x7fffe67fc700 (LWP 10321)]
0x00007ffff6e4bb5b in raise (sig=15) at ../nptl/
37 ../nptl/
(gdb) bt
#0 0x00007ffff6e4bb5b in raise (sig=15) at ../nptl/
#1 0x00007ffff77892f8 in mir::terminate_
at /home/alan/
#2 0x00007ffff799927c in mir_input:
__closure=
#3 0x00007ffff79ac2e6 in std::_Bind_
#4 0x00007ffff79ac1c0 in std::_Bind_
#5 0x00007ffff79ac0ca in std::thread:
#6 0x00007ffff6be7dd0 in ?? () from /usr/lib/
#7 0x00007ffff6e440a5 in start_thread (arg=0x7fffe67f
#8 0x00007ffff664b77d in clone () at ../sysdeps/
(gdb) c example_ test_client. cpp: Terminating client display_ server/ mir/src/ server/ input/android/ android_ input_registrar .cpp(104) : Throw in function virtual android: :sp<android: :InputWindowHan dle> mir::input: :android: :InputRegistrar ::handle_ for_channel( const std::shared_ ptr<const mir::input: :InputChannel> &) ion_detail10clo ne_implINS0_ 19error_ info_injectorIS t11logic_ errorEEEE :what: Requesting handle for an unregistered channel
Continuing.
[1420544340.174200] (II) server_
[1420544340.174324] (II) Server: Stopping
[Thread 0x7fffe67fc700 (LWP 10321) exited]
[Thread 0x7fffe6ffd700 (LWP 10320) exited]
[Thread 0x7fffdffff700 (LWP 10318) exited]
[Thread 0x7fffe7fff700 (LWP 10317) exited]
[Thread 0x7fffeca1a700 (LWP 10315) exited]
[Thread 0x7fffe77fe700 (LWP 10319) exited]
ERROR: /home/alan/
Dynamic exception type: N5boost16except
std::exception: