Mir server dies with "Broken pipe" exception
Bug #1226139 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Critical
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Critical
|
Alan Griffiths |
Bug Description
Mir server dies with "Broken pipe" exception:
terminate called after throwing an instance of 'boost:
what(): write: Broken pipe
TESTCASE:
1. Start mir_demo_
2. Start mir_demo_
3. Start mir_demo_
4. Alt+Tab a couple of times
5. Press "Q"
6. Alt+Tab again
Expected: eglplasma client exits
Observed: Mir server crashes with the above exception.
Related branches
lp://staging/~robertcarr/mir/fix-focus-races
Superseded
for merging
into
lp://staging/~mir-team/mir/trunk
- Daniel van Vugt: Needs Fixing
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Alan Griffiths: Abstain
- Alexandros Frantzis (community): Needs Information
-
Diff: 288 lines (+44/-14)5 files modifiedinclude/server/mir/shell/application_session.h (+1/-1)
include/server/mir/shell/surface.h (+3/-0)
src/server/shell/application_session.cpp (+0/-10)
src/server/shell/surface.cpp (+40/-1)
tests/unit-tests/shell/test_application_session.cpp (+0/-2)
lp://staging/~vanvugt/mir/fix-1226139
Rejected
for merging
into
lp://staging/mir
- Alan Griffiths: Needs Fixing
- PS Jenkins bot (community): Approve (continuous-integration)
- Robert Ancell: Approve
- Robert Carr: Pending requested
-
Diff: 72 lines (+44/-2)3 files modifiedsrc/server/frontend/socket_messenger.cpp (+9/-2)
tests/unit-tests/frontend/CMakeLists.txt (+1/-0)
tests/unit-tests/frontend/test_socket_messenger.cpp (+34/-0)
Superseded
for merging
into
lp://staging/~mir-team/mir/trunk
- Alan Griffiths: Needs Resubmitting
- Robert Carr (community): Needs Fixing
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Robert Ancell: Approve
-
Diff: 70 lines (+43/-1)3 files modifiedsrc/server/frontend/socket_messenger.cpp (+8/-1)
tests/unit-tests/frontend/CMakeLists.txt (+1/-0)
tests/unit-tests/frontend/test_socket_messenger.cpp (+34/-0)
lp://staging/~alan-griffiths/mir/socket-connection
- PS Jenkins bot (community): Approve (continuous-integration)
- Kevin DuBois (community): Approve
- Alexandros Frantzis (community): Approve
-
Diff: 1779 lines (+594/-283)32 files modifiedexamples/basic_server.cpp (+39/-4)
examples/render_surfaces.cpp (+5/-4)
include/server/mir/default_server_configuration.h (+10/-3)
include/server/mir/frontend/connector.h (+14/-14)
include/server/mir/frontend/connector_report.h (+9/-9)
include/server/mir/frontend/session_creator.h (+44/-0)
include/server/mir/server_configuration.h (+2/-2)
include/test/mir_test/test_protobuf_server.h (+4/-4)
src/server/default_server_configuration.cpp (+2/-0)
src/server/display_server.cpp (+9/-9)
src/server/frontend/CMakeLists.txt (+6/-7)
src/server/frontend/default_configuration.cpp (+49/-21)
src/server/frontend/protobuf_session_creator.cpp (+73/-0)
src/server/frontend/protobuf_session_creator.h (+60/-0)
src/server/frontend/published_socket_connector.cpp (+79/-76)
src/server/frontend/published_socket_connector.h (+37/-38)
src/server/frontend/socket_messenger.cpp (+2/-1)
tests/acceptance-tests/test_client_library.cpp (+1/-1)
tests/acceptance-tests/test_server_shutdown.cpp (+3/-3)
tests/acceptance-tests/test_test_framework.cpp (+1/-1)
tests/integration-tests/client/test_client_render.cpp (+1/-1)
tests/integration-tests/shell/test_session.cpp (+5/-4)
tests/integration-tests/test_display_server_main_loop_events.cpp (+33/-32)
tests/integration-tests/test_error_reporting.cpp (+1/-1)
tests/mir_test_doubles/test_protobuf_socket_server.cpp (+10/-10)
tests/unit-tests/client/test_client_mir_surface.cpp (+1/-1)
tests/unit-tests/frontend/CMakeLists.txt (+1/-1)
tests/unit-tests/frontend/stress_protobuf_communicator.cpp (+1/-1)
tests/unit-tests/frontend/test_protobuf_reports_errors.cpp (+1/-1)
tests/unit-tests/frontend/test_protobuf_sends_fds.cpp (+1/-1)
tests/unit-tests/frontend/test_protobuf_surface_apis.cpp (+1/-1)
tests/unit-tests/frontend/test_published_socket_connector.cpp (+89/-32)
Superseded
for merging
into
lp://staging/~mir-team/mir/trunk
- Mir development team: Pending requested
-
Diff: 1758 lines (+587/-280)31 files modifiedexamples/basic_server.cpp (+34/-2)
examples/render_surfaces.cpp (+5/-4)
include/server/mir/default_server_configuration.h (+10/-3)
include/server/mir/frontend/connector.h (+14/-14)
include/server/mir/frontend/connector_report.h (+9/-9)
include/server/mir/frontend/session_creator.h (+44/-0)
include/server/mir/server_configuration.h (+2/-2)
include/test/mir_test/test_protobuf_server.h (+4/-4)
src/server/default_server_configuration.cpp (+2/-0)
src/server/display_server.cpp (+9/-9)
src/server/frontend/CMakeLists.txt (+6/-7)
src/server/frontend/default_configuration.cpp (+50/-21)
src/server/frontend/protobuf_session_creator.cpp (+73/-0)
src/server/frontend/protobuf_session_creator.h (+60/-0)
src/server/frontend/published_socket_connector.cpp (+79/-76)
src/server/frontend/published_socket_connector.h (+37/-38)
tests/acceptance-tests/test_client_library.cpp (+1/-1)
tests/acceptance-tests/test_server_shutdown.cpp (+3/-3)
tests/acceptance-tests/test_test_framework.cpp (+1/-1)
tests/integration-tests/client/test_client_render.cpp (+1/-1)
tests/integration-tests/shell/test_session.cpp (+5/-4)
tests/integration-tests/test_display_server_main_loop_events.cpp (+33/-32)
tests/integration-tests/test_error_reporting.cpp (+1/-1)
tests/mir_test_doubles/test_protobuf_socket_server.cpp (+10/-10)
tests/unit-tests/client/test_client_mir_surface.cpp (+1/-1)
tests/unit-tests/frontend/CMakeLists.txt (+1/-1)
tests/unit-tests/frontend/stress_protobuf_communicator.cpp (+1/-1)
tests/unit-tests/frontend/test_protobuf_reports_errors.cpp (+1/-1)
tests/unit-tests/frontend/test_protobuf_sends_fds.cpp (+1/-1)
tests/unit-tests/frontend/test_protobuf_surface_apis.cpp (+1/-1)
tests/unit-tests/frontend/test_published_socket_connector.cpp (+88/-32)
Changed in mir: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | New → In Progress |
Changed in mir (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in mir: | |
milestone: | none → phone-v1-freeze |
Changed in mir (Ubuntu): | |
milestone: | none → ubuntu-13.10 |
milestone: | ubuntu-13.10 → none |
milestone: | none → ubuntu-13.10 |
tags: | added: phone-v1-freeze |
Changed in mir: | |
assignee: | Daniel van Vugt (vanvugt) → Alan Griffiths (alan-griffiths) |
Changed in mir (Ubuntu): | |
assignee: | Daniel van Vugt (vanvugt) → Alan Griffiths (alan-griffiths) |
Changed in mir: | |
status: | In Progress → Fix Committed |
Changed in mir (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I suspect the trigger here is one of the clients crashing. So it looks like a client crash is triggering the server crash.