public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin errors after altering Windows command prompt shortcut (???)
       [not found] <CABT-+2rFSA4V6eoS0f9a1RX7+cmk7NpkQBgGx5DSiHhBSThJyg@mail.gmail.com>
@ 2012-02-28 11:33 ` Pat Tressel
  2012-02-28 12:23   ` Corinna Vinschen
  2012-02-29  2:27   ` Andrey Repin
       [not found] ` <CABT-+2rgkM5rG7AFgxPev1vBd534+6q=NkV7-20-N-RAOH=TnQ@mail.gmail.com>
  1 sibling, 2 replies; 13+ messages in thread
From: Pat Tressel @ 2012-02-28 11:33 UTC (permalink / raw)
  To: cygwin

My Cygwin installation was working fine right up to the point where I
had to restore a Windows command prompt shortcut from backup.
Immediately afterward, commands run in the Cygwin shell window (the
one whose shortcut is created at the end of setup, that runs
Cygwin.bat) failed with errors like:

bash-4.1$ ls
      0 [main] bash 8316 child_info_fork::abort: cygreadline7.dll:
Loaded to different address: parent(0x3C0000) != child(0x320000)
bash: fork: retry: Resource temporarily unavailable
      0 [main] bash 7708 child_info_fork::abort: cygreadline7.dll:
Loaded to different address: parent(0x3C0000) != child(0x320000)
bash: fork: retry: Resource temporarily unavailable
...

Starting a new Cygwin shell instance got errors from bash before
entering a command.

Background:  Ok, this is really weird...  Don't know if any of it is
relevant except perhaps that the shortcut was recovered, but you might
find it amusing.  I did "git diff" in Windows command prompt.  When
git diff's pager happened to stop in some deleted code, which it
colors red by default, I ^C'd out.  Bad move.  That apparent left the
text color set to red.  I changed the color in the properties for the
window back to its original gray.  But after that, the colors were
just mixed up -- when git tried to display red, it came out yellow.
After checking that git had not modified its own color settings, and
that the properties including colors seemed to in settings associated
with the shortcut, the window, or with cmd.exe, I started with the
shortcut -- I recovered it back to the previous Windows restore point.
 That got the colors back to normal, and Windows command prompt was
functioning normally, so I didn't try to recover anything else.  To be
clear, I didn't recover the entire system back to the restore point,
just the shortcut.  But then...the very next command I did in a Cygwin
shell window failed, as above.

