X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0	tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <50F83563.7070804@alice.it>
Date: Thu, 17 Jan 2013 18:31:15 +0100
From: Angelo Graziosi <angelo.graziosi@alice.it>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: Cygwin <cygwin@cygwin.com>
Subject: Problems with mkshortcut
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

It seems that mkshortcut has problems with "AD" options: it hangs and 
stack dumps.

Indeed,

$ mkshortcut.exe -n MyApp -a foo -i foo.ico -d "MyApp application" foo.exe

works fine, but

$ mkshortcut.exe -AD -n MyApp -a foo -i foo.ico -d "MyApp application" 
foo.exe

hangs (only with task manager I can stop the process) and creates

$ cat mkshortcut.exe.stackdump
Stack trace:
Frame     Function  Args
0022A258  7C802542  (00000690, 0000EA60, 000000A4, 0022A354)
0022A378  610DC559  (00240000, 7C920222, 00000023, 00240D18)
0022A468  610D9913  (00000000, 0063006F, 006D0075, 006E0065)
0022A4C8  610D9DEE  (0024B240, 01CDF4D7, B3FF07D6, 00000006)
0022A578  610D9F40  (00000598, 00000006, 0022A5D8, 0024EBC0)
0022A598  610D9F6C  (00000006, 00000006, 00000118, 0024B240)
0022A5C8  610DA233  (0022AA20, 0000002B, 0000002C, 61083197)
200486D8  61110C45  (00000000, 00000000, 00000000, 00000000)

The last time (feb. 2012) I used mkshortcut, it worked fine also with "-AD".


Ciao,
  Angelo.

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

