public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut
@ 2016-07-28  7:09 prabhakar gupta
  2016-07-28 13:09 ` Douglas Coup
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: prabhakar gupta @ 2016-07-28  7:09 UTC (permalink / raw)
  To: cygwin

Hi there,
                I had some problem during my installation of cygwin. I have pasted the contents of log below:
After getting the "installation cocmpleted" message I double clicked on the MINTTY.EXE shortcut and go the following error:
"The procedure entry point cancelsynchronousio could not be located in the dynamic link libraryKERNEL32.DLL". The error message window closed after that. I will appreciate if someone can help me to fix this problem. I have installed in on Windows XP SP3 and it is a fresh installation of cygwin.

Thanks,
Prabhakar
************************************************************************************
2016/07/27 23:21:06 running: C:\cygwin\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
2016/07/27 23:21:11 abnormal exit: exit code=-1073741511
2016/07/27 23:21:11 running: C:\cygwin\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
2016/07/27 23:21:15 abnormal exit: exit code=-1073741511
2016/07/27 23:21:15 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/000-cygwin-post-install.sh"
2016/07/27 23:21:16 abnormal exit: exit code=-1073741511
2016/07/27 23:21:16 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/coreutils.sh"
2016/07/27 23:21:17 abnormal exit: exit code=-1073741511
2016/07/27 23:21:17 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/bash.sh"
2016/07/27 23:21:18 abnormal exit: exit code=-1073741511
2016/07/27 23:21:18 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-mketc.sh"
2016/07/27 23:21:18 abnormal exit: exit code=-1073741511
2016/07/27 23:21:18 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-profile.sh"
2016/07/27 23:21:19 abnormal exit: exit code=-1073741511
2016/07/27 23:21:19 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/ca-certificates.sh"
2016/07/27 23:21:19 abnormal exit: exit code=-1073741511
2016/07/27 23:21:19 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/lynx.sh"
2016/07/27 23:21:19 abnormal exit: exit code=-1073741511
2016/07/27 23:21:19 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/man-db.sh"
2016/07/27 23:21:20 abnormal exit: exit code=-1073741511
2016/07/27 23:21:20 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/mintty.sh"
2016/07/27 23:21:21 abnormal exit: exit code=-1073741511
--
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] 8+ messages in thread

* Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut
  2016-07-28  7:09 getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut prabhakar gupta
@ 2016-07-28 13:09 ` Douglas Coup
  2016-07-28 13:14   ` Corinna Vinschen
  2016-07-28 21:39 ` Warren Young
  2016-09-01 14:14 ` Fjor
  2 siblings, 1 reply; 8+ messages in thread
From: Douglas Coup @ 2016-07-28 13:09 UTC (permalink / raw)
  To: cygwin

On 7/28/2016 12:00 AM, prabhakar gupta wrote:
> Hi there,
>                  I had some problem during my installation of cygwin. I have pasted the contents of log below:
> After getting the "installation cocmpleted" message I double clicked on the MINTTY.EXE shortcut and go the following error:
> "The procedure entry point cancelsynchronousio could not be located in the dynamic link libraryKERNEL32.DLL". The error message window closed after that. I will appreciate if someone can help me to fix this problem. I have installed in on Windows XP SP3 and it is a fresh installation of cygwin.
>
> Thanks,
> Prabhakar
> ************************************************************************************
> 2016/07/27 23:21:06 running: C:\cygwin\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
> 2016/07/27 23:21:11 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:11 running: C:\cygwin\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
> 2016/07/27 23:21:15 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:15 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/000-cygwin-post-install.sh"
> 2016/07/27 23:21:16 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:16 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/coreutils.sh"
> 2016/07/27 23:21:17 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:17 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/bash.sh"
> 2016/07/27 23:21:18 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:18 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-mketc.sh"
> 2016/07/27 23:21:18 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:18 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-profile.sh"
> 2016/07/27 23:21:19 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:19 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/ca-certificates.sh"
> 2016/07/27 23:21:19 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:19 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/lynx.sh"
> 2016/07/27 23:21:19 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:19 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/man-db.sh"
> 2016/07/27 23:21:20 abnormal exit: exit code=-1073741511
> 2016/07/27 23:21:20 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/mintty.sh"
> 2016/07/27 23:21:21 abnormal exit: exit code=-1073741511
> --
> 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

If this is the latest and greatest Cygwin, I believe the most recent 
release is the first release that won't work on Windows XP.

Regards,

Doug Coup

Objective Systems, Inc.
REAL WORLD ASN.1 AND XML SOLUTIONS
Tel: +1 (484) 875-9841
Fax: +1 (484) 875-9830
Toll-free: (877) 307-6855 (USA only)
http://www.obj-sys.com


>
>


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

* Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut
  2016-07-28 13:09 ` Douglas Coup
@ 2016-07-28 13:14   ` Corinna Vinschen
  0 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2016-07-28 13:14 UTC (permalink / raw)
  To: cygwin

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

On Jul 28 08:58, Douglas Coup wrote:
> On 7/28/2016 12:00 AM, prabhakar gupta wrote:
> > Hi there,
> >                  I had some problem during my installation of cygwin. I have pasted the contents of log below:
> > After getting the "installation cocmpleted" message I double clicked on the MINTTY.EXE shortcut and go the following error:
> > "The procedure entry point cancelsynchronousio could not be located in the dynamic link libraryKERNEL32.DLL". The error message window closed after that. I will appreciate if someone can help me to fix this problem. I have installed in on Windows XP SP3 and it is a fresh installation of cygwin.
> > 
> > Thanks,
> > Prabhakar
> > ************************************************************************************
> > 2016/07/27 23:21:06 running: C:\cygwin\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
> > [...]
> If this is the latest and greatest Cygwin, I believe the most recent release
> is the first release that won't work on Windows XP.

Cygwin 2.5.2 still runs on XP and Server 2003.  Only with the current
test release 2.6.0 XP/2003 support has been removed.


Corinna

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

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

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

* Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut
  2016-07-28  7:09 getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut prabhakar gupta
  2016-07-28 13:09 ` Douglas Coup
@ 2016-07-28 21:39 ` Warren Young
  2016-07-29  7:38   ` Thomas Wolff
  2016-09-01 14:14 ` Fjor
  2 siblings, 1 reply; 8+ messages in thread
From: Warren Young @ 2016-07-28 21:39 UTC (permalink / raw)
  To: The Cygwin Mailing List

On Jul 27, 2016, at 10:00 PM, prabhakar gupta <gupta_prabhakar@hotmail.com> wrote:
> 
> After getting the "installation cocmpleted" message I double clicked on the MINTTY.EXE shortcut and go the following error:
> "The procedure entry point cancelsynchronousio could not be located in the dynamic link libraryKERNEL32.DLL”.

Indeed, that Windows API function does not exist on XP:

  https://msdn.microsoft.com/library/windows/desktop/aa363794.aspx

Does this not show that the Cygwin DLL is trying to call it?

$ objdump -x /bin/cygwin1.dll | grep CancelSync
[22724](sec  2)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000ad0 _win32_CancelSynchronousIo
[23658](sec  2)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000ad0 CancelSynchronousIo


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

* Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut
  2016-07-28 21:39 ` Warren Young
@ 2016-07-29  7:38   ` Thomas Wolff
  2016-07-29 10:39     ` Corinna Vinschen
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Wolff @ 2016-07-29  7:38 UTC (permalink / raw)
  To: cygwin

Am 28.07.2016 um 22:30 schrieb Warren Young:
> On Jul 27, 2016, at 10:00 PM, prabhakar gupta <gupta_prabhakar@hotmail.com> wrote:
>> After getting the "installation cocmpleted" message I double clicked on the MINTTY.EXE shortcut and go the following error:
>> "The procedure entry point cancelsynchronousio could not be located in the dynamic link libraryKERNEL32.DLL”.
> Indeed, that Windows API function does not exist on XP:
>
>    https://msdn.microsoft.com/library/windows/desktop/aa363794.aspx
>
> Does this not show that the Cygwin DLL is trying to call it?
I've tested mintty 2.4.2 on cygwin 2.5.2 on Windows XP and it works fine 
here.
Thomas

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

* Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut
  2016-07-29  7:38   ` Thomas Wolff
@ 2016-07-29 10:39     ` Corinna Vinschen
  0 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2016-07-29 10:39 UTC (permalink / raw)
  To: cygwin

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

On Jul 28 23:39, Thomas Wolff wrote:
> Am 28.07.2016 um 22:30 schrieb Warren Young:
> > On Jul 27, 2016, at 10:00 PM, prabhakar gupta <gupta_prabhakar@hotmail.com> wrote:
> > > After getting the "installation cocmpleted" message I double clicked on the MINTTY.EXE shortcut and go the following error:
> > > "The procedure entry point cancelsynchronousio could not be located in the dynamic link libraryKERNEL32.DLL”.
> > Indeed, that Windows API function does not exist on XP:
> > 
> >    https://msdn.microsoft.com/library/windows/desktop/aa363794.aspx
> > 
> > Does this not show that the Cygwin DLL is trying to call it?
> I've tested mintty 2.4.2 on cygwin 2.5.2 on Windows XP and it works fine
> here.

CancelSynchronousIo is dynamically loaded by the Cygwin DLL up to version
2.5.2.  If loading fails, the DLL falls back to other, somewhat unsafe
code on pre-Vista.


Corinna

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

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

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

* Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut
  2016-07-28  7:09 getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut prabhakar gupta
  2016-07-28 13:09 ` Douglas Coup
  2016-07-28 21:39 ` Warren Young
@ 2016-09-01 14:14 ` Fjor
  2016-09-01 14:46   ` Corinna Vinschen
  2 siblings, 1 reply; 8+ messages in thread
From: Fjor @ 2016-09-01 14:14 UTC (permalink / raw)
  To: cygwin

Hi, Prabhakar,

I upgraded my cygwin in XP to 2.6 and found that it doesn't work, so I
opened the last 32bit installer again and in the "Select packages" section
clicked the <View> button to change to full list view, and then searched 
for "cygwin" (without the quotes). The list showed three packages with the
2.6.0 version. I clicked in the version number to change it to 2.5.2 (in
"cygwin" and "cygwin-devel") and 2.5.0 (in "cygwin-doc"), then clicked on
<Next> to continue the installation.

The installer downgraded the libraries. The shell terminal and cron, sshd 
services worked again!

I have not tested this in a new installation, as this is the only XP system
I 
keep in operation to run some 16bit apps, the rest being win7/8.1s, but I 
hope you can do the same to downgrade your cygwin. 

Of course, when we have to upgrade packages again in the future, we must 
confirm that these three packages are marked "keep" to avoid them to be 
modified by the installer during the upgrading process.

Regards,
Fjor



--
View this message in context: http://cygwin.1069669.n5.nabble.com/getting-cancelsynchronous-IO-error-when-starting-mintty-exe-from-Windows-XP-desktop-shortcut-tp128605p129674.html
Sent from the Cygwin list mailing list archive at Nabble.com.

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

* Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut
  2016-09-01 14:14 ` Fjor
@ 2016-09-01 14:46   ` Corinna Vinschen
  0 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2016-09-01 14:46 UTC (permalink / raw)
  To: cygwin

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

On Sep  1 07:14, Fjor wrote:
> Hi, Prabhakar,
> 
> I upgraded my cygwin in XP to 2.6 and found that it doesn't work,

https://cygwin.com/ml/cygwin-announce/2016-08/msg00114.html, second
paragraph.

> Of course, when we have to upgrade packages again in the future, we must 
> confirm that these three packages are marked "keep" to avoid them to be 
> modified by the installer during the upgrading process.

The 2.5.2 package will go away at one point.  Keep a copy, but there's
no guarantee that future applications will continue to work on 2.5.2,
given that we add API entry points.


Corinna

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

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

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

end of thread, other threads:[~2016-09-01 14:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-28  7:09 getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut prabhakar gupta
2016-07-28 13:09 ` Douglas Coup
2016-07-28 13:14   ` Corinna Vinschen
2016-07-28 21:39 ` Warren Young
2016-07-29  7:38   ` Thomas Wolff
2016-07-29 10:39     ` Corinna Vinschen
2016-09-01 14:14 ` Fjor
2016-09-01 14:46   ` Corinna Vinschen

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