public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: crash on latest cygwin snapshot
Date: Mon, 25 Jun 2012 09:02:00 -0000	[thread overview]
Message-ID: <20120625090029.GE2321@calimero.vinschen.de> (raw)
In-Reply-To: <4FE82361.8040908@gmail.com>

On Jun 25 10:37, marco atzeri wrote:
> On 6/25/2012 10:05 AM, Corinna Vinschen wrote:
> >On Jun 25 09:34, marco atzeri wrote:
> >>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.
> >
> >Does the failing strace contain a line like this?
> >
> >   --- Process 3708, exception C0000094 at 00401198
> >
> >If so, it might give a clue.  There's a chance that an exception
> >generates another exception, so you might have more than one such
> >line.  The first one rules.  Did you try from CVS again with cgf's
> >latest patch?
> >
> >
> >Corinna
> >
> 
> Hi Corinna,
> Tested up to
> http://cygwin.com/ml/cygwin-cvs/2012-q2/msg00129.html

What about http://cygwin.com/ml/cygwin-cvs/2012-q2/msg00130.html ?

> There are no exceptions on the strace.
> 
> The last portion, ~ 500 lines, of strace is available here:
> http://matzeri.altervista.org/works/atlas/
> 
> together with the equivalent area of the good strace (~ 1000 lines).
> 
> A normal exception should kill just the running process, while
> I see that  xprobe_comp, bash, mintty are killed and
> also others bash and mintty processes are taking down.

Really all processes or just all processes in the same terminal window?
If it's the latter, the problem may be triggered by xprobe_comp, but
it would really occur in mintty.  Here's an interesting snippet from the
failing strace:

  414 195741371 [main] xprobe_comp 1084 fhandler_pty_slave::write: pty0, write(40B7E7, 6)
   47 195741418 [main] xprobe_comp 1084 fhandler_pty_slave::write: (648): pty output_mutex (0xCC): waiting -1 ms
   46 195741464 [main] xprobe_comp 1084 fhandler_pty_slave::write: (648): pty output_mutex: acquired
   50 195741514 [main] xprobe_comp 1084 fhandler_pty_slave::write: WriteFile failed, Win32 error 232
   45 195741559 [main] xprobe_comp 1084 seterrno_from_win_error: /pub/cygwin/cvs/src_new/winsup/cygwin/fhandler_tty.cc:676 windows error 1117
   47 195741606 [main] xprobe_comp 1084 geterrno_from_win_error: windows error 1117 == errno 5

So a WriteFile to the slave side of the pty returns with ERROR_NO_DATA
which means the pipe has been closed on the other end.  The other end is
the master, which should be mintty here.  The strace doesn't cover
mintty so there's no way to see what happens in there.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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  9:02 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 [this message]
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=20120625090029.GE2321@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.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).