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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 30 Jun 2003 08:55:55 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Anders Johansson cc: cygwin AT cygwin DOT com Subject: Re: Matlab and cygwin dll files In-Reply-To: <20030630112404.GD19058@watri.org.au> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 30 Jun 2003, Anders Johansson wrote: > Hi, > > I have a problem, I have used cygwin to port a Matlab mex file for > reading XML files from Linux to Windows XP. A mex file is a renamed > dll file in Windows. > > The fist time I load the mex file in matlab after a reboot it runs > perfectly. If I exit Matlab and restart if a second time it still runs > fine. After the third restart it crashes matlab every time I run it. I > have tried to strip the file to nothing to make sure there aren't any > bugs in the file that causes the problems. Sometimes after I rebuild > the file (without changing anything in the functional structure of the > file) I can run it again. > > I have seen similar problems posted by other people but no replies. > The problem seems to originate from loading and unloading of the > cygwin1 dll. > > Please help me, > //Anders Anders, The Cygwin DLL currently cannot be dynamically loaded and unloaded. AFAIK, nobody's working on this at the moment, but patches will, of course, be thoughtfully considered. 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/