X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=LYV WbzaSWr678GQj+ou2ZCSaFc0RVpA/AbHTGwFBaQPkHUWxRI+sOMQMwqQxJpl+L83 mbo0OLCpthTpQuRu04t79uz9gj134o2yO788GwdeSpu9skItX0UxTfdSHf5qZkUP MlWefjDNwZrxtXvCKqDNmgxJrfXPjJZIL1qc1xJ8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=X94tCFZ+J BzrAxMyx8UVhrPKGh0=; b=f1qhnFmTp5O2a8TObPy8k9L6NSxy6YVBQB3MTSMZn iqkF3yDuTBjv0D9boFk79Gqa6adouEeqXNQ0Kzz2ip1BLLgEIHqW1IF97e6EVusr /zNWq3vXjAPO0LGmLGBVMBYraSxfZDm/QVpTIwccfxVZuyXmvRKaxcCMYSb4Lp6n JM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS,T_MANY_HDRS_LCASE autolearn=ham version=3.3.2 X-HELO: mailout3.w1.samsung.com From: Pavel Fedin

To: cygwin AT cygwin DOT com Subject: [BUG] /bin/sh crashes with the recent cygwin1.dll on x86/64 Date: Tue, 13 May 2014 13:18:17 +0400 Message-id: <003b01cf6e8c$47ad99f0$d708cdd0$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-IsSubscribed: yes 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