[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-25 Thread Jean-Baptiste Lallement
Here are all the logs you requested. The first dbus-send command hangs and the 
second works.
Perhaps it is a coincidence but the problem seems to be triggered when the 
systems running out of memory, killed webapp-container and tries to restore 
gmail webapp (or maybe any other webapp)

In syslog webapp-container is killed at 
Nov 25 08:24:23 ubuntu-phablet kernel: [16138.987397]Killing 'webapp-containe' 
(23587), adj 900,

It almost match with the time of the apport crash (symptom of this bug)
$ grep ^Date /var/crash/_usr_share_apport_recoverable_problem.32011.crash 
Date: Tue Nov 25 08:24:50 2014
 

** Attachment added: 20141125_1394919_logs.tgz
   
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1394919/+attachment/4267492/+files/20141125_1394919_logs.tgz

** Summary changed:

- constant crash in trying to collect info for recoverable error of cgmanager
+ cgproxy hangs

** Changed in: cgmanager (Ubuntu)
   Importance: Undecided = Critical

** Changed in: apport (Ubuntu)
   Status: Confirmed = Invalid

** Changed in: apport (Ubuntu RTM)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cgmanager in Ubuntu.
https://bugs.launchpad.net/bugs/1394919

Title:
  cgproxy hangs

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-25 Thread Jean-Baptiste Lallement
Here are all the logs you requested. The first dbus-send command hangs and the 
second works.
Perhaps it is a coincidence but the problem seems to be triggered when the 
systems running out of memory, killed webapp-container and tries to restore 
gmail webapp (or maybe any other webapp)

In syslog webapp-container is killed at 
Nov 25 08:24:23 ubuntu-phablet kernel: [16138.987397]Killing 'webapp-containe' 
(23587), adj 900,

It almost match with the time of the apport crash (symptom of this bug)
$ grep ^Date /var/crash/_usr_share_apport_recoverable_problem.32011.crash 
Date: Tue Nov 25 08:24:50 2014
 

** Attachment added: 20141125_1394919_logs.tgz
   
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1394919/+attachment/4267492/+files/20141125_1394919_logs.tgz

** Summary changed:

- constant crash in trying to collect info for recoverable error of cgmanager
+ cgproxy hangs

** Changed in: cgmanager (Ubuntu)
   Importance: Undecided = Critical

** Changed in: apport (Ubuntu)
   Status: Confirmed = Invalid

** Changed in: apport (Ubuntu RTM)
   Status: New = Invalid

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

Title:
  cgproxy hangs

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

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


Re: [Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-25 Thread Ted Gould
*** This bug is a duplicate of bug 1377332 ***
https://bugs.launchpad.net/bugs/1377332

On Tue, 2014-11-25 at 07:53 +, Jean-Baptiste Lallement wrote:

 In syslog webapp-container is killed at 
 Nov 25 08:24:23 ubuntu-phablet kernel: [16138.987397]Killing 
 'webapp-containe' (23587), adj 900,


That probably explains the multiple requests in the log. The utility
that runs when a process is killed is cgroup-reap-all, which ensures
that all the PIDs from the cgroup are killed. It does this by killing
them, but also ensuring that the list becomes empty. It can do multiple
requests to ensure that the application isn't avoiding being killed by
trying to out spawn the cleanup utility.

http://bazaar.launchpad.net/~indicator-applet-developers/ubuntu-app-
launch/trunk.rtm-14.09/view/head:/cgroup-reap-all.c

It could be triggering a race in cgproxy where a PID is leaving the
group, or the group is being destroyed at the same time as the reaper is
asking for the PIDs in it.

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

Title:
  cgproxy hangs

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

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


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: cgmanager (Ubuntu)
   Status: New = Confirmed

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: apport (Ubuntu)
   Status: New = Confirmed

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Alan Pope
Me tooing because I saw this quite a bit over the weekend, making the
phone mostly unusable.

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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


Re: [Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Ted Gould
We landed in Vivid on Friday the fix for the flickering windows and not
reporting the recoverable error. While neither directly relates, this
could possibly be after effects of those. Has anyone seen this issue on
Vivid since Friday nightish?

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Oliver Grawert
i am pretty sure this is simply the same as bug 1377332 
the core issue with cgmanager from this bug was never fixed (it is in critical, 
incomplete and unassigned state) only workarounds have been put in place to 
hide the symptoms in ubuntu-app-launch. the actual crash/breakage was never 
fixed.

according to commant #38 in the above bug i enabled the debug mode for
cgmanager now. i belive everyone who could repro this bug should try to
do the same to collect as much info as we can.

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Jean-Baptiste Lallement
cgmanager.log with debug mode enabled.

** Attachment added: cgmanager.log
   
https://bugs.launchpad.net/ubuntu-rtm/+source/cgmanager/+bug/1394919/+attachment/4266809/+files/cgmanager.log

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Jean-Baptiste Lallement
cgproxy.log with debug mode enabled.

** Attachment added: cgproxy.log
   
https://bugs.launchpad.net/ubuntu-rtm/+source/cgmanager/+bug/1394919/+attachment/4266810/+files/cgproxy.log

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Jean-Baptiste Lallement
I tried with cgmanager 0.32-4ubuntu1 and the problem remains.

The following command hangs:
dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock 
--type=method_call /org/linuxcontainers/cgmanager 
org.linuxcontainers.cgmanager0_0.Ping int32:1

The following command:
dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager.lower/sock 
--type=method_call /org/linuxcontainers/cgmanager 
org.linuxcontainers.cgmanager0_0.Ping int32:1
returns:
method return sender=(null sender) - dest=(null destination) reply_serial=1

The system can be recovered by killing cgproxy

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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


[Bug 1394919] Re: constant crash in trying to collect info for recoverable error of cgmanager

2014-11-24 Thread Stéphane Graber
On the next hang, please report the following:
 - dbus-send to both bus addresses (confirming the hang)
 - ls -lh /proc/$(pidof cgmanager)/fd/
 - ls -lh /proc/$(pidof cgproxy)/fd/
 - gdb -p $(pidof cgmanager) -ex bt
 - gdb -p $(pidof cgproxy) -ex bt
 - dmesg
 - free
 - /var/log/upstart/cgmanager.log
 - /var/log/upstart/cgproxy.log
 - ps aux | grep cgmanager
 - ps aux | grep cgproxy

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

Title:
  constant crash in trying to collect info for recoverable error of
  cgmanager

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

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