Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Shankar Unni Subject: jar.exe (part of Gcc) crash if started from non-cygwin shell Date: Mon, 27 Jan 2003 11:21:26 -0800 Lines: 31 Message-ID: <3E3586B6.3050505@cotagesoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en Jar.exe (now part of GCC!) crashes on *some* jar files, if it's started from a non-cygwin shell (e.g. CMD). Don't think it's a problem in jar per se, however. It works if it's started from another cygwin program (even "env"). And it works on many jar files (including all the Jars shipped with JDK 1.4.1), but crashes on *some* jars produced by that self-same JDK. All latest bits as of this morning. Cygcheck -s shows: gcc 3.2-3 cygwin 1.3.19-1 OS is WinXP Pro SP1. My CYGWIN environment variable is not set at all. However, this crash happens even if I do set it (I've tried different settings, including "tty", "tty ntsec" and "ntsec"). I can include a sample jar file that crashes jar.exe, but am not sure if I should attach it to this mail, or in what format.. PS It was a bit of a surprise finding jar.exe part of GCC now. In fact, I only ran into this because I have Cygwin in my PATH before the JDK; so I have a simple workaround anyway (fix the $PATH, or remove jar.exe :-)). -- Shankar. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/