bugmake - Bugs: bug #67046, .EXTRA_PREREQS causes a segfault.

 
 

bug #67046: .EXTRA_PREREQS causes a segfault.

Submitter:  Dmitry Goncharov <dgoncharov>
Submitted:  Wed 23 Apr 2025 02:36:53 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  SCM Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 24 Apr 2025 12:24:06 PM UTC, comment #2: 

Thanks Dmitry I will check out this patch.

Paul D. Smith <psmith>
Group administrator
Wed 23 Apr 2025 02:44:26 AM UTC, comment #1: 

A user reported a crash caused by .EXTRA_PREREQS carrying a large number of prerequisites.
The original bug report is here
https://lists.gnu.org/archive/html/bug-make/2025-04/msg00009.html.


$ ls
makefile
$ cat makefile
list := $(shell for n in $$(seq 1 1000); do echo file_$$n; done)
all: .EXTRA_PREREQS := $(list)
all:; echo "fin"
$ make
Segmentation fault (core dumped)


Dmitry Goncharov <dgoncharov>
Wed 23 Apr 2025 02:36:53 AM UTC, original submission:  

.

Dmitry Goncharov <dgoncharov>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #57162:  sv67046.diff added by dgoncharov (3KiB - text/x-patch)

 

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 dgoncharov (Submitted the item)
  •  

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-04-23 dgoncharov Attached File- Added sv67046.diff, #57162

    Back to the top

    Powered by Savane 3.15-26b0.
    Corresponding source code