public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: sshd fork failure
Date: Sat, 13 Oct 2012 15:39:00 -0000	[thread overview]
Message-ID: <20121013153936.GB839@ednor.casa.cgf.cx> (raw)
In-Reply-To: <503F9877.5070406@gmail.com>

On Thu, Aug 30, 2012 at 06:44:39PM +0200, marco atzeri wrote:
>Hi,
>tracing the sshd process on latest cygwin shapshot ,
>I see that the fork is failing due to exception C0000005
>
>     1       1 [main] sshd (4644) 
>**********************************************
>  5921    5922 [main] sshd (4644) Program name: 
>E:\cygwin\usr\sbin\sshd.exe (windows pid 4644)
>    30    5952 [main] sshd (4644) OS version:   Windows NT-6.1
>    25    5977 [main] sshd (4644) 
>**********************************************
>   636    6613 [main] sshd (4644) sigprocmask: 0 = sigprocmask (0, 
>0x6123D428, 0x610FBB30)
>   122    6735 [main] sshd 4644 child_copy: cygheap - hp 0x20C low 
>0x612708D0, high 0x61277640, res 1
>  1368    8103 [main] sshd 4644 child_copy: done
>--- Process 4644, exception C0000005 at 61137277
>
>
>
>$ addr2line.exe 61137277 -e /usr/bin/cygwin1.dll
>/netrel/src/cygwin-snapshot-20120827-1/newlib/libc/stdlib/mbtowc_r.c:323
>
>that should be:
>
>  ch = (state->__count == 1) ? t[i++] : state->__value.__wchb[1];
>
>inside __utf8_mbtowc .
>It looks a strange place for a fork failure, but it is used in
>winsup/cygwin/cygheap.cc so it could make sense.
>
>Any suggestion how to follow/debug the child portion of fork ?

Is this still failing?  We're looking to release 1.7.17 soon.

cgf

--
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-10-13 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 21:59 marco atzeri
2012-10-13 15:39 ` Christopher Faylor [this message]
2012-10-13 16:10   ` marco atzeri
2012-10-13 16:54     ` Christopher Faylor
2012-10-13 18:21       ` marco atzeri
2012-10-13 18:25         ` Christopher Faylor
2012-10-13 19:22           ` marco atzeri
2012-10-13 19:26             ` Christopher Faylor
2012-10-13 21:05               ` marco atzeri
2012-10-13 21:17                 ` Gregory M. Turner

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=20121013153936.GB839@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@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).