This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin64: mkshortcut - Segmentation fault
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Tue, 11 Jun 2013 09:02:23 -0400
- Subject: Re: Cygwin64: mkshortcut - Segmentation fault
- References: <51B63B43 dot 4070604 at alice dot it>
On 6/10/2013 4:46 PM, Angelo Graziosi wrote:
Just for the record,
Vasiliy wrote:
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)
I flagged a similar problem a few months ago for Cygwin32:
http://www.cygwin.com/ml/cygwin/2013-01/msg00261.html
It still survives in 1.7.20-1...
AFAICT, this is a completely different problem. The only similarity to
Vasiliy's report is that both (appear to) involve mkshortcut. I believe
your report has to do with error handling when attempting to modify the
All User's Desktop, when you don't actually retain the elevated
permissions necessary to do so.
However, mkshortcut shouldn't *hang* in that case, so it's definitely
mkshortcut bug. I just haven't had the cycles to track it down and fix
it. PTC...
--
Chuck
--
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