← Back to team overview

touch-packages team mailing list archive

[Bug 1495871] Re: unity8 leaks file descriptors

 

For completeness, here are Jean-Baptiste's findings:

"I reproduce the issue by following the "fd leak" lead with the
following test case:

1. Open 2 apps
2. Switch from the app scope to app1
3. Switch from app1 to the app scope
4. Switch from the app scope to app2
5 lock the screen (optional but it leaks even more fd)

At the same time monitor the number of file descriptors used by unity8:
$ watch -n1 "ls /proc/$(pidof unity8)/fdinfo/| wc -l "

After a while unity8 runs out of fd and the system hangs. Eventually
unity8 will restart a moment later."

-- 
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/1495871

Title:
  unity8 leaks file descriptors

Status in unity8 package in Ubuntu:
  Confirmed

Bug description:
  unity8 leaks file descriptors in various cases, causing the process to
  eventually fail (hang and/or restart). These leaks were first
  discovered during investigations of https://bugs.launchpad.net
  /canonical-devices-system-image/+bug/1491566 , but it's not clear yet
  if they are indeed responsible for that particular bug. In any case,
  this is a critical problem, and should be addressed independently.

  The fds are leaked in various scenarios, including:

  * opening/closing apps
  * switching between apps
  * locking the screen

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


References