Below is a list of bugs that have been found in the 0.6 release. Eventually, either we will provide a patch for these bugs, or document then in the troubleshooting guide. Mon Nov 4 08:54:03 1996 Christopher Hylands * Page 3-16 of the the 0.6 Ptolemy User's manual is incorrect. Javier Contreras reports: I guess I found a typo in the Ptolemy manual reg. Tcl/MATLAB interface: If you try in tycho or ptcl: > ptcl> matlab start > ptcl> matlab send { plot[0 1 2 3] } (as per page 3-16 of manual) is wrong it should be: > ptcl> matlab send { plot([0 1 2 3])} Wed Sep 4 15:44:45 1996 Christopher Hylands * The $PTOLEMY/.alias file is not present in 0.6: (Dick Stevens) There is a copy of that file in patches/alias, the README in the patches directory says: > This file should be renamed as $PTOLEMY/.alias. > See http://ptolemy.eecs.berkeley.edu/prog_man.0.5.2/prog_man_16.html > under the heading > 1.6.1 Aliases for Managing Symbolic Links > for information on how to use these aliases Thu Aug 22 09:27:40 1996 Christopher Hylands * $PTOLEMY/bin/mkPtolemyTree has a number of minor bugs, see http://ptolemy.eecs.berkeley.edu/papers/almagest/docs/prog/html/extending.doc4.html Wed Jul 31 09:38:29 1996 Christopher Hylands * Page 11-5 of the 0.6 User's Manual: (Dieter Schmidt) In paragraph four the parameter Scheduler must be set to 'Loop' for the looping level 2 and not to 'LoopScheduler'. /users/ptolemy/src/domains/cg/hierScheduler/HierCluster.cc confirms this. Fri Jul 26 14:43:54 1996 Christopher Hylands * src/domains/de/stars/DEEther.pl: (Brian Evans) Yair Enden wrote: I have a DE universe containing DEEtherRec and DEEtherSend stars . The DEEtherSend reside within galaxy . The universe run well for the first time , but if I open the galaxy and 'edit' the DEEtherSend parameters (without actually changing any parameter) then pigi collapse. The fix is to initialize 'med' in the constructor. See: ftp://ptolemy.eecs.berkeley.edu/pub/ptolemy/mailing-lists/ptolemy-hackers.archive-split/9607 for more information Thu Jul 18 12:47:10 1996 Christopher Hylands * src/kernel/State.cc: (Michael Kurz, Yu Kee Lim} If you used 0xe as a parameter value, it would be misinterpreted. See the ptolemy-hackers logs at ftp://ptolemy.eecs.berkeley.edu/pub/ptolemy/mailing-lists/ptolemy-hackers.archive-split/9607 for more information. Thu Jun 20 13:45:27 1996 Christopher Hylands * mk/config-sun4.mk: (Jose Pino) The SDF/CGC wormhole demos may fail under SunOS4.1.3. The fix is to add the following text after the config-g++.mk directive in mk/config-sun4.mk # -fPIC should not be used for SunOS4.1.3, as Ptolemy under that OS uses # ld style incremental linking, not dlopen style linking INC_LINK_FLAGS = Fri May 3 13:28:46 1996 Christopher Hylands * src/domains/de/kernel/DEScheduler.cc: (Tom Lane) The crash occurs due to a null pointer dereference when a DE star nominates a multiporthole as the target of a before() relation, and the multiporthole happens to have no members at runtime. Until the patch makes it into the release, please see the ptolemy-hacker archive for the patch. Wed May 1 09:36:07 1996 Christopher Hylands * bin/g++-setup: (Javier Contreras, Christopher Hylands) If you are running under SunOS4.1.x, and using the prebuilt GNU binaries but your ptolemy distribution is not at /users/ptolemy, then you may need to set the following variables. unsetenv GCC_EXEC_PREFIX unsetenv C_INCLUDE_PATH unsetenv CPLUS_INCLUDE_PATH setenv LIBRARY_PATH $PTOLEMY/gnu/$PTARCH/lib setenv COMPILER_PATH $PTOLEMY/gnu/$PTARCH/lib/gcc-lib/$PTARCH/2.7.2 setenv GCC_INCLUDE_DIR $PTOLEMY/gnu/$PTARCH/lib/gcc-lib We are looking into this further. * src/gnu/README: (Christopher Hylands) Added the following text: DEC Alpha --------- If you are trying to build gcc-2.7.2 under OSF3.2, you may need to modify $PTOLEMY/src/gnu/src/gcc/config/alpha/x-alpha and add -lots to CLIB: CLIB=-lots -lmld If you, then while you are compiling collect2, you may see messages like: Unresolved: _OtsRemainder32Unsigned Tue Apr 30 14:05:23 1996 Christopher Hylands * mk/config-alpha.mk: Incremental linking fails on the DEC Alpha, The message is: Error: Error linking file /tmp/__ptlink22117_0.so: dlopen: The shared-library API is not supported for non_shared executables. The fix is to modify config-alpha.mk so that the -shared option is not present in LINKFLAGS. It seems like it is possible to build a shared library pigiRpc on the DEC alpha, but it is necessary to build g++ with a shared libg++.so Currently the DEC alpha binaries on the Ptolemy ftp site will not allow incremental linking of new stars. Fri Apr 26 13:56:37 1996 Christopher Hylands * src/utils/libexttools/MatlabIfc.cc: (Brian Evans) If tycho -ptiny was run in the background, then a Matlab console could hang tycho. The fix is: *************** *** 247,253 **** --- 247,263 ---- // manage the Matlab process (low-level methods) // start a Matlab process + // FIXME: This is a hack to workaround problems in the Matlab 4 engine + // interface that affects System V operating systems like Solaris and HP. + // Problem is that engClose routine issues ioctl(2, TIOCGWINSZ, 0xEFFFC028) + // which attempts to get the window size of terminal that does not exist. + // This showed up when running tycho and opening a Matlab console. + // If one runs tycho as "tycho -ptiny >/dev/null" then the problem does + // not exist. -- ble, cxh Engine* MatlabIfc :: MatlabEngineOpen(char* unixCommand) { + // A better solution is to use ioctl to sever the association + // from the parent stderr and the matlab engine stderr + freopen("/dev/null", "w", stderr); return engOpen(unixCommand); } Thu Apr 25 10:51:55 1996 Christopher Hylands * mk/config-sun4.mk: mk/config-sun4.debug.mk: (Javier Contreras) Add -g to LOCALCCFLAGS so that the files are compiled with debugging. As a result the sun4 prebuilt binaries that are currently on the ftp site were not compiled with debugging. Wed Apr 24 22:28:01 1996 Christopher Hylands * mk/userstars.mk: (Attila Jurecska) Rather than trying to run ptlang from the obj.$PTARCH/ptlang directory, we should just assume that it is at $PTOLEMY/bin.$(PTARCH)/ptlang Thu Apr 18 10:58:50 1996 Christopher Hylands * tarfiles: (Uwe.Trautwein, Christopher Hylands) GNU tar under irix fails to extract doc/users_man because the directories are not in the tar file. The fix is to make sure ptolemy/doc and ptolemy/doc/users_man are in the tar file. * config-hppa.cfront.mk: (Jack Glas, Christopher Hylands) Need to add -fwritable-strings to OCT_CC LIBGCC_SPEC needs to be in the right place or we get __eprintf undefined * src/tycho/kernel/EntryQuery.itcl: (Joel King) Fix for version control to work * src/mk/ptbin.mk: (Christopher Hylands) Need to add $(STRIP_DEBUG) to ptbin.mk, or hpux9.x produces a 26Mb ptcl * config-hppa9.mk: New file for HPUX9.x, based on a file provided by Tom Lane. See ftp://ptolemy.eecs.berkeley.edu/pub/ptolemy/contrib/hppa9/config-hppa9.mk