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: "Shaddy Baddah" Subject: Re: cygwin crashes when loading DLL Date: Tue, 20 May 2003 14:12:11 +0800 Lines: 50 Message-ID: References: <000901c2b34e$b95bd720$afd956cf AT DIGITALS04> X-Complaints-To: usenet AT main DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 appreciated. Thanks in advance, Shaddy "Robert Bercik" wrote in message news:000901c2b34e$b95bd720$afd956cf AT DIGITALS04... > Hi, > > 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 > output: > > c:\cobol32\exedll\run.exe: *** cygheap version > mismatch detected - 0x615C0000/0x > EC0000. > You have multiple copies of cygwin1.dll on your > system. > 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/