bug-make
[Top][All Lists]
Advanced

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

Re: Random Segmentation fault when run with -j n


From: Philip Guenther
Subject: Re: Random Segmentation fault when run with -j n
Date: Sat, 20 Oct 2007 06:43:00 -0600

On 10/20/07, Shahzad Muzaffar <address@hidden> wrote:
> I have this Makefile (attached) and when I run it with -j 8 then I get
> random segmentation fault(not always on same point). Running it without
> -j option works fine and I do not get segmentation fault all the time
> (it is just random).

This makefile causes no problems for me under OpenBSD, running either
version 3.80 or 3.81.  Yes, I ran it many times.  You should have
included the actual operating system that you're using in your bug
report.

You should also check whether you can reproduce this with GNU make
version 3.81, which has been out for over 18 months.


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

GNU make does not use threads, so this explanation cannot be correct.


Philip Guenther




reply via email to

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