[BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64

Corinna Vinschen corinna-cygwin@cygwin.com
Tue May 13 10:55:00 GMT 2014


On May 13 13:18, Pavel Fedin wrote:
> 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.

Please try a recent snapshot from http://cygwin.com/snapshots/
Corinna
-- 
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140513/0fa81387/attachment.sig>


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /