bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Shahzad Muzaffar
Subject: [bug #21376] Random Segmentation fault when run with -j n
Date: Sat, 20 Oct 2007 08:20:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2

URL:
  <http://savannah.gnu.org/bugs/?21376>

                 Summary: Random Segmentation fault when run with -j n 
                 Project: make
            Submitted by: muzaffar
            Submitted on: Saturday 10/20/2007 at 08:20
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.80
        Operating System: POSIX-Based
           Fixed Release: None

    _______________________________________________________

Details:

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



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 10/20/2007 at 08:20  Name: Makefile  Size: 5kB   By: muzaffar

<http://savannah.gnu.org/bugs/download.php?file_id=14171>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?21376>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]