bugmake - Bugs: bug #16108, Seg fault when special variable...

 
 

bug #16108: Seg fault when special variable syntax contains parentheses

Submitted by:  Luke McCarthy <shaurz>
Submitted on:  Thu 16 Mar 2006 12:11:23 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.80Operating System: Any
Fixed Release: 3.81Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 16 Mar 2006 03:44:16 PM UTC, comment #1:

Your problem is you don't want to put backslashes before the parentheses. However, obviously any core dump is a bug.

This has already been fixed in the code. I can't find the exact change right now, but you can try the current release candidate for GNU make 3.81:

ftp://alpha.gnu.org/gnu/make/make-3.81rc1.tar.gz

This won't dump core, instead it will say:

make: *** No rule to make target `.tif=untitled_%.jpg)', needed by `all'. Stop.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Thu 16 Mar 2006 12:11:23 PM UTC, original submission:

The attached Makefile causes a segmentation fault in make 3.80. The problem seems to be when the variable JPEGS is referenced. gdb reports the problem is a call to memmove(). If the parentheses are removed there is no problem.

Compiled with GCC 4.0.3, Arch Linux. Reproduced with distro's version and my own compile from source.

Luke McCarthy <shaurz>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #1502:  Makefile added by shaurz (148B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 Apr 2006 07:20:39 AM UTCpsmithFixed Release4.0=>3.81
Thu 16 Mar 2006 03:44:16 PM UTCpsmithStatusNone=>Fixed
  Assigned toNone=>psmith
  Open/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.0
Thu 16 Mar 2006 12:11:23 PM UTCshaurzAttached File-=>Added Makefile, #3503

Back to the top


Powered by Savane 3.1-cleanup1