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

 
 

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

Submitter:  Luke McCarthy <shaurz>
Submitted:  Thu 16 Mar 2006 12:11:23 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.80 Operating System:  Any
Fixed Release:  3.81 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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 Files:
   
   
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

 

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
2006-04-01 psmith Fixed Release4.0 3.81
2006-03-16 psmith StatusNone Fixed
    Assigned toNone psmith
    Open/ClosedOpen Closed
    Fixed ReleaseNone 4.0
2006-03-16 shaurz Attached File- Added Makefile, #3503

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code