Public bug reported:

At least in this one case.

Josh Arenson and I were debugging a problem with a greeter / lightdm /
unity-system-compositor.  It turned out to be because lightdm was
passing unity-system-compositor "--from-dm-fd=0" which resulted in an
asio exception when it tried to use fd 0.

But the exception looked like:

"""
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: assign: Operation not permitted
"""

It took us a surprising amount of effort to track down where this was
actually failing (which was the usc::AsioDMConnection::AsioDMConnection
constructor in src/asio_dm_connection.cpp).

I don't have a suggested fix, just a request to make similar failure-
hunts easier.  Or at the least, this specific error case more obvious.

** Affects: unity-system-compositor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590447

Title:
  Error reporting could be better

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-system-compositor/+bug/1590447/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to