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: Mon, 25 Jun 2012 07:35:00 -0000	[thread overview]
Message-ID: <4FE81478.8030508@gmail.com> (raw)
In-Reply-To: <20120625043110.GA28607@ednor.casa.cgf.cx>

On 6/25/2012 6:31 AM, Christopher Faylor wrote:
> On Sun, Jun 24, 2012 at 11:30:02PM +0200, marco atzeri wrote:
>> Cgf, Corinna,
>>
>> 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.
>>
>> The binary to replicate and a extract of the strace's is at
>> http://matzeri.altervista.org/works/atlas/
>>
>> on W7/64 just run this command
>> ---------------------------------------------------------------------
>>   ./xprobe_comp -v 2 -o atlconf.txt -O 9 -A 25 -Si nof77 0 -V 448  -Fa
>> ic '-fno-common' -Fa sm '-fno-common' -Fa dm '-fno-common' -Fa sk
>> '-fno-common' -Fa dk '-fno-common' -Fa xc '-fno-common' -Fa gc
>> '-fno-common' -Fa if '-fno-common' -b 32 -d b .
>> ----------------------------------------------------------------------
>>
>> no stackdump is generated.
>
> I think I need a better test case.

I was afraid of that.
xprobe_comp is a sytem/processor probe and it is really
resource consuming during its normal run.

I tried to strace but it produces an enormous amount of data

$ ls -sh1  xprobe_comp.strace*
330M xprobe_comp.strace_fail
761M xprobe_comp.strace_good

and there is no guarantee that the root cause is traced.
>
> No matter what DLL I use, if I put the above in a shell script (adding a
> '\' to the end of each line) and execute it, I get the below output and
> my process table fills up /usr/bin/sh processes.
>
> If I reduce my PATH to just /usr/bin, the xprobe_comp sits there and I
> get lots and lots of /usr/bin/sh processes showing up in ps output and
> eventually I have to power-cycle my system to recover.
>
> cgf
>
> The script:
>
> #!/bin/sh
> ./xprobe_comp -v 2 -o atlconf.txt -O 9 -A 25 -Si nof77 0 -V 448  -Fa \
> ic '-fno-common' -Fa sm '-fno-common' -Fa dm '-fno-common' -Fa sk \
> '-fno-common' -Fa dk '-fno-common' -Fa xc '-fno-common' -Fa gc \
> '-fno-common' -Fa if '-fno-common' -b 32 -d b .
>
> The output:
>
> 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'

for what I see on my log, it crash after that
and before of:

>
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `find $HOME/local /cygdrive/c/Program\ Files\ (x86)/PC\ Connectivity\ Solution /cygdrive/c/Program\
>   Files\ (x86)/NVIDIA\ Corporation/PhysX/Common /cygdrive/c/Program\ Files/Common\ Files/Microsoft\ Shared/Windows\
> Live /cygdrive/c/Program\ Files\ (x86)/Common\ Files/Microsoft\ Shared/Windows\ Live /usr/bin /usr/local/bin /cygdr
> ive/c/Windows/system32 /cygdrive/c/Windows /cygdrive/c/Windows/System32/Wbem /cygdrive/c/Windows/System32/WindowsPo
> werShell/v1.0 /cygdrive/c/Program\ Files\ (x86)/Windows\ Live/Shared /cygdrive/c/Program\ Files/WIDCOMM/Bluetooth\
> Software /cygdrive/c/Program\ Files/WIDCOMM/Bluetooth\ Software/syswow64 /cygdrive/c/Program\ Files\ (x86)/software
> .jessies.org/terminator/Resources/terminator/bin -name '*gcc*' -exec ./xisgcc '{}' \; > /tmp/t4580.0 2>&1'
>
> ierr=256 in command='find $HOME/local /cygdrive/c/Program\ Files\ (x86)/PC\ Connectivity\ Solution /cygdrive/c/Prog
> ram\ Files\ (x86)/NVIDIA\ Corporation/PhysX/Common /cygdrive/c/Program\ Files/Common\ Files/Microsoft\ Shared/Windo
> ws\ Live /cygdrive/c/Program\ Files\ (x86)/Common\ Files/Microsoft\ Shared/Windows\ Live /usr/bin /usr/local/bin /c
> ygdrive/c/Windows/system32 /cygdrive/c/Windows /cygdrive/c/Windows/System32/Wbem /cygdrive/c/Windows/System32/Windo
> wsPowerShell/v1.0 /cygdrive/c/Program\ Files\ (x86)/Windows\ Live/Shared /cygdrive/c/Program\ Files/WIDCOMM/Bluetoo
> th\ Software /cygdrive/c/Program\ Files/WIDCOMM/Bluetooth\ Software/syswow64 /cygdrive/c/Program\ Files\ (x86)/soft
> ware.jessies.org/terminator/Resources/terminator/bin -name '*gcc*' -exec ./xisgcc '{}' \;'!
>
> OUTPUT:
> =======
> cat: /tmp/t4580.0: No such file or directory
>

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

  reply	other threads:[~2012-06-25  7:35 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 [this message]
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
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=4FE81478.8030508@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).