public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64
@ 2014-05-13  9:36 Pavel Fedin
  2014-05-13 10:55 ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Fedin @ 2014-05-13  9:36 UTC (permalink / raw)
  To: cygwin

 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64
  2014-05-13  9:36 [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64 Pavel Fedin
@ 2014-05-13 10:55 ` Corinna Vinschen
  2014-05-15  5:25   ` Pavel Fedin
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2014-05-13 10:55 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2486 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64
  2014-05-13 10:55 ` Corinna Vinschen
@ 2014-05-15  5:25   ` Pavel Fedin
  2014-05-15  7:49     ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Fedin @ 2014-05-15  5:25 UTC (permalink / raw)
  To: cygwin

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

 Tried. /bin/sh runs well, but gcc still randomly crashes.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64
  2014-05-15  5:25   ` Pavel Fedin
@ 2014-05-15  7:49     ` Corinna Vinschen
  2014-05-20  8:53       ` Pavel Fedin
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2014-05-15  7:49 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 652 bytes --]

On May 15 09:20, Pavel Fedin wrote:
> > >  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/
> 
>  Tried. /bin/sh runs well, but gcc still randomly crashes.

I can't reproduce this, so it would be helpful if you could investigate
these random crashes a bit further.  Are they still related to san::leave
calls?


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64
  2014-05-15  7:49     ` Corinna Vinschen
@ 2014-05-20  8:53       ` Pavel Fedin
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Fedin @ 2014-05-20  8:53 UTC (permalink / raw)
  To: cygwin

 Hello!

> I can't reproduce this, so it would be helpful if you could investigate
> these random crashes a bit further.  Are they still related to
> san::leave calls?

 Ops, sorry... I tend to forget to reply. :(
 Ok, i will try to, when i have some time.
 By the way, this problem does not reproduce on 32-bit version. Only 64-bit one.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-20  5:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13  9:36 [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64 Pavel Fedin
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

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