bugmake - Bugs: bug #21376, Random Segmentation fault when run...

 
 

bug #21376: Random Segmentation fault when run with -j n

Submitter:  Shahzad Muzaffar <muzaffar>
Submitted:  Sat 20 Oct 2007 08:20:50 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.80 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 20 Oct 2007 03:22:46 PM UTC, comment #1: 

This is a duplicate of bug #20033.  There's a patch attached to that bug.

I only was able to determine this by looking at the stack trace you provided to the mailing list; when reporting bugs please remember to add in stack traces, etc. wherever possible.

Cheers.

Paul D. Smith <psmith>
Group administrator
Sat 20 Oct 2007 08:20:50 AM UTC, original submission:  

Hello,
  I have this Makefile (attached) and when I run it with -j 8 then I get random segmentation faults(not always on same point). Running it without -j option works fine and I do not get segmentation faults all the time (it just random). My guess is that as I calculate values for some variable only on fly so may be when run with -j option, two threads try to calculate/access the same variable and that causes a crash. If I force the calculation of those variables before any rule to run then it works fine. So may be there is some variable locking problem.

Cheers,
--Shahzad

Shahzad Muzaffar <muzaffar>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #14171:  Makefile added by muzaffar (5KiB - application/octet-stream)

 

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 muzaffar (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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-20 psmith StatusNone Duplicate
        Open/ClosedOpen Closed
    2007-10-20 muzaffar Attached File- Added Makefile, #14171

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code