href=http://www.son.washington.edu/~brianp>brianp@u.washington.edu

Using Multiple paths in CDmediaPath is unstable

I am able to reproduce this problem. I do not know what is going on, but your reproduce case is very detailed. Our developers have both the repro case and the book available to them to look at.

Rob Fink
Asymetrix

><> >MTUG BUG #7 (Melbourne Toolbook User Group Identified Bug) > >Subject: Using Multiple paths in CDmediaPath is unstable >Version: MM Toolbook CBT edition / 3.0a >Detected by: Andy Bulka abulka@empire.com.au >Date: 18-Sep-1995 > >Description of Crash and probable cause >======================================= >Referring to clips that rely on a media path being prefixed >to the clip may cause crashes, when the necessary path to >resolve the clip reference is found in position 3 of CDMediaPath. > >To Reproduce >============ > >*1. Create a new book. >*2. Add this Book Script: > >to handle enterApplication > -- Notice the path we actually use is the third item > -- of the CDMediaPath. The first two paths "c:\tmp,c:\windows" > -- are there as placeholders. If you don't have a c:\tmp > -- then use someplace else, as long as it is not c:\ > -- Using "c:\" as a placeholder means clips will be offset > -- from c:\ rather than c:\mtb30, which is not what we want. > > CDMediaPath of this book = "c:\tmp,c:\windows,c:\mtb30" > forward >end > >*3. Create a button and add this script: > >to handle buttonClick > clp = clip "AAA" > mmOpen clp > mmYield > > mmPlay clp notify self > mmYield >end >to handle mmNotify > mmClose clip "AAA" > mmYield > > mmOpen clip "VVV" > mmYield >end > >*4. Create an audio clip via the clip manager e.g. point to the > sample wave file c:\mtb30\samples\carhorn.wav. > Because you have not yet set up any Media Paths, the FULL > path to this wave file will be recorded. > Call this clip "AAA" > >*5. Save the book, exit the book, restart the book. > Now the CDMediaPath of this book will be set, due to > the enterApplication handler you entered in step 2. > >*6. Import the second and final clip c:\mtb30\samples\asym01.avi > > This time, we do NOT want the full path to the clip recorded, > so after you name the clip "VVV" click on "Choose..." On Media > Paths Of: and select CD path. > The mmSource of the clip should then be just "samples\asym01.avi" > >*7. Save the book, exit the book, restart the book. > >*8. Now press the button and you will GPF. Restart Windows. > > >>> If you change the enterApplication script and remove: > CDMediaPath of this book = "c:\tmp,c:\windows,c:\mtb30" > ^^^^^^^^^^^^^^^^^^ > you will then have ONE path specified in CDMediaPath, > and after saving, restarting the app, the bug should > disappear. > > What seems to be happening is this: > =================================== > Referring to clips that rely on a media path being > prefixed to the clip may cause crashes, when the > necessary path is in position 3 or higher in > the CDMediaPath. > > Solution: Do not use more than one path in CDMediaPath > or HDMediaPath. > > Note to Asymetrix: This took me days to track down and > is similar to a previous bug involving multiple > paths in CDmediaPath, which I reported. > > Using Multiple paths in CDmediaPath is unstable. > >END BUG REPORT. > >--------------------------------------------------- >Andy Bulka abulka@empire.com.au ph: +613 593-1389 > "Author Level - and loving it" > Melbourne TUG (Toolbook User Group) Australia. >---------------------------------------------------
Back to IndexReturn to Index


Revised 9/21/95
brianp@u.washington.edu (Brian Parkhurst)
University of Washington
Box 357260
Seattle, WA 98195-7260
206/543-9175