bugmake - Bugs: bug #22379, Segmentation fault with wildcard...


bug #22379: Segmentation fault with wildcard archive rule

Submitter:  None
Submitted:  Thu 21 Feb 2008 06:42:48 PM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.81 Operating System:  POSIX-Based
Fixed Release:  3.82 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 28 Mar 2008 03:48:32 AM UTC, comment #3: 

I'm closing this as the bug is fixed in my testing.

Paul D. Smith <psmith>
Group administrator
Thu 13 Mar 2008 01:31:26 AM UTC, comment #2: 

No, that Debian bug is different (and that whole section of code is different in the next release of GNU make, so it's no longer needed).

Please try the attached patch and see if it works.

(file #15253)

Paul D. Smith <psmith>
Group administrator
Wed 12 Mar 2008 12:34:51 AM UTC, comment #1: 

Does the patch included at the following location fix this?



Steve Kemp <skx>
Thu 21 Feb 2008 06:42:48 PM UTC, original submission:  

Here is a small make file that exhibit some sort of a memory corruption leading to the crash

I use plain vanilla debian etch with libc6 2.3.6.

Just run the attached make file twice to trigger the bug
.PHONY: all

all: bug.crash

%.bug(*.txt) :
       @echo whatever > x1.txt
       @echo whatever > x2.txt
       ar Srv bug.bug x1.txt x2.txt
       rm -rf x1.txt x2.txt

%.crash : %.bug(*.txt)
       @echo CRASH condition ready, just re-run



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

Attach Files:

Attached Files
file #15253:  p.diff added by psmith (536B - text/x-patch - patch for core dumps in archive wildcard matching)


Depends on the following items: None found

Items that depend on this one: None found


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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-28 psmith Fixed Release4.0 3.82
    2008-03-28 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0
    2008-03-13 psmith Attached File- Added p.diff, #15253

    Back to the top

    Powered by Savane 3.12