bugmake - Bugs: bug #39851, Stack limit not restored for...


bug #39851: Stack limit not restored for processes spawned through $(shell)

Submitted by:  Petr Machata <pmachata>
Submitted on:  Thu 22 Aug 2013 02:54:01 PM UTC  
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  Paul D. Smith <psmith> Open/Closed:  Closed
Component Version:  4.0 Operating System:  POSIX-Based
Fixed Release:  4.0 Triage Status:  None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 15 Sep 2013 12:18:10 AM UTC, comment #4:

Fix applied. Thanks.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Thu 22 Aug 2013 04:09:48 PM UTC, comment #3:

OK, the test is racy. I see it was fixed in 3057357c from 10 Dec 2011.

Petr Machata <pmachata>
Thu 22 Aug 2013 03:50:15 PM UTC, comment #2:

Scratch that, that seems to be interaction between this and other downstream patches. The upstream test suite consistently passes.

Petr Machata <pmachata>
Thu 22 Aug 2013 03:08:32 PM UTC, comment #1:

Hmm, this breaks targets/SECONDARY.

Petr Machata <pmachata>
Thu 22 Aug 2013 02:54:01 PM UTC, original submission:

This is complementary to a fix e8ca9b8e from 16 Feb 2005. That restores stack limit for processes launched for targets, but omits to also restore it for processes launched through $(shell) expansion. The attached patch straightforwardly expands the fix to that situation as well.

Petr Machata <pmachata>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by pmachata (Submitted the item)
  • -email is unavailable- added by pmachata

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-15 psmith StatusNone => Fixed
        Assigned toNone => psmith
        Open/ClosedOpen => Closed
        Operating SystemNone => POSIX-Based
        Fixed ReleaseNone => 4.0
    2013-08-22 pmachata Attached File- => Added 0001-Get-rid-of-stack-size-limit-for-processes-spawned-vi.patch, #28908
        Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3