delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/13/12:05:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 13 Oct 2001 12:05:10 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: aj AT haightmail DOT org
Subject: Re: 1.3.3-2: Standard out writes fail after cygwin generated dll loaded
Message-ID: <20011013120510.A29512@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, aj AT haightmail DOT org
References: <20011013040052 DOT A5293 AT zappa>
Mime-Version: 1.0
In-Reply-To: <20011013040052.A5293@zappa>
User-Agent: Mutt/1.3.21i

On Sat, Oct 13, 2001 at 04:00:52AM -0700, Aj Lavin wrote:
>I used cygwin 1.3.3-2 under Windows 2000 to create a JNI dll which I
>then loaded in a java Application. 
>
>When run in a DOS shell, the java Application succeeds in writing to
>standard output up until the point when the dll is loaded. All
>subsequent writes give no output. Also, no errors were reported by the
>Sun JVM 1.3, even with -verbose.
>
>When run in the Cygwin shell, the java Application works. The
>application continues to write to standard output after the dll is
>loaded.
>
>I believe this error is related to the report "Standard streams closed
>when g++-produced DLL loaded"
>(http://gcc.gnu.org/ml/gcc-prs/2001-07/msg00739.html) which was made
>by lerios at cs dot stanford dot edu.
>
>All the relevant files are attached.

This is one of those bugs that needs to be tracked down by the person
experiencing the problem.

I'd suggest firing up gdb and seeing what is going wrong.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019