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 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.0Operating System: POSIX-Based
Fixed Release: 4.0Triage 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 File(s):


Depends on the following items: None found

Items that depend on this one: None found


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

    Do you think this task is very important?
    If so, you can click here to 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
    Sun 15 Sep 2013 12:18:10 AM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Operating SystemNone=>POSIX-Based
      Fixed ReleaseNone=>4.0
    Thu 22 Aug 2013 02:54:01 PM UTCpmachataAttached File-=>Added 0001-Get-rid-of-stack-size-limit-for-processes-spawned-vi.patch, #28908
      Carbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1