[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-15 Thread Launchpad Bug Tracker
This bug was fixed in the package procps - 1:3.2.8-11ubuntu6.1 --- procps (1:3.2.8-11ubuntu6.1) precise; urgency=low * Backport of a45dace4 and 95d01362 in order to enable dynamically allocated buffers in file2str. This fixes a number of seg fault problems including the

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-15 Thread Launchpad Bug Tracker
This bug was fixed in the package procps - 1:3.3.3-2ubuntu5.1 --- procps (1:3.3.3-2ubuntu5.1) raring; urgency=low * Backport of a45dace4 and 95d01362 in order to enable dynamically allocated buffers in file2str. This fixes a number of seg fault problems including the one

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-15 Thread Launchpad Bug Tracker
This bug was fixed in the package procps - 1:3.3.3-2ubuntu3.1 --- procps (1:3.3.3-2ubuntu3.1) quantal; urgency=low * Backport of a45dace4 and 95d01362 in order to enable dynamically allocated buffers in file2str. This fixes a number of seg fault problems including the one

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-08 Thread Dave Chiluk
** Tags added: verification-quantal-done ** Tags removed: verification-quantal-done verification-saucy-done ** Tags added: verification-done-quantal verification-done-saucy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-08 Thread Dave Chiluk
** Tags added: verification-done-raring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number of groups To manage

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-08 Thread Dave Chiluk
Verified p,q,r. All is looking good. ** Tags removed: verification-needed ** Tags added: verification-done verification-done-precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title:

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-08 Thread Dave Chiluk
** Changed in: procps (Ubuntu Quantal) Status: Fix Committed = Fix Released ** Changed in: procps (Ubuntu Precise) Status: Fix Committed = Fix Released ** Changed in: procps (Ubuntu Raring) Status: Fix Committed = Fix Released -- You received this bug notification because

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-08 Thread Brian Murray
The packages have not moved from the -proposed repository to the -updates one so the correct status is still Fix Committed as the packages are not available to everyone. ** Changed in: procps (Ubuntu Raring) Status: Fix Released = Fix Committed ** Changed in: procps (Ubuntu Quantal)

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-03 Thread Brian Murray
Hello Andrew, or anyone else affected, Accepted procps into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/procps/1:3.3.3-2ubuntu5.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-03 Thread Brian Murray
Hello Andrew, or anyone else affected, Accepted procps into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/procps/1:3.3.3-2ubuntu3.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-03 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/procps -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number of groups To

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-03 Thread Brian Murray
Hello Andrew, or anyone else affected, Accepted procps into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/procps/1:3.2.8-11ubuntu6.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-03 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/quantal-proposed/procps -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number of groups To

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-10-03 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-proposed/procps -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number of groups To

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-30 Thread Dave Chiluk
** Changed in: procps (Ubuntu Precise) Assignee: (unassigned) = Dave Chiluk (chiluk) ** Changed in: procps (Ubuntu Quantal) Assignee: (unassigned) = Dave Chiluk (chiluk) ** Changed in: procps (Ubuntu Raring) Assignee: (unassigned) = Dave Chiluk (chiluk) -- You received this bug

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-27 Thread Dave Chiluk
Verified saucy. ** Tags added: verification-saucy-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number of groups

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-27 Thread Brian Murray
I've uploaded this to all the relevant queues. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number of groups To manage

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-26 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/saucy-proposed/procps -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number of groups To

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-26 Thread Launchpad Bug Tracker
This bug was fixed in the package procps - 1:3.3.3-2ubuntu7 --- procps (1:3.3.3-2ubuntu7) saucy; urgency=low * Backport of a45dace4 and 95d01362 in order to enable dynamically allocated buffers in file2str. This fixes a number of seg fault problems including the one

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-26 Thread Brian Murray
I'll upload this to the SRU queue later today or tomorrow. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number of groups

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-25 Thread Dave Chiluk
** Patch removed: lp1150413_saucy.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3839131/+files/lp1150413_saucy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-25 Thread Dave Chiluk
** Patch added: lp1150413_quantal.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3841230/+files/lp1150413_quantal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-25 Thread Dave Chiluk
** Patch added: lp1150413_raring.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3841231/+files/lp1150413_raring.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-25 Thread Dave Chiluk
I updated the debdiffs and resultant quilt patches to include dep3 information. ** Patch removed: lp1150413_raring.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3839130/+files/lp1150413_raring.debdiff ** Patch removed: lp1150413_quantal.debdiff

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-25 Thread Dave Chiluk
** Patch added: lp1150413_saucy.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3841232/+files/lp1150413_saucy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
So it looks like procps finally released a fix for this upstream. It is primarily contained in a45dace4 and 95d01362. I have created a ppa for this here. Can someone please test this ppa, and report back here as to whether it fixes the seg faulting issues related to large numbers of groups.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Javier Sánchez
I'e just installed the ppa and test it issuing ps -ef which previously produced the Segfault. The PPA works. No more segfaults, at least using ps -ef. Thanks a lot. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
** Patch removed: procps_precise.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3838616/+files/lp1150413_precise.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
Thanks Javier for testing. I have since uploaded packages for quantal, raring, and saucy which should get built shortly. I'll go ahead and fill out the SRU now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
** Patch added: lp1150413_precise.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3839128/+files/lp1150413_precise.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
** Patch added: lp1150413_saucy.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3839131/+files/lp1150413_saucy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
** Patch added: lp1150413_raring.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3839130/+files/lp1150413_raring.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
** Patch added: lp1150413_quantal.debdiff https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1150413/+attachment/3839129/+files/lp1150413_quantal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
** Description changed: - Both ps and pgrep exit with an error like xrealloc: realloc(1073741824) - failedCannot allocate memory if there is a process owned by a user with - a large number of groups. + [Impact] + + * Users that are members of large numbers of groups are unable to run + procps

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Brian Murray
** Also affects: procps (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: procps (Ubuntu Quantal) Importance: Undecided Status: New ** Also affects: procps (Ubuntu Raring) Importance: Undecided Status: New ** Changed in: procps (Ubuntu Precise)

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-09-24 Thread Dave Chiluk
** Changed in: procps (Ubuntu Precise) Status: Triaged = Confirmed ** Changed in: procps (Ubuntu Raring) Status: Triaged = Confirmed ** Changed in: procps (Ubuntu Quantal) Status: Triaged = Confirmed -- You received this bug notification because you are a member of Ubuntu

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-08-16 Thread Bryan Quigley
I have a confirmation from a customer that the megiteam PPA fixes their issue and that the procps package from 12.10 does not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-07-15 Thread Bryan Quigley
@Grzegorz Nosek (5-root-localdomain-pl) How have you pinged upstream? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with large number

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-07-15 Thread Grzegorz Nosek
Via mail at pro...@freelists.org (got this one from the manpage of prcops-ng, as the original procps mailing list at procps- feedb...@lists.sf.net is a spam-infested wasteland). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-07-12 Thread Grzegorz Nosek
Okay, here's a PPA with the patched procps package: https://launchpad.net/~megiteam/+archive/p2 Works for me™, please give it a try. I tested it with up to 480 groups (/proc/#/status had a bit over 3KB). -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-07-12 Thread Grzegorz Nosek
BTW, I noticed that even with the patch ps doesn't show all supplementary groups. For example, root@mtdedicated:~# su - user1 -c 'grep Groups: /proc/self/status | wc' No directory, logging in with HOME=/ 1 4822414 root@mtdedicated:~# su - user1 -c 'ps -e -o tid,supgid --sort supgid

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-07-09 Thread Dave Chiluk
The fix referenced by comment #7 is https://www.gitorious.org/procps/procps/commit/7933435584aa1fd75460f4c7715a3d4855d97c1c Which is essentially the same fix as is attached in comment #3. As for comment #8, I'd have to look at the problem more closely. Grzegorz, perhaps you could put together a

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-07-08 Thread Claus Frein
Fixed upstream: http://ftp- master.metadata.debian.org/changelogs//main/p/procps/procps_3.3.3-3_changelog -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-07-08 Thread Grzegorz Nosek
Here's a patch that loads /proc/*/status files into a dynamically sized buffer. BTW, is there any ETA of precise update? It's a real issue. ** Patch added: Dynamically allocate space for /proc/*/status contents

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-06-13 Thread Dave Chiluk
@doko What's going on with this? We have at least 18 people waiting on this and a few in other bugs. The fix looks pretty safe. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title:

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-06-04 Thread Dave Chiluk
@doko I came to the similar conclusion of increasing the buffer sizes when looking at bug #117. That issue however resulted in a segfault, but is solved by the same solution. Matthias I know it's not ideal, but we are following what upstream is doing. Can we get your patch sru'ed into

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-04-03 Thread Steve Langasek
** Changed in: procps (Ubuntu) Assignee: (unassigned) = Matthias Klose (doko) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1150413 Title: Cannot allocate memory if process owned by user with

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-03-28 Thread Brian Murray
** Changed in: procps (Ubuntu) Importance: Undecided = High ** Changed in: procps (Ubuntu) Status: Confirmed = Triaged ** Tags added: precise ** Tags added: raring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-03-11 Thread Andrew Lowther
I created a very simple patch that allocates a larger buffer for the contents of /proc/pid/status, and avoids the infinite loop scenario. The buffer could still conceivably fill up, but ps at least won't crash. A better solution would be to dynamically allocate memory when reading /proc/pid/* ,

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-03-11 Thread Ubuntu Foundations Team Bug Bot
The attachment gid_buffer_problem.patch of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-03-06 Thread Andrew Lowther
I'm not sure the best way to fix this, but I have located the problem. I've found this bug to be caused by a Debian patch ps_supgid_display.patch which was initially from the bug report at http://bugs.debian.org/506303 When any /proc/pid/status has more than 1024 characters before the end of the

[Bug 1150413] Re: Cannot allocate memory if process owned by user with large number of groups

2013-03-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: procps (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/1150413 Title: