getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

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

Reply | Threaded
Open this post in threaded view
|

Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

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

Reply | Threaded
Open this post in threaded view
|

Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

Corinna Vinschen-2
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

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

Warren Young-2
In reply to this post by prabhakar gupta
On Jul 27, 2016, at 10:00 PM, prabhakar gupta <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

Thomas Wolff
Am 28.07.2016 um 22:30 schrieb Warren Young:
> On Jul 27, 2016, at 10:00 PM, prabhakar gupta <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

Corinna Vinschen-2
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 <[hidden email]> 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

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

Fjor
In reply to this post by prabhakar gupta
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
Reply | Threaded
Open this post in threaded view
|

Re: getting cancelsynchronous IO error when starting mintty.exe from Windows XP desktop shortcut

Corinna Vinschen-2
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

signature.asc (836 bytes) Download Attachment