Comment 11 for bug 1233988

Revision history for this message
Alan Griffiths (alan-griffiths) wrote : Re: With Mir enabled: maliit-server crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler(), thrown from mir::client::DisplayConfiguration::copy_to_client()

> terminate called after throwing an instance of 'std::system_error'
> what(): Operation not permitted
...
> #7 0x40606f8a in std::__throw_system_error (__i=1) at ../../../../../src/libstdc++-v3/src/c++11/functexcept.cc:104
> #8 0x420245fc in mir::client::DisplayConfiguration::copy_to_client() const () from /usr/lib/arm-linux-gnueabihf/libmirclient.so.3

Looking at the code in DisplayConfiguration::copy_to_client() the only reason I can see for it to be raising a system_error is for the host application to be linked without pthreads.

A small test program confirms that I can get this system_error("Operation not permitted") by attempting to use locks without enapling pthreads.

I'll try to reproduce the problem as described (but need to get my phone image updated).