Mir

CI test failure (segfault) in UnresponsiveClient.does_not_hang_server

Bug #1599416 reported by Alexandros Frantzis on 2016-07-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Undecided
Unassigned
mir (Ubuntu)
Undecided
Unassigned

Bug Description

[----------] 1 test from UnresponsiveClient
[ RUN ] UnresponsiveClient.does_not_hang_server
[2016-07-05 21:46:09.004682] mirserver: Starting
[2016-07-05 21:46:09.006605] mirserver: Selected driver: mir:stub-graphics (version 0.24.0)
[2016-07-05 21:46:09.010375] mirserver: Using software cursor
[2016-07-05 21:46:09.020844] mirserver: Initial display configuration:
[2016-07-05 21:46:09.021706] mirserver: 1.1: VGA 0.0" 0x0mm
[2016-07-05 21:46:09.021998] mirserver: Current mode 1600x1600 60.00Hz
[2016-07-05 21:46:09.022266] mirserver: Preferred mode 1600x1600 60.00Hz
[2016-07-05 21:46:09.022485] mirserver: Logical position +0+0
[2016-07-05 21:46:09.054260] mirserver: Selected input driver: mir:stub-input (version: 0.24.0)
[2016-07-05 21:46:09.054871] mirserver: Mir version 0.24.0
==20941== Thread 8:
==20941== Invalid read of size 8
==20941== at 0x6BD83E: operator() (test_unresponsive_client.cpp:100)
==20941== by 0x6BD83E: std::_Function_handler<void (std::shared_ptr<mir::scene::Session> const&), UnresponsiveClient_does_not_hang_server_Test::TestBody()::{lambda()#2}::operator()() const::{lambda()#1}::operator()() const::{lambda()#1}::operator()() const::{lambda(std::shared_ptr<mir::scene::Session> const&)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptr<mir::scene::Session> const&) (functional:1871)
==20941== by 0x6BB4A2: operator() (functional:2267)
==20941== by 0x6BB4A2: for_each (test_unresponsive_client.cpp:65)
==20941== by 0x6BB4A2: operator() (test_unresponsive_client.cpp:101)
==20941== by 0x6BB4A2: std::_Function_handler<void (), UnresponsiveClient_does_not_hang_server_Test::TestBody()::{lambda()#2}::operator()() const::{lambda()#1}::operator()() const::{lambda()#1}>::_M_invoke(std::_Any_data const&) [clone .lto_priv.4853] (functional:1871)
==20941== by 0x6E97AD: operator() (functional:2267)
==20941== by 0x6E97AD: mir::test::CrossProcessAction::exec(std::function<void ()> const&) (cross_process_action.cpp:26)
==20941== by 0x61FDB4: operator() (test_unresponsive_client.cpp:103)
==20941== by 0x61FDB4: _M_invoke (functional:1531)
==20941== by 0x61FDB4: operator() (functional:1520)
==20941== by 0x61FDB4: std::thread::_Impl<std::_Bind_simple<UnresponsiveClient_does_not_hang_server_Test::TestBody()::{lambda()#2}::operator()() const::{lambda()#1} ()> >::_M_run() (thread:115)
==20941== by 0x5836C6F: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==20941== by 0x5D1E6F9: start_thread (pthread_create.c:333)
==20941== by 0x603AB5C: clone (clone.S:109)
==20941== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==20941==
==20941==
==20941== Process terminating with default action of signal 11 (SIGSEGV)
==20941== at 0x5D282A9: raise (pt-raise.c:35)
==20941== by 0x4084FC3: fatal_signal_cleanup (run_mir.cpp:62)
==20941== by 0x5F6949F: ??? (in /lib/x86_64-linux-gnu/libc-2.23.so)
==20941== by 0x6BD83D: operator() (test_unresponsive_client.cpp:100)
==20941== by 0x6BD83D: std::_Function_handler<void (std::shared_ptr<mir::scene::Session> const&), UnresponsiveClient_does_not_hang_server_Test::TestBody()::{lambda()#2}::operator()() const::{lambda()#1}::operator()() const::{lambda()#1}::operator()() const::{lambda(std::shared_ptr<mir::scene::Session> const&)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptr<mir::scene::Session> const&) (functional:1871)
==20941== by 0x6BB4A2: operator() (functional:2267)
==20941== by 0x6BB4A2: for_each (test_unresponsive_client.cpp:65)
==20941== by 0x6BB4A2: operator() (test_unresponsive_client.cpp:101)
==20941== by 0x6BB4A2: std::_Function_handler<void (), UnresponsiveClient_does_not_hang_server_Test::TestBody()::{lambda()#2}::operator()() const::{lambda()#1}::operator()() const::{lambda()#1}>::_M_invoke(std::_Any_data const&) [clone .lto_priv.4853] (functional:1871)
==20941== by 0x6E97AD: operator() (functional:2267)
==20941== by 0x6E97AD: mir::test::CrossProcessAction::exec(std::function<void ()> const&) (cross_process_action.cpp:26)
==20941== by 0x61FDB4: operator() (test_unresponsive_client.cpp:103)
==20941== by 0x61FDB4: _M_invoke (functional:1531)
==20941== by 0x61FDB4: operator() (functional:1520)
==20941== by 0x61FDB4: std::thread::_Impl<std::_Bind_simple<UnresponsiveClient_does_not_hang_server_Test::TestBody()::{lambda()#2}::operator()() const::{lambda()#1} ()> >::_M_run() (thread:115)
==20941== by 0x5836C6F: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==20941== by 0x5D1E6F9: start_thread (pthread_create.c:333)
==20941== by 0x603AB5C: clone (clone.S:109)

This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers