← Back to team overview

touch-packages team mailing list archive

[Bug 1379438] Re: unity8 sometimes hangs on shutdown

 

And ofc now I'm struggling to reproduce it

** Summary changed:

- unity8 often hangs on shutdown - but if you touch the screen it stops correctly
+ unity8 sometimes hangs on shutdown

** Description changed:

  Steps to repro
  1. freshly boot the device
  2. ssh in
  3. "stop unity8"
  
- It will often hang there for some time.
+ It will sometimes hang there for some time.
+ 
+ Running unity8's AutoPilot tests tends to exhibit this problem more
+ clearly
  
  
  From the backtrace (http://pastebin.ubuntu.com/8527967/), this is the thread I most suspect:
  
  Thread 3 (Thread 0xa2ab6450 (LWP 3462)):
  #0  0xb5ff2554 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
  #1  0xb5fee192 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  #2  0xb636705c in wait (time=4294967295, this=0xa8ac1400) at thread/qwaitcondition_unix.cpp:136
  #3  QWaitCondition::wait (this=<optimized out>, mutex=0xa86c6c40, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:208
  #4  0xb635e818 in QFutureInterfaceBase::waitForResult (this=this@entry=0xa2ab5c4c, resultIndex=resultIndex@entry=0) at thread/qfutureinterface.cpp:313
  #5  0xa8eb0810 in result (this=0xa2ab5c4c) at /usr/include/arm-linux-gnueabihf/qt5/QtCore/qfuture.h:171
  #6  QLightDM::GreeterImpl::converseWithPam (num_msg=1, msg=<optimized out>, resp=0xa2ab5c88, appdata_ptr=0x106aeb8) at /build/buildd/unity8-8.00+14.10.20141009.4/tests/mocks/LightDM/demo/GreeterPrivate.cpp:165
  #7  0xa8e5b092 in pam_vprompt (pamh=0x10c1c30, style=1, response=0xa2ab5ce0, fmt=fmt@entry=0xa3a9798c "%s", args=...) at pam_vprompt.c:83
  #8  0xa8e5b184 in pam_prompt (pamh=<optimized out>, style=<optimized out>, response=<optimized out>, fmt=0xa3a9798c "%s") at pam_vprompt.c:111
  #9  0xa3a94304 in ?? () from /lib/arm-linux-gnueabihf/security/pam_extrausers.so
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  
- 
  QLightDM::GreeterImpl::converseWithPam is blocking shutdown

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

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

Title:
  unity8 sometimes hangs on shutdown

Status in “unity8” package in Ubuntu:
  Invalid

Bug description:
  Steps to repro
  1. freshly boot the device
  2. ssh in
  3. "stop unity8"

  It will sometimes hang there for some time.

  Running unity8's AutoPilot tests tends to exhibit this problem more
  clearly

  
  From the backtrace (http://pastebin.ubuntu.com/8527967/), this is the thread I most suspect:

  Thread 3 (Thread 0xa2ab6450 (LWP 3462)):
  #0  0xb5ff2554 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0
  #1  0xb5fee192 in pthread_cond_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
  #2  0xb636705c in wait (time=4294967295, this=0xa8ac1400) at thread/qwaitcondition_unix.cpp:136
  #3  QWaitCondition::wait (this=<optimized out>, mutex=0xa86c6c40, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:208
  #4  0xb635e818 in QFutureInterfaceBase::waitForResult (this=this@entry=0xa2ab5c4c, resultIndex=resultIndex@entry=0) at thread/qfutureinterface.cpp:313
  #5  0xa8eb0810 in result (this=0xa2ab5c4c) at /usr/include/arm-linux-gnueabihf/qt5/QtCore/qfuture.h:171
  #6  QLightDM::GreeterImpl::converseWithPam (num_msg=1, msg=<optimized out>, resp=0xa2ab5c88, appdata_ptr=0x106aeb8) at /build/buildd/unity8-8.00+14.10.20141009.4/tests/mocks/LightDM/demo/GreeterPrivate.cpp:165
  #7  0xa8e5b092 in pam_vprompt (pamh=0x10c1c30, style=1, response=0xa2ab5ce0, fmt=fmt@entry=0xa3a9798c "%s", args=...) at pam_vprompt.c:83
  #8  0xa8e5b184 in pam_prompt (pamh=<optimized out>, style=<optimized out>, response=<optimized out>, fmt=0xa3a9798c "%s") at pam_vprompt.c:111
  #9  0xa3a94304 in ?? () from /lib/arm-linux-gnueabihf/security/pam_extrausers.so
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)

  QLightDM::GreeterImpl::converseWithPam is blocking shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1379438/+subscriptions


References