This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cygwin64: mkshortcut - Segmentation fault
- From: Vasiliy <testtest_2005 at ukr dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 7 Jun 2013 14:35:18 +0200
- Subject: Cygwin64: mkshortcut - Segmentation fault
Original suspect:
~~~~~~~~~~~~
user@host /etc/postinstall
$ cat /etc/postinstall/xinit.sh
/usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X"
/usr/bin/mkshortcut $CYGWINFORALL -P -i /usr/bin/XWin.exe -n
"Cygwin-X/XWin Server" -a "/usr/bin/bash.exe -l -c
/usr/bin/startxwin.exe" /usr/bin/run.exe
user@host /etc/postinstall
$ env V=2 VERBOSE=2 xinit.sh
./xinit.sh: line 2: 22136 Aborted (core dumped)
/usr/bin/mkshortcut $CYGWINFORALL -P -i /usr/bin/XWin.exe -n
"Cygwin-X/XWin Server" -a "/usr/bin/bash.exe -l -c
/usr/bin/startxwin.exe" /usr/bin/run.exe
Real cause:
~~~~~~~~
user@host /etc/postinstall
$ /usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X"
user@host /etc/postinstall
$ /usr/bin/mkshortcut $CYGWINFORALL -P -i /usr/bin/XWin.exe -n
"Cygwin-X/XWin Server" -a "/usr/bin/bash.exe -l -c
/usr/bin/startxwin.exe" /usr/bin/run.exe
Aborted (core dumped)
$ cygcheck -f /usr/bin/mkshortcut.exe
cygutils-1.4.12-1
$ /bin/tar -C/ -jxvf cygutils-1.4.12-2.tar.bz2
usr/bin/cygstart.exe
usr/bin/mkshortcut.exe
usr/bin/readshortcut.exe
usr/share/man/man1/cygstart.1.gz
usr/share/man/man1/mkshortcut.1.gz
usr/share/man/man1/readshortcut.1.gz
???:
$ cygcheck -f /usr/bin/mkshortcut.exe
cygutils-1.4.12-1
$ /usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X"
$ /usr/bin/mkshortcut $CYGWINFORALL -P -i /usr/bin/XWin.exe -n
"Cygwin-X/XWin Server" -a "/usr/bin/bash.exe -l -c
/usr/bin/startxwin.exe" /usr/bin/run.exe
4 [main] mkshortcut (9880) C:\cygwin64\bin\mkshortcut.exe: ***
fatal error - cygheap base mismatch detected - 0x0/0x61272950.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
Segmentation fault
$ uname -a
CYGWIN_NT-6.1 Luminous 1.7.20(0.266/5/3) 2013-06-06 17:36 x86_64 Cygwin
--
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