I wondered if the restore of the command prompt shortcut had replaced
something that the Cygwin shell or its shortcut or window was using.
(Windows regards both of them as the same in some sense -- both are
started as Windows commands in a Windows window, and Windows lumps
them together on the task bar.)  I made a new shortcut, but couldn't
get it to start in my home directory.  (The old shortcut had nothing
in its "Start in" field, but I don't know if that was due to damage.)
So I figured I'd run Cygwin setup.exe again and let it create the
shortcut.  Got a fresh copy of setup.exe -- it found a few things to
update, so it was doing more than just creating the shortcut.
Unfortunately, setup failed -- it reported a number of "Postinstall
script errors":

Package: _update-info-dir
    update-info-dir.sh exit code 254
Package: coreutils
    coreutils.sh exit code 254
Package: base-files
    base-files-profile.sh exit code 254
    base-files-mketc.sh exit code 254
Package: cygutils
    cygutils.sh exit code 254
Package: libgdk_pixbuf2.0_0
    gdk-pixbuf2.0.sh exit code 254
Package: shared-mime-info
    shared-mime-info.sh exit code 254
Package: libgtk2.0_0
    gtk2.0.sh exit code 254
Package: xorg-server
    xorg-server.sh exit code 254
Package: xinit
    xinit.sh exit code 254

That  update-info-dir isn't a package, but I set the rest to
reinstall, and tried again.  (Tried a different mirror, turned off
anti-virus and backup, in case something was interfering.  But I've
previously updated cygwin while both were running with no problem.)
After several tries, setup got down to failing on only one package:

Package: base-files
    base-files-profile.sh exit code 254

That one doesn't want to complete.  And with errors, apparently setup
won't create the shortcut.

:-(

So...any ideas what might be wrong?  Should I reinstall Cygwin?  Or
keep trying to reinstall base-files?  Or...?

Thanks!!

-- Pat

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-02-28 11:33 ` Cygwin errors after altering Windows command prompt shortcut (???) Pat Tressel
@ 2012-02-28 12:23   ` Corinna Vinschen
  2012-02-28 22:50     ` Pat Tressel
  2012-02-29  2:27   ` Andrey Repin
  1 sibling, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2012-02-28 12:23 UTC (permalink / raw)
  To: cygwin

On Feb 28 03:09, Pat Tressel wrote:
> My Cygwin installation was working fine right up to the point where I
> had to restore a Windows command prompt shortcut from backup.
> Immediately afterward, commands run in the Cygwin shell window (the
> one whose shortcut is created at the end of setup, that runs
> Cygwin.bat) failed with errors like:
> 
> bash-4.1$ ls
>       0 [main] bash 8316 child_info_fork::abort: cygreadline7.dll:
> Loaded to different address: parent(0x3C0000) != child(0x320000)
> bash: fork: retry: Resource temporarily unavailable
>       0 [main] bash 7708 child_info_fork::abort: cygreadline7.dll:
> Loaded to different address: parent(0x3C0000) != child(0x320000)
> bash: fork: retry: Resource temporarily unavailable
> ...

Did you update to Cygwin 1.7.11-1 already?


Corinna

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

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-02-28 12:23   ` Corinna Vinschen
@ 2012-02-28 22:50     ` Pat Tressel
  0 siblings, 0 replies; 13+ messages in thread
From: Pat Tressel @ 2012-02-28 22:50 UTC (permalink / raw)
  To: cygwin

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

Corinna --

> Did you update to Cygwin 1.7.11-1 already?

I ran the latest setup (see post for details, relevant section quoted
below) so I'd assume it attempted to install the latest version.
However, the main problem I'm reporting is that the install fails
repeatedly, so, no, it did not successfully update.  :-(  (Continued
below quote.)

>> So I figured I'd run Cygwin setup.exe again and let it create the
>> shortcut.  Got a fresh copy of setup.exe -- it found a few things to
>> update, so it was doing more than just creating the shortcut.
>> Unfortunately, setup failed -- it reported a number of "Postinstall
>> script errors":
>>
>> Package: _update-info-dir
>>    update-info-dir.sh exit code 254
>> ...
>>
>> That  update-info-dir isn't a package, but I set the rest to
>> reinstall, and tried again.  (Tried a different mirror, turned off
>> anti-virus and backup, in case something was interfering.  But I've
>> previously updated cygwin while both were running with no problem.)
>> After several tries, setup got down to failing on only one package:
>>
>> Package: base-files
>>     base-files-profile.sh exit code 254
>>
>> That one doesn't want to complete.  And with errors, apparently setup
>> won't create the shortcut.

I'll attach the setup.log.full from the last run (where I asked it to
reinstall base-files) -- that shows errors reported by bash (similar
to the ones in my original post):

2012/02/27 22:16:46 Running preremove script for  base-files
2012/02/27 22:16:46 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/preremove/base-files.sh
*** Removing unmodified base files.
*** These will be updated by the postinstall script.
*** Please wait.
      0 [main] bash 1076 child_info_fork::abort: cygreadline7.dll:
Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: retry: Resource temporarily unavailable
      2 [main] bash 3148 child_info_fork::abort: cygreadline7.dll:
Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: retry: Resource temporarily unavailable
     64 [main] bash 8588 child_info_fork::abort: cygreadline7.dll:
Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: retry: Resource temporarily unavailable
      1 [main] bash 8396 child_info_fork::abort: cygreadline7.dll:
Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: retry: Resource temporarily unavailable
      0 [main] bash 8224 child_info_fork::abort: cygreadline7.dll:
Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: Resource temporarily unavailable
2012/02/27 22:17:01 abnormal exit: exit code=254
...
2012/02/27 22:17:01 running: C:\cygwin\bin\bash.exe --norc --noprofile
/etc/postinstall/base-files-profile.sh
Using the default version of /etc/profile.d/lang.sh
(/etc/defaults/etc/profile.d/lang.sh)
      0 [main] bash 7552 child_info_fork::abort: cygreadline7.dll:
Loaded to different address: parent(0x320000) != child(0x2B0000)
/etc/postinstall/base-files-profile.sh: fork: retry: Resource
temporarily unavailable
/etc/postinstall/base-files-profile.sh: fork: Resource temporarily unavailable
2012/02/27 22:17:02 abnormal exit: exit code=254

Thanks!

-- Pat

[-- Attachment #2: setup.log.full --]
[-- Type: application/octet-stream, Size: 13337 bytes --]

2012/02/27 22:16:28 Starting cygwin install, version 2.769
2012/02/27 22:16:28 User has backup/restore rights
2012/02/27 22:16:28 io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 2 No such file or directory
2012/02/27 22:16:28 io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 2 No such file or directory
2012/02/27 22:16:28 io_stream_cygfile: fopen(/etc/setup/extrakeys) failed 2 No such file or directory
2012/02/27 22:16:28 Current Directory: C:\Users\Pat Tressel\cygwin
2012/02/27 22:16:28 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2012/02/27 22:16:31 source: network install
2012/02/27 22:16:32 root: C:\cygwin binary system
2012/02/27 22:16:33 Selected local directory: C:\Users\Pat Tressel\cygwin
2012/02/27 22:16:34 net: Direct
Loaded cached mirror list
get_url_to_membuf http://cygwin.com/mirrors.lst
getUrlToStream http://cygwin.com/mirrors.lst
2012/02/27 22:16:36 site: http://mirrors.kernel.org/sourceware/cygwin/
get_url_to_membuf http://mirrors.kernel.org/sourceware/cygwin//setup.bz2
getUrlToStream http://mirrors.kernel.org/sourceware/cygwin//setup.bz2
get_url_to_membuf http://mirrors.kernel.org/sourceware/cygwin//setup.bz2.sig
getUrlToStream http://mirrors.kernel.org/sourceware/cygwin//setup.bz2.sig
Checking MD5 for file://C:\Users\Pat Tressel\cygwin/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/release/base-files/base-files-4.1-1.tar.bz2
MD5 verified OK: file://C:\Users\Pat Tressel\cygwin/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/release/base-files/base-files-4.1-1.tar.bz2 f91ed6eab060c3699c9cfff41ffc24ce
2012/02/27 22:16:46 Running preremove script for  base-files
2012/02/27 22:16:46 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/preremove/base-files.sh
*** Removing unmodified base files.
*** These will be updated by the postinstall script.
*** Please wait.
      0 [main] bash 1076 child_info_fork::abort: cygreadline7.dll: Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: retry: Resource temporarily unavailable
      2 [main] bash 3148 child_info_fork::abort: cygreadline7.dll: Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: retry: Resource temporarily unavailable
     64 [main] bash 8588 child_info_fork::abort: cygreadline7.dll: Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: retry: Resource temporarily unavailable
      1 [main] bash 8396 child_info_fork::abort: cygreadline7.dll: Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: retry: Resource temporarily unavailable
      0 [main] bash 8224 child_info_fork::abort: cygreadline7.dll: Loaded to different address: parent(0x3B0000) != child(0x320000)
/etc/preremove/base-files.sh: fork: Resource temporarily unavailable
2012/02/27 22:17:01 abnormal exit: exit code=254
2012/02/27 22:17:01 Uninstalling base-files
unlink C:\cygwin/etc/defaults/etc/bash.bash_logout
unlink C:\cygwin/etc/defaults/etc/profile.d/tzset.sh
unlink C:\cygwin/etc/defaults/etc/profile.d/tzset.csh
unlink C:\cygwin/etc/defaults/etc/profile.d/lang.csh
unlink C:\cygwin/etc/defaults/etc/profile.d/lang.sh
unlink C:\cygwin/etc/defaults/etc/bash.bashrc
unlink C:\cygwin/etc/defaults/etc/skel/.inputrc
unlink C:\cygwin/etc/defaults/etc/skel/.profile
unlink C:\cygwin/etc/defaults/etc/skel/.bashrc
unlink C:\cygwin/etc/defaults/etc/skel/.bash_profile
unlink C:\cygwin/etc/defaults/etc/profile
unlink C:\cygwin/etc/preremove/base-files-manifest.lst
unlink C:\cygwin/etc/preremove/base-files.sh
unlink C:\cygwin/etc/postinstall/base-files-profile.sh
unlink C:\cygwin/usr/share/doc/common-licenses/ReadMe.txt
unlink C:\cygwin/usr/share/doc/common-licenses/CC0-1.0
unlink C:\cygwin/usr/share/doc/common-licenses/BSD
unlink C:\cygwin/usr/share/doc/common-licenses/CC0
unlink C:\cygwin/usr/share/doc/common-licenses/AFL-1.1
unlink C:\cygwin/usr/share/doc/common-licenses/AFL-2.1
unlink C:\cygwin/usr/share/doc/common-licenses/AFL
unlink C:\cygwin/usr/share/doc/common-licenses/Artistic
unlink C:\cygwin/usr/share/doc/common-licenses/GPL
unlink C:\cygwin/usr/share/doc/common-licenses/AFL-2.0
unlink C:\cygwin/usr/share/doc/common-licenses/GPL-2
unlink C:\cygwin/usr/share/doc/common-licenses/LGPL
unlink C:\cygwin/usr/share/doc/common-licenses/LGPL-2
unlink C:\cygwin/usr/share/doc/common-licenses/Apache-2.0
unlink C:\cygwin/usr/share/doc/common-licenses/GPL-3.0
unlink C:\cygwin/usr/share/doc/common-licenses/AFL-1.2
unlink C:\cygwin/usr/share/doc/common-licenses/Apache-1.1
unlink C:\cygwin/usr/share/doc/common-licenses/LGPL-3.0
unlink C:\cygwin/usr/share/doc/common-licenses/LGPL-2.0
unlink C:\cygwin/usr/share/doc/common-licenses/Apache-1.0
unlink C:\cygwin/usr/share/doc/common-licenses/Apache
unlink C:\cygwin/usr/share/doc/common-licenses/MIT
unlink C:\cygwin/usr/share/doc/common-licenses/PHP-3.0
unlink C:\cygwin/usr/share/doc/common-licenses/GPL-2.0
unlink C:\cygwin/usr/share/doc/common-licenses/LGPL-2.1
unlink C:\cygwin/usr/share/doc/base-files/ChangeLog
unlink C:\cygwin/usr/share/doc/base-files/README
rmdir C:\cygwin/usr/share/doc/common-licenses
rmdir C:\cygwin/usr/share/doc/base-files
rmdir C:\cygwin/etc/defaults/etc/skel
rmdir C:\cygwin/etc/defaults/etc/profile.d
2012/02/27 22:17:01 Extracting from file://C:\Users\Pat Tressel\cygwin/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/release/base-files/base-files-4.1-1.tar.bz2
Installing file cygfile:///etc/
Installing file cygfile:///etc/defaults/
Installing file cygfile:///etc/defaults/etc/
Installing file cygfile:///etc/defaults/etc/bash.bash_logout
Installing file cygfile:///etc/defaults/etc/profile.d/
Installing file cygfile:///etc/defaults/etc/profile.d/tzset.sh
Installing file cygfile:///etc/defaults/etc/profile.d/tzset.csh
Installing file cygfile:///etc/defaults/etc/profile.d/lang.csh
Installing file cygfile:///etc/defaults/etc/profile.d/lang.sh
Installing file cygfile:///etc/defaults/etc/bash.bashrc
Installing file cygfile:///etc/defaults/etc/skel/
Installing file cygfile:///etc/defaults/etc/skel/.inputrc
Installing file cygfile:///etc/defaults/etc/skel/.profile
Installing file cygfile:///etc/defaults/etc/skel/.bashrc
Installing file cygfile:///etc/defaults/etc/skel/.bash_profile
Installing file cygfile:///etc/defaults/etc/profile
Installing file cygfile:///etc/preremove/
Installing file cygfile:///etc/preremove/base-files-manifest.lst
Installing file cygfile:///etc/preremove/base-files.sh
Installing file cygfile:///etc/postinstall/
Installing file cygfile:///etc/postinstall/base-files-profile.sh
Installing file cygfile:///etc/postinstall/base-files-mketc.sh
Installing file cygfile:///usr/
Installing file cygfile:///usr/share/
Installing file cygfile:///usr/share/doc/
Installing file cygfile:///usr/share/doc/common-licenses/
Installing file cygfile:///usr/share/doc/common-licenses/ReadMe.txt
Installing file cygfile:///usr/share/doc/common-licenses/CC0-1.0
Installing file cygfile:///usr/share/doc/common-licenses/BSD
Installing file cygfile:///usr/share/doc/common-licenses/CC0
io_stream::mklink (cygfile:///usr/share/doc/common-licenses/CC0->cygfile://CC0-1.0)
Installing file cygfile:///usr/share/doc/common-licenses/AFL-1.1
Installing file cygfile:///usr/share/doc/common-licenses/AFL-2.1
Installing file cygfile:///usr/share/doc/common-licenses/AFL
io_stream::mklink (cygfile:///usr/share/doc/common-licenses/AFL->cygfile://AFL-2.1)
Installing file cygfile:///usr/share/doc/common-licenses/Artistic
Installing file cygfile:///usr/share/doc/common-licenses/GPL
io_stream::mklink (cygfile:///usr/share/doc/common-licenses/GPL->cygfile://GPL-3.0)
Installing file cygfile:///usr/share/doc/common-licenses/AFL-2.0
Installing file cygfile:///usr/share/doc/common-licenses/GPL-2
Installing file cygfile:///usr/share/doc/common-licenses/LGPL
io_stream::mklink (cygfile:///usr/share/doc/common-licenses/LGPL->cygfile://LGPL-3.0)
Installing file cygfile:///usr/share/doc/common-licenses/LGPL-2
Installing file cygfile:///usr/share/doc/common-licenses/Apache-2.0
Installing file cygfile:///usr/share/doc/common-licenses/GPL-3.0
Installing file cygfile:///usr/share/doc/common-licenses/AFL-1.2
Installing file cygfile:///usr/share/doc/common-licenses/Apache-1.1
Installing file cygfile:///usr/share/doc/common-licenses/LGPL-3.0
Installing file cygfile:///usr/share/doc/common-licenses/LGPL-2.0
Installing file cygfile:///usr/share/doc/common-licenses/Apache-1.0
Installing file cygfile:///usr/share/doc/common-licenses/Apache
io_stream::mklink (cygfile:///usr/share/doc/common-licenses/Apache->cygfile://Apache-2.0)
Installing file cygfile:///usr/share/doc/common-licenses/MIT
Installing file cygfile:///usr/share/doc/common-licenses/PHP-3.0
Installing file cygfile:///usr/share/doc/common-licenses/GPL-2.0
Installing file cygfile:///usr/share/doc/common-licenses/LGPL-2.1
Installing file cygfile:///usr/share/doc/base-files/
Installing file cygfile:///usr/share/doc/base-files/ChangeLog
Installing file cygfile:///usr/share/doc/base-files/README
2012/02/27 22:17:01 Changing gid back to original
Visited: 276 nodes out of 1996 while creating dependency order.
Dependency order of packages: base-cygwin cygwin libgcc1 libstdc++6 libbz2_1 zlib0 libfreetype6 libjpeg8 libjasper1 libjbig2 liblcms2_2 libltdl7 libpng14 libssp0 libtiff5 libXau6 libXdmcp6 libxcb1 libX11_6 libexpat1 libjpeg7 libpng12 libICE6 libuuid1 libSM6 libXt6 libiconv2 libfontconfig1 libintl8 libidn11 libpaper1 libgs9 libattr1 libgmp3 libsigsegv2 libreadline7 libncurses10 texinfo _update-info-dir gawk tzcode coreutils terminfo libncursesw10 bash ghostscript-fonts-other ghostscript-fonts-std sed which ghostscript libwmf027 libXext6 libxml2 libGraphicsMagick3 GraphicsMagick libfpx1 libfpx libgomp1 liblcms1 libImageMagick1 ImageMagick alternatives m4 libgdbm4 libdb4.5 crypt perl autoconf2.1 autoconf2.5 autoconf automake1.4 automake1.5 automake1.6 automake1.7 automake1.8 automake1.9 liblzma5 diffutils gettext libpcre0 grep less xz automake1.10 automake1.11 automake findutils base-files libncurses9 libreadline6 bc binutils bison libicu48 libboost1.48 libffi4 libsqlite3_0 libopenssl098 python libboost_python1.48 libbz2-devel icu w32api libmpfr1 libmpfr4 libgmpxx4 libppl libcloog0 libmpc1 gcc4-core libstdc++6-devel gcc4-g++ libicu-devel zlib-devel libboost-devel boost-devel bzip2 bzr ca-certificates libpq5 libfcgi0 clisp gzip tar cpio editrights csih ctags libsasl2 libopenldap2_3_0 libssh2_1 libcurl4 curl cvs cvsps libpopt0 dos2unix cygutils groff man cygwin-doc dash libdbus1_3 dbus doxygen libglapi0 libllvm3.0 dri-drivers file flex libfontenc1 mkfontscale mkfontdir fontconfig font-encodings font-adobe-dpi75 font-misc-misc font-alias gsettings-desktop-schemas libfam0 libglib2.0_0 gamin mingw-w32api mingw-runtime libintl3 gcc-mingw-core gcc-core gcc-mingw-g++ gcc-g++ gcc gdb perl-Error git hicolor-icon-theme gnome-icon-theme libXmu6 libXaw3d7 gv xxd vim-common libgdk_pixbuf2.0_0 libatk1.0_0 libpixman1_0 libxcb-render0 libxcb-shm0 libXrender1 libcairo2 libdatrie1 libthai0 libXft2 libpango1.0_0 libXcomposite1 libXfixes3 xcursor-themes libXcursor1 libXdamage1 libXi6 libXinerama1 libXrandr2 shared-mime-info libgtk2.0_0 gvim terminfo0 libncurses8 hexedit ipc-utils libX11-xcb1 libxcb-glx0 libGL1 libGLU1 libXpm4 libXaw7 libXmuu1 libgfortran3 liblapack0 libarpack0 libblkid1 libboost libboost1.43 libicu45 libboost1.46.1 libboost_python1.43 libboost_python1.46.1 libfftw3_3 libfltk1.1 libgpg-error0 libgcrypt11 libglitz1 libglpk0 liblzo2_2 libtasn1_3 libgnutls26 libjpeg62 libgs8 libhdf5_6 libhdf5_7 libicu38 libncursesw-devel libnetpbm10 libqhull_6 libqrupdate0 libxcb-render-util0 libxkbfile1 login luit make makedepend minires mintty netpbm octave openssl readline rebase rgb ruby run tcl tcltk transfig urlgrabber util-linux vim wget whois xauth xfig-lib xfig xmodmap xrdb xkbcomp xkeyboard-config xorg-server xterm xinit zlib 
2012/02/27 22:17:01 running: C:\cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/base-files-profile.sh
Using the default version of /etc/profile.d/lang.sh (/etc/defaults/etc/profile.d/lang.sh)
      0 [main] bash 7552 child_info_fork::abort: cygreadline7.dll: Loaded to different address: parent(0x320000) != child(0x2B0000)
/etc/postinstall/base-files-profile.sh: fork: retry: Resource temporarily unavailable
/etc/postinstall/base-files-profile.sh: fork: Resource temporarily unavailable
2012/02/27 22:17:02 abnormal exit: exit code=254
2012/02/27 22:17:02 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
2012/02/27 22:17:02 Changing gid to Administrators
2012/02/27 22:17:14 note: Installation Complete
2012/02/27 22:17:14 Ending cygwin install

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-02-28 11:33 ` Cygwin errors after altering Windows command prompt shortcut (???) Pat Tressel
  2012-02-28 12:23   ` Corinna Vinschen
@ 2012-02-29  2:27   ` Andrey Repin
  2012-02-29  3:49     ` Pat Tressel
  1 sibling, 1 reply; 13+ messages in thread
From: Andrey Repin @ 2012-02-29  2:27 UTC (permalink / raw)
  To: Pat Tressel, cygwin

Greetings, Pat Tressel!

> Background:  Ok, this is really weird... 

It's even weirder, than you'd think.
Hint: reg:HKEY_CURRENT_USER\Console

Close all console windows, cleanup the color assignments, relogin your
windows session.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 29.02.2012, <03:04>

Sorry for my terrible english...


--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-02-29  2:27   ` Andrey Repin
@ 2012-02-29  3:49     ` Pat Tressel
  2012-02-29 12:52       ` Earnie Boyd
  0 siblings, 1 reply; 13+ messages in thread
From: Pat Tressel @ 2012-02-29  3:49 UTC (permalink / raw)
  To: Andrey Repin

Andrey --

>> Background:  Ok, this is really weird...
>
> It's even weirder, than you'd think.
> Hint: reg:HKEY_CURRENT_USER\Console

Oooooh, that.  I could *not* remember "console".  I was thinking
"terminal" or "you know, whatever it is that Windows runs its command
prompt in" or "the thing that has the text color properties and the
quick edit mode".

(Off topic:  Huh.  So maybe git or msysgit was monkeying around with
the color table...maybe using a non-standard color?)

> Close all console windows, cleanup the color assignments, relogin your
> windows session.

I rebooted.  Aaaand (drumroll) Cygwin setup ran to completion and
fixed the shortcut.

Yay!  Thanks, Andrey!!

Just curious...I wonder what was giving bash fits...

-- Pat

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-02-29  3:49     ` Pat Tressel
@ 2012-02-29 12:52       ` Earnie Boyd
  2012-02-29 21:28         ` Andrey Repin
  0 siblings, 1 reply; 13+ messages in thread
From: Earnie Boyd @ 2012-02-29 12:52 UTC (permalink / raw)
  To: cygwin

On Tue, Feb 28, 2012 at 9:27 PM, Pat Tressel <ptressel@myuw.net> wrote:
> Andrey --
>
>>> Background:  Ok, this is really weird...
>>
>> It's even weirder, than you'd think.
>> Hint: reg:HKEY_CURRENT_USER\Console
>
> Oooooh, that.  I could *not* remember "console".  I was thinking
> "terminal" or "you know, whatever it is that Windows runs its command
> prompt in" or "the thing that has the text color properties and the
> quick edit mode".
>
> (Off topic:  Huh.  So maybe git or msysgit was monkeying around with
> the color table...maybe using a non-standard color?)
>

The MSYS part of msysgit doesn't muck with registry keys.  Maybe
something with tksh that it uses does.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-02-29 12:52       ` Earnie Boyd
@ 2012-02-29 21:28         ` Andrey Repin
  0 siblings, 0 replies; 13+ messages in thread
From: Andrey Repin @ 2012-02-29 21:28 UTC (permalink / raw)
  To: Earnie Boyd, cygwin

Greetings, Earnie Boyd!

>> (Off topic: В Huh. В So maybe git or msysgit was monkeying around with
>> the color table...maybe using a non-standard color?)

> The MSYS part of msysgit doesn't muck with registry keys.  Maybe
> something with tksh that it uses does.

I think it was his own hands.
Windows console colors assignment dialogue have a long-standing behavioral
issues, that can impact the end result, if you're unaware of them.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 29.02.2012, <23:35>

Sorry for my terrible english...


--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
       [not found] ` <CABT-+2rgkM5rG7AFgxPev1vBd534+6q=NkV7-20-N-RAOH=TnQ@mail.gmail.com>
@ 2012-04-30 12:19   ` Pat Tressel
  2012-04-30 13:04     ` Pat Tressel
  0 siblings, 1 reply; 13+ messages in thread
From: Pat Tressel @ 2012-04-30 12:19 UTC (permalink / raw)
  To: cygwin

> bash-4.1$ ls
>       0 [main] bash 8316 child_info_fork::abort: cygreadline7.dll: Loaded to different address: parent(0x3C0000) != child(0x320000)
> bash: fork: retry: Resource temporarily unavailable
>       0 [main] bash 7708 child_info_fork::abort: cygreadline7.dll: Loaded to different address: parent(0x3C0000) != child(0x320000)
> bash: fork: retry: Resource temporarily unavailable
>
> Starting a new Cygwin shell instance got errors from bash before entering a command.

Forget those other things that might have been possible causes -- they
now look like red herrings.  This happened again recently, once after
the system hibernated, and once after a reboot.  (In the second case,
I believe there were no Cygwin windows open when the system was shut
down, but it's possible that the process had not finished exiting and
was killed by shutdown.)

Recall from the previous occurrence that restoring from the last
restore point caused the error to go away, but that's not a good
workaround, as it takes at least half an hour to make a restore point
or restore from it, and restoring throws away anything installed since
the last restore point.

This is a very recent version of Cygwin -- it was updated 6 days ago.

Any ideas what might be wrong?  Perhaps something that wasn't cleaned
up during shutdown if the process did get killed?

Thanks!

-- Pat

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-04-30 12:19   ` Pat Tressel
@ 2012-04-30 13:04     ` Pat Tressel
  0 siblings, 0 replies; 13+ messages in thread
From: Pat Tressel @ 2012-04-30 13:04 UTC (permalink / raw)
  To: cygwin

Just found rebaseall.  After the first run (not as administrator), the
error was still present, but the reported address was different.  Ran
it again as administrator, and after that the error went away.

Odd thing is that although I ran setup last week in order to install
something new, I'd been using Cygwin without errors since then, so
nothing was installed between the time it worked and when it stopped
working.

-- Pat

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-03-01  6:24 ` Pat Tressel
@ 2012-03-01 23:05   ` Andrey Repin
  0 siblings, 0 replies; 13+ messages in thread
From: Andrey Repin @ 2012-03-01 23:05 UTC (permalink / raw)
  To: Pat Tressel, cygwin

Greetings, Pat Tressel!

> On my system, HKEY_CURRENT_USER\Console has a Cygwin subkey (and a Git
> Bash subkey, but I don't use Git Bash).  I don't know if that is still
> in use (given comments re. Cygwin not needing the registry any longer,
> which I may have misinterpreted), but with the odd behavior, maybe it
> is still in use.

_Cygwin_ by itself, as in, an application for it's own needs, not rely on
specific registry settings.
However, there's a number of _system_ settings, which may affect behavior of any
application, that fall into certain criteria.
In case of HKCU\Console\*, it is any console window matching the name of a
subkey. Or any console window, for default color/font/behavior settings.
Likewise, application/library registration in
reg:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
_will_ affect every application in the system.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 02.03.2012, <02:45>

Sorry for my terrible english...


--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
  2012-03-01  6:20 ` Andrey Repin
@ 2012-03-01  6:33   ` Pat Tressel
  0 siblings, 0 replies; 13+ messages in thread
From: Pat Tressel @ 2012-03-01  6:33 UTC (permalink / raw)
  To: Andrey Repin

Andrey --

> These keys created when you mess with console properties of a running
> application.
> I don't touch them and I only have one bogus subkey mentioning "summary.bat"
> Don't remember, what was that batch, though. I just deleted the subkey for
> now.

Aha!  So those subkeys would likely only be present if one had
non-default values...  I already backed up HKEY_CURRENT_USER\Console,
so maybe I can delete its Cygwin subkey and see if anything changes.
(I think Git Bash put its own little self in there -- I see it has a
non-standard font.  I believe I started it once, said "don't need
that", and ignored its shortcut taking up space on my desktop
since...)

-- Pat

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
       [not found] <0105D5C1E0353146B1B222348B0411A20A5C157275@NIHMLBX02.nih.gov>
  2012-03-01  6:20 ` Andrey Repin
@ 2012-03-01  6:24 ` Pat Tressel
  2012-03-01 23:05   ` Andrey Repin
  1 sibling, 1 reply; 13+ messages in thread
From: Pat Tressel @ 2012-03-01  6:24 UTC (permalink / raw)
  To: cygwin

>>>> It's even weirder, than you'd think.
>>>> Hint: reg:HKEY_CURRENT_USER\Console
>>>
>>The MSYS part of msysgit doesn't muck with registry keys. Maybe
>>something with tksh that it uses does.
>
> Since HKEY_CURRENT_USER\Console has subkeys (on my machine) for bash
> and cmd, perhaps the key is created and maintained by Window's console
> handling facilities.  Seems to me to be more likely than a cygwin shell
> knowing about and needing the Windows registry.
>
> Just a guess.

On my system, HKEY_CURRENT_USER\Console has a Cygwin subkey (and a Git
Bash subkey, but I don't use Git Bash).  I don't know if that is still
in use (given comments re. Cygwin not needing the registry any longer,
which I may have misinterpreted), but with the odd behavior, maybe it
is still in use.

-- Pat

--
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] 13+ messages in thread

* Re: Cygwin errors after altering Windows command prompt shortcut (???)
       [not found] <0105D5C1E0353146B1B222348B0411A20A5C157275@NIHMLBX02.nih.gov>
@ 2012-03-01  6:20 ` Andrey Repin
  2012-03-01  6:33   ` Pat Tressel
  2012-03-01  6:24 ` Pat Tressel
  1 sibling, 1 reply; 13+ messages in thread
From: Andrey Repin @ 2012-03-01  6:20 UTC (permalink / raw)
  To: Buchbinder, Barry (NIH/NIAID) [E], cygwin

Greetings, Buchbinder, Barry (NIH/NIAID) [E]!

>>>> It's even weirder, than you'd think.
>>>> Hint: reg:HKEY_CURRENT_USER\Console
>>>
>>The MSYS part of msysgit doesn't muck with registry keys. Maybe
>>something with tksh that it uses does.

> Since HKEY_CURRENT_USER\Console has subkeys (on my machine) for bash
> and cmd, perhaps the key is created and maintained by Window's console
> handling facilities.  Seems to me to be more likely than a cygwin shell
> knowing about and needing the Windows registry.

These keys created when you mess with console properties of a running
application.
I don't touch them and I only have one bogus subkey mentioning "summary.bat"
Don't remember, what was that batch, though. I just deleted the subkey for
now.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 01.03.2012, <10:04>

Sorry for my terrible english...


--
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] 13+ messages in thread

end of thread, other threads:[~2012-04-30 13:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CABT-+2rFSA4V6eoS0f9a1RX7+cmk7NpkQBgGx5DSiHhBSThJyg@mail.gmail.com>
2012-02-28 11:33 ` Cygwin errors after altering Windows command prompt shortcut (???) Pat Tressel
2012-02-28 12:23   ` Corinna Vinschen
2012-02-28 22:50     ` Pat Tressel
2012-02-29  2:27   ` Andrey Repin
2012-02-29  3:49     ` Pat Tressel
2012-02-29 12:52       ` Earnie Boyd
2012-02-29 21:28         ` Andrey Repin
     [not found] ` <CABT-+2rgkM5rG7AFgxPev1vBd534+6q=NkV7-20-N-RAOH=TnQ@mail.gmail.com>
2012-04-30 12:19   ` Pat Tressel
2012-04-30 13:04     ` Pat Tressel
     [not found] <0105D5C1E0353146B1B222348B0411A20A5C157275@NIHMLBX02.nih.gov>
2012-03-01  6:20 ` Andrey Repin
2012-03-01  6:33   ` Pat Tressel
2012-03-01  6:24 ` Pat Tressel
2012-03-01 23:05   ` Andrey Repin

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