public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: marco atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: crash on latest cygwin snapshot
Date: Tue, 26 Jun 2012 18:51:00 -0000	[thread overview]
Message-ID: <4FEA04B2.9010209@gmail.com> (raw)
In-Reply-To: <20120626153154.GA837@calimero.vinschen.de>

On 6/26/2012 5:31 PM, Corinna Vinschen wrote:
> On Jun 26 11:04, Christopher Faylor wrote:
>> On Tue, Jun 26, 2012 at 10:10:28AM -0400, Christopher Faylor wrote:
>>> On Tue, Jun 26, 2012 at 07:53:05AM -0400, Ken Brown wrote:
>>>> On 6/24/2012 5:30 PM, marco atzeri wrote:
>>>>> while building latest atlas I hit a bug that is crashing all the running
>>>>> cygwin process.
>>>>> It crashes on 20120619 snapshot and also latest cvs source.
>>>>> No issue on 20120611 snapshot.
>>>>
>>>> I'm also seeing this crash, but it does not kill all running cygwin
>>>> processes.  The only processes that die are the mintty processes and the
>>>> associated bash processes.  For example, it just happened a few minutes
>>>> ago, and XWin survived, along with emacs and xterm.
>>>>
>>>> It happens intermittently, maybe once every 3 days, and I haven't found
>>>> a simple sequence of steps for reproducing it.  All I can say for sure
>>>> is that I always have more than one mintty running, and they all die.
>>>>
>>>> Marco, are you sure all cygwin processes die when you experience this
>>>> problem?  Also, since you can reliably reproduce the crash, have you
>>>> tried reverting to the previous version of mintty?  Note that mintty was
>>>> updated just a few days before the 20120619 snapshot was released.
>>>
>>> He indicated that some processes kept running.
>>>
>>> But, hmm.  I haven't updated mintty lately.  I will try that.
>>
>> This still just hangs my system by creating many /bin/sh and gcc jobs.
>> What am I supposed to be seeing for output?  If I set the PATH to just
>> /usr/bin, I see:
>>
>> User Override Compilers:
>>     'none' : 'none' '-fno-common'
>>     'none' : 'none' '-fno-common'
>>     'none' : 'none' '-fno-common'
>>     'none' : 'none' '-fno-common'
>>     'none' : 'none' '-fno-common'
>>     'none' : 'none' '-fno-common'
>>     'none' : 'none' '-fno-common'
>>     'none' : 'none' '-fno-common'
>>
>> and then no more output until I have to restart the machine due to
>> excessive process creation.
>
> This might be a result of the problem, too.  When I run the command
> on W7 and W2008R2, it hangs a couple of seconds at this point, apparently
> running a find(1) command, and then the output starts like this:
>
> --- SNIP ---
> ierr=256 in command='find $HOME/local /home/corinna/bin /usr/local/bin /usr/bin /bin /mnt/c/Windows/system32 /mnt/c/Windows /mnt/c/Windows/System32/Wbem /mnt/c/Windows/System32/WindowsPowerShell/v1.0 -name '*gcc*' -exec ./xisgcc '{}' \;'!
>
> OUTPUT:
> =======
> find: `/home/corinna/local': No such file or directory
> /usr/bin/gcc-4.exe
> /usr/bin/gcc.exe
> /usr/bin/i686-pc-cygwin-gcc-4.5.3.exe
> /usr/bin/i686-pc-cygwin-gcc-4.exe
> /usr/bin/i686-pc-cygwin-gcc.exe
> /usr/bin/i686-pc-mingw32-gcc-4.5.2.exe
> /usr/bin/i686-pc-mingw32-gcc.exe
> /usr/bin/x86_64-w64-mingw32-gcc-4.5.3.exe
> /usr/bin/x86_64-w64-mingw32-gcc.exe
> /bin/gcc-4.exe
> /bin/gcc.exe
> /bin/i686-pc-cygwin-gcc-4.5.3.exe
> /bin/i686-pc-cygwin-gcc-4.exe
> /bin/i686-pc-cygwin-gcc.exe
> /bin/i686-pc-mingw32-gcc-4.5.2.exe
> /bin/i686-pc-mingw32-gcc.exe
> /bin/x86_64-w64-mingw32-gcc-4.5.3.exe
> /bin/x86_64-w64-mingw32-gcc.exe
> [...]
> --- SNAP ---
>
> and then a couple of hundreds line of output with various make commands
> or something like that.
>
>
> Corinna
>

This is the expected behaviour.
The program is part of a "weird" configure scripts used by ATLAS
http://math-atlas.sourceforge.net/
to detect the best compiler options for optimizing the math
perfomance on the given machine.

It stresses a bit the computer, but on snapshot 20110619 and later CVS
the side effect is to crash all mintty sessions on my W7/64 and
to block cgf's one.

So some of the change between 20110611 and 20110619 are responsable of
the mintty crash.

Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  parent reply	other threads:[~2012-06-26 18:51 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-24 21:30 marco atzeri
2012-06-25  4:31 ` Christopher Faylor
2012-06-25  7:35   ` marco atzeri
2012-06-25  8:07     ` Corinna Vinschen
2012-06-25  8:38       ` marco atzeri
2012-06-25  9:02         ` Corinna Vinschen
2012-06-25  9:36           ` marco atzeri
2012-06-25 11:58             ` marco atzeri
2012-06-25 14:46               ` Christopher Faylor
2012-06-25 15:01                 ` marco atzeri
2012-06-25 15:29                   ` Christopher Faylor
2012-06-25 16:28                     ` marco atzeri
2012-06-26 11:53 ` Ken Brown
2012-06-26 14:10   ` Christopher Faylor
2012-06-26 15:04     ` Christopher Faylor
2012-06-26 15:32       ` Corinna Vinschen
2012-06-26 15:52         ` Christopher Faylor
2012-06-26 16:32           ` Achim Gratz
2012-06-26 18:51         ` marco atzeri [this message]
2012-06-26 19:24           ` Christopher Faylor
2012-06-26 19:46             ` marco atzeri
2012-06-26 19:48             ` Christopher Faylor
2012-06-26 19:55               ` marco atzeri
2012-06-26 20:15               ` Christopher Faylor
2012-06-26 20:28                 ` marco atzeri
2012-06-26 20:32                   ` Christopher Faylor
2012-06-26 20:51                     ` marco atzeri
2012-06-26 20:53                       ` Christopher Faylor
2012-06-27  1:47                         ` Christopher Faylor
2012-07-02 14:43                           ` marco atzeri
2012-08-01  9:43                             ` Corinna Vinschen
2012-08-01 10:35                               ` marco atzeri
2012-08-01 12:29                                 ` Corinna Vinschen
2012-08-01 12:42                                   ` marco atzeri
2012-08-01 12:46                                     ` Corinna Vinschen
2012-08-01 12:52                                       ` marco atzeri
2012-08-01 12:58                                         ` Corinna Vinschen
2012-08-01 12:46                                   ` Ken Brown
2012-08-01 12:59                                     ` Corinna Vinschen
2012-08-02 15:57                                       ` Ken Brown
2012-08-02 16:29                                         ` Corinna Vinschen
2012-08-02 17:28                                         ` Filipp Gunbin
2012-08-02 18:15                                           ` Ken Brown
2012-08-03  7:43                                             ` Filipp Gunbin
2012-08-02 18:21                                         ` Achim Gratz
2012-08-02 18:40                                           ` Christopher Faylor
2012-08-02 19:29                                             ` Achim Gratz
2012-08-02 19:42                                               ` Christopher Faylor
2012-08-03  3:41                                                 ` Ken Brown
2012-08-03  7:05                                                   ` Christopher Faylor
2012-08-03  7:49                                                     ` Achim Gratz
2012-08-03 16:24                                                     ` Christopher Faylor
2012-08-03 20:45                                                       ` Ken Brown
2012-08-04  2:14                                                         ` Christopher Faylor
2012-08-05  4:39                                                           ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FEA04B2.9010209@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).