Mir

Exception when exiting client

Bug #1130259 reported by Bryce Harrington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Undecided
Alan Griffiths

Bug Description

Ran server in one ssh session (under gdb). Executed client (mir_demo_client_accelerated) in a second ssh session, let it run a bit, and then exited it with ^C.

The server session showed this error:

ERROR: Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >
std::exception::what: write: Broken pipe

This is with the current staging packages.

Related branches

Bryce Harrington (bryce)
summary: - Exception when ^C client
+ Exception when exiting client
information type: Proprietary → Public
Revision history for this message
Kevin DuBois (kdub) wrote :

The problem that is happening is the client is disconnected while IPC is happening (eg, the other end of the fd is dying)
This generates an exception ( which is caught and handled) I guess 'invalid' is the proper state for this bug?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Clients can and will disconnect uncleanly all the time, in reality. It is common. We should consider not logging it as an error.

Changed in mir:
status: New → Confirmed
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Agreed. An "error" should be something that prevents the server doing its job.

Changed in mir:
assignee: nobody → Alan Griffiths (alan-griffiths)
Changed in mir:
status: Confirmed → Fix Committed
Changed in mir:
milestone: none → 0.0.3
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.