← Back to team overview

touch-packages team mailing list archive

[Bug 1436860] Re: unity8 is deadlocked

 

The server is blocked in QtMir (SessionAuthorizer) trying to authorize a
new connection. I've seen this bug reported before. It is a duplicate. I
just can't find the original bug report right now...

Thread 22 (Thread 0xae2ff450 (LWP 2300)):

#0 0xffffffff in __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46
#1 0xffffffff in __pthread_cond_wait (cond=0xae358b20, mutex=0xae358b08) at pthread_cond_wait.c:186
#2 0xffffffff in QWaitCondition::wait(QMutex*, unsigned long) (time=4294967295, this=0xae358b08) at thread/qwaitcondition_unix.cpp:128
#3 0xffffffff in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=mutex@entry=0xae35e160, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:200
#4 0xffffffff in QSemaphore::acquire(int) (this=this@entry=0xae2feaf4, n=n@entry=1) at thread/qsemaphore.cpp:137
#5 0xffffffff in QMetaObject::activate(QObject*, int, int, void**) (sender=0xb1a3a064, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0xae2feb38) at kernel/qobject.cpp:3685
#6 0xffffffff in SessionAuthorizer::requestAuthorizationForSession(unsigned long long const&, bool&) () at /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqpa-mirserver.so
#7 0xffffffff in SessionAuthorizer::connection_is_allowed(mir::frontend::SessionCredentials const&) () at /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqpa-mirserver.so
#8 0xffffffff in mir::frontend::ProtobufConnectionCreator::create_connection_for(std::shared_ptr<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::stream_socket_service<boost::asio::local::stream_protocol> > > const&, mir::frontend::ConnectionContext const&) (this=0xb1a47f8c, socket=std::shared_ptr (count 2, weak 0) 0xae36d1e4, connection_context=...) at /build/buildd/mir-0.12.0+15.04.20150228/src/server/frontend/protobuf_connection_creator.cpp:65

** Changed in: mir (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: unity8 (Ubuntu)
       Status: New => Confirmed

** Package changed: unity8 (Ubuntu) => qtmir (Ubuntu)

** Also affects: qtmir
   Importance: Undecided
       Status: New

** Changed in: qtmir
       Status: New => Confirmed

** Summary changed:

- unity8 is deadlocked 
+ unity8 is hung in SessionAuthorizer::requestAuthorizationForSession()

** Also affects: mir
   Importance: Undecided
       Status: New

** Changed in: mir
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1436860

Title:
  unity8 is hung in SessionAuthorizer::requestAuthorizationForSession()

Status in Mir:
  Invalid
Status in Qt integration with the Mir display server:
  Confirmed
Status in mir package in Ubuntu:
  Invalid
Status in qtmir package in Ubuntu:
  Confirmed

Bug description:
  I was running
      phablet-test-run ubuntuuitoolkit
  with the qt dbus patches that fix https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1421009

  at some point the tests failed, i was left on screen with an
  application that is no longer running, and unity8 seems to be
  deadlocked

  Using mir 0.12.0+15.04.20150228-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1436860/+subscriptions


References