public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Pavel Fedin <p.fedin@samsung.com>
To: cygwin@cygwin.com
Subject: [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64
Date: Tue, 13 May 2014 09:36:00 -0000	[thread overview]
Message-ID: <003b01cf6e8c$47ad99f0$d708cdd0$%fedin@samsung.com> (raw)

 Hello! I have updated my Cygwin installation and it is completely unusable.
 First, shell scripts stopped working. I have traced this down to /bin/sh
executable apparently doing nothing. Running under strace gives this:
---cut ---
$ strace /bin/sh --version
    1       1 [main] sh (6756)
**********************************************
   86      87 [main] sh (6756) Program name: C:\cygwin64\bin\sh.exe (windows
pid 6756)
   30     117 [main] sh (6756) OS version:   Windows NT-6.1
   27     144 [main] sh (6756)
**********************************************
  101     245 [main] sh (6756) sigprocmask: 0 = sigprocmask (0, 0x1802BBC68,
0x0)
  438     683 [main] sh 6756 open_shared: name shared.5, n 5, shared
0x180030000 (wanted 0x180030000), h 0x70, *m 6
   51     734 [main] sh 6756 user_heap_info::init: heap base 0x600000000,
heap top 0x600000000, heap size 0x20000000 (536870912)
   56     790 [main] sh 6756 open_shared: name
S-1-5-21-1454471165-515967899-839522115-3227.1, n 1, shared 0x180020000
(wanted 0x180020000), h 0x68, *m 6
   58     848 [main] sh 6756 user_info::create: opening user shared for
'S-1-5-21-1454471165-515967899-839522115-3227' at 0x180020000
   36     884 [main] sh 6756 user_info::create: user shared version AB1FCCE8
   61     945 [main] sh 6756 fhandler_pipe::create: name
\\.\pipe\cygwin-e022582115c10879-6756-sigwait, size 176, mode
PIPE_TYPE_MESSAGE
   82    1027 [main] sh 6756 fhandler_pipe::create: pipe read handle 0x84
   19    1046 [main] sh 6756 fhandler_pipe::create: CreateFile: name
\\.\pipe\cygwin-e022582115c10879-6756-sigwait
   47    1093 [main] sh 6756 fhandler_pipe::create: pipe write handle 0x88
   33    1126 [main] sh 6756 dll_crt0_0: finished dll_crt0_0 initialization
--- Process 6756, exception c0000005 at 000000007780E4E4
49743   50869 [main] sh 6756 __set_errno: void san::leave():315 setting
errno 66168
--- Process 6756, exception c0000005 at 0000000180111DA8
Segmentation fault
 --- cut ---

 gcc compiler also crashed, but i did not investigate it. All problems got
fixed when i downgraded cygwin package to version 1.7.28-2.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia



--
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:[~2014-05-13  9:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-13  9:36 Pavel Fedin [this message]
2014-05-13 10:55 ` Corinna Vinschen
2014-05-15  5:25   ` Pavel Fedin
2014-05-15  7:49     ` Corinna Vinschen
2014-05-20  8:53       ` Pavel Fedin

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='003b01cf6e8c$47ad99f0$d708cdd0$%fedin@samsung.com' \
    --to=p.fedin@samsung.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).