This is the mail archive of the
mailing list for the Cygwin project.
Re: cygwin crashes when loading DLL
- From: "Shaddy Baddah" <Shaddy_Baddah at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 20 May 2003 14:12:11 +0800
- Subject: Re: cygwin crashes when loading DLL
- References: <000901c2b34e$b95bd720$afd956cf@DIGITALS04>
I am having exactly the same problem trying to build Java JNI's under Cygwin
(actually, they are the examples from the 'GNU Win32 related projects'
page ). Robert Bercik, did discover a fix for the problem you encountered?
I have more weirdness to describe. I can run the Java app that loads in the
JNI under a regular Windows 2000 'cmd' window and it works fine, regardless
of whether there is a cygwin1.dll active or not. But if I try and run the
same Java app from within a cygwin shell, it crashes in the same way. There
must be a simple explanation/fix to this one. Help would be greatly
Thanks in advance,
"Robert Bercik" <firstname.lastname@example.org> wrote in message
> Wierd problem. Here's what's going on. I am
> loading a Cobol .dll from cygwin after succesfully
> creating a .def and .a import lib using dlltool. But
> when I run the program it crashes and generates this
> c:\cobol32\exedll\run.exe: *** cygheap version
> mismatch detected - 0x615C0000/0x
> You have multiple copies of cygwin1.dll on your
> Search for cygwin1.dll using the Windows
> Start->Find/Search facility
> and delete all but the most recent version. The most
> recent version *should*
> reside in x:\cygwin\bin, where 'x' is the drive on
> which you have
> installed the cygwin distribution.
> I did a search and I only have 1 cygwin1.dll, so that
> is not the problem. I'm guessing there might be some
> kind of conflict between the microsoft .DLL and
> cygwin? Anyone know what could be wrong?=20
> Thanks a lot guys,
> -Rob B.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html