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

 
 

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

Submitted by:  Shahzad Muzaffar <muzaffar>
Submitted on:  Sat 20 Oct 2007 08:20:50 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.80Operating System: POSIX-Based
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by muzaffar (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 20 Oct 2007 03:22:46 PM UTCpsmithStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Sat 20 Oct 2007 08:20:50 AM UTCmuzaffarAttached File-=>Added Makefile, #14171

    Back to the top


    Powered by Savane 3.1-cleanup1