delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/16/19:02:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,TW_BG,TW_BL,TW_EG
X-Spam-Check-By: sourceware.org
In-Reply-To: <4C194E03.4060505@gmail.com>
References: <OF7B6FCF37 DOT B4BC6538-ON86257744 DOT 0071C7F7-86257744 DOT 0072F730 AT ni DOT com> <4C194E03 DOT 4060505 AT gmail DOT com>
Subject: Re: Windows Server 2008 64-bit setup.exe/bash problem
X-KeepSent: 755BC6CA:E4F07D48-86257744:007C747C; type=4; flags=0; name=$KeepSent
To: cygwin AT cygwin DOT com
Message-ID: <OF755BC6CA.E4F07D48-ON86257744.007C747C-86257744.007E8507@ni.com>
From: Ernest Mueller <Ernest DOT Mueller AT ni DOT com>
Date: Wed, 16 Jun 2010 18:01:55 -0500
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-16_03:2010-02-06,2010-06-16,2010-06-16 signatures=0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Set DEP to "Windows stuff only," rebooted, and reinstalled with the same
result.

I can run C:\cygwin\bin\bash.exe and it runs, it just segfaults sometimes,
esp. on the '[' operator.  When running e.g. 000-cygwin-post-install.sh
here's what it does:

bash-3.2# bash -x /etc/postinstall/000-cygwin-post-install.sh.done
+ export
PATH=/bin:/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdri
ve/c/Windows/System32/Wbem:/cygdrive/c/sysinternals
+
PATH=/bin:/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Wi
ndows/System32/Wbem:/cygdrive/c/sysinternals
+ SYSCONFDIR=/etc
+ FSTAB=/etc/fstab
+ MTAB=/etc/mtab
+ FSTABDIR=/etc/fstab.d
+ DEVDIR=/dev
+ '[' -e /etc/fstab -a '!' -f /etc/fstab ']'
      3 [main] bash 316 exception::handle: Error while dumping state
(probably corrupted stack)
Segmentation fault (core dumped)

If I run bash and just do a '[' ']' it goes down too.

Clip of full install log - all the scripts fail for one reason or another.:
2010/06/16 17:38:23 Changing gid back to original
Visited: 51 nodes out of 1725 while creating dependency order.
Dependency order of packages: base-cygwin base-passwd cygwin libgcc1
libiconv2 libintl8 alternatives alternatives libattr1 libgmp3 libsigsegv2
terminfo0 libncurses8 texinfo _update-info-dir gawk tzcode coreutils
terminfo libncurses9 libreadline7 bash findutils sed base-files libbz2_1
bzip2 libpopt0 libstdc++6 cygutils groff gzip libncurses10 less man
cygwin-doc dash diffutils editrights gettext libpcre0 grep ipc-utils
liblzma1 login rebase run xz tar which zlib0
2010/06/16 17:38:23 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/000-cygwin-post-install.sh
2010/06/16 17:38:24 abnormal exit: exit code=-1073741819
2010/06/16 17:38:24 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/passwd-grp.sh
2010/06/16 17:38:25 abnormal exit: exit code=-1073741819
2010/06/16 17:38:25 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/terminfo0.sh
2010/06/16 17:38:25 abnormal exit: exit code=-1073741819
2010/06/16 17:38:25 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/update-info-dir.sh
2010/06/16 17:38:34 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/coreutils.sh
2010/06/16 17:38:35 abnormal exit: exit code=-1073741819
2010/06/16 17:38:35 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/terminfo.sh
      3 [main] bash 1612 exception::handle: Exception:
STATUS_ACCESS_VIOLATION
  23032 [main] bash 1612 open_stackdumpfile: Dumping stack trace to
bash.exe.stackdump
2010/06/16 17:38:35 abnormal exit: exit code=35584
2010/06/16 17:38:35 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/bash.sh
2010/06/16 17:38:36 abnormal exit: exit code=-1073741819
2010/06/16 17:38:36 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/base-files-profile.sh
2010/06/16 17:38:37 abnormal exit: exit code=-1073741819
2010/06/16 17:38:37 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/base-files-mketc.sh
cygwin warning:
  MS-DOS style path detected: C:\Windows\system32\drivers\etc
  Preferred POSIX equivalent is: /cygdrive/c/Windows/system32/drivers/etc
  CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
2010/06/16 17:38:37 abnormal exit: exit code=-1073741819
2010/06/16 17:38:37 running: C:\cygwin\bin\bash.exe --norc
--noprofile /etc/postinstall/man.sh
2010/06/16 17:38:37 abnormal exit: exit code=-1073741819
2010/06/16 17:38:37 Changing gid to Administrators
2010/06/16 17:38:42 note: Installation Complete

Ernest
______________________
UN-altered REPRODUCTION and DISSEMINATION of
this IMPORTANT information is ENCOURAGED.



                                                                                                                     
  From:       Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>                                                                 
                                                                                                                     
  To:         cygwin AT cygwin DOT com                                                                                      
                                                                                                                     
  Date:       06/16/2010 04:59 PM                                                                                    
                                                                                                                     
  Subject:    Re: Windows Server 2008 64-bit setup.exe/bash problem                                                  
                                                                                                                     
  Sent by:    cygwin-owner AT cygwin DOT com                                                                                
                                                                                                                     





On 16/06/2010 21:55, Ernest Mueller wrote:

> [ ... ] Windows 2008 [ ... ] 32-bit one works [ ... ] 64-bit [ ... ]
> segfaults.

> [ ... ] Ideas welcome!

  Disable DEP?

    cheers,
      DaveK


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





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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019