This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Matlab and cygwin dll files


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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]