delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/09/16:54:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 9 Mar 2004 16:53:46 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Martin Proefrock <Martin AT Proefrock DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: Loading gcc-compiled DLL with Java (JNI) crashes when using newer (>1.5.5) cygwin1.dll
In-Reply-To: <404E3A33.4090805@Proefrock.de>
Message-ID: <Pine.GSO.4.56.0403091647360.18797@slinky.cs.nyu.edu>
References: <404E2A9B DOT 10804 AT Proefrock DOT de> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040309160528 DOT 03d47338 AT 127 DOT 0 DOT 0 DOT 1> <404E3A33 DOT 4090805 AT Proefrock DOT de>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Tue, 9 Mar 2004, Martin Proefrock wrote:

> >>It just worked fine with 1.5.5. Now, using 1.5.7, Java crashes inside
> >>the System.LoadLibrary call, even with a nearly empty DLL.
>
> > Try a snapshot. <http://cygwin.com/snapshots/>
>
> It still crashes when using the latest snapshot 20040306.

The core Cygwin DLL (/bin/cygwin1.dll) has no support for dynamic loading.
You may have been lucky before in that the functionality you had in your
DLL didn't require the loading of the core one.  Apparently this has
changed between 1.5.5 and 1.5.7.  Since this isn't supported, you're
basically on your own...  Sorry.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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