[kepler-dev] [Bug 3233] - finalize ptolemy matlab actor for 1.0 release

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Apr 24 12:22:41 PDT 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3233





------- Comment #8 from cxh at eecs.berkeley.edu  2008-04-24 12:22 -------
I'm not sure what's up with c:/Windows/System32/ptmatlab.dll.
The file I have is
$ ls -l c:/Windows/System32/ptmatlab.dll
-rwxrwxrwx 1 cxh Administrators 53248 Apr 23 15:24
c:/Windows/System32/ptmatlab.
dll

It was the same as the one that was checked in at 1.1 of ptmatlab.dll.
However, running the Kepler MatlabExpression.xml demo caused Kepler to
hang during the load of ptmatlab.dll for me when Kepler was invoked
under Cygwin (via kepler.sh).  I also had errors under DOS with Kepler.bat.

Concerning cygwin, it matters how recent cygwin and gcc are.  Newer versions
cause problems, older versions work. See $PTII/jni/package.html.
I'll include the output of cygcheck -s as an attachment.

Does the current ptmatlab.dll work for you?

BTW - any idea why c:/Windows/System32/ptmatlab.dll exists?
I think it shows up during the loadLibary() call
by Java, but I have not looked into it.  In general, I feel it is _very_
poor that any dlls end up in c:/Windows/System32.  It is poor because it
is a security hole, it is poor because it means that multiple users can't
share a machine.  I guess this is a Windows/Java botch.

BTW - The version that was in CVS was much smaller.

Also, it looks like ptmatlab.dll was not checked in with -kb, so it
could get corrupted.

$ cvs status ptmatlab.dll
===================================================================
File: ptmatlab.dll      Status: Up-to-date

   Working revision:    1.2
   Repository revision: 1.2     /cvs/kepler/lib/ptmatlab.dll,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)


Compare this with garp.dll

$ cvs status garp.dll
===================================================================
File: garp.dll          Status: Up-to-date

   Working revision:    1.2
   Repository revision: 1.2     /cvs/kepler/lib/garp.dll,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      -kb


More information about the Kepler-dev mailing list