New topic: Windows Crash on Exit - Quicktime
<http://forums.realsoftware.com/viewtopic.php?t=29408> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message TheFifth Post subject: Windows Crash on Exit - QuicktimePosted: Wed Aug 05, 2009 11:51 am Joined: Wed Aug 05, 2009 11:44 am Posts: 1 I'm having a problem with my app on Windows. It works fine on Mac, however It keeps crashing on exit under windows. I've tried compiling in RB 2007, 2008 and a trial of 2009 (as my update has expired) and it's the same in all versions. The app is a basic media player and uses a single window with multiple Canvas objects, a Listbox and a MoviePlayer on. I also use the MBS Quicktime plugin as I need to do some fancy pitch/tempo/eq changes. If I quit the app before loading an audio file all is well, however once the MoviePlayer has any sort of media file loaded, the app will crash on exit on Windows (Mac is fine). The movie file is loaded like this: Code:m=fileTrack.OpenAsMovieWithPropertiesMBS(true,false,intQuality) if m=nil then tmpError = "Could not import audio data." else MoviePlayer1.movie=m End if and all works perfectly fine. The close event for the main window basically does this: Checks if player is playing and stops it Saves Prefs - Player status etc. Saves Playlist order I've stepped through all this a line at a time on Windows and all is fine until the 'End Sub' and then the crash comes. So none of the code in the close event is causing the problem. The App.Close is empty. I added the following to the close event see if destroying the MoviePlayer helped, but it did not. Code:MoviePlayer1.Movie = Nil MoviePlayer1.Close Finally I added a new Window called frmQuit and showed this in the close event. The new window just has a timer on it that fires after 5 seconds and calls Quit. This means that the Main window is definitely closing successfully and the quit window shows for 5 seconds before closing. Once the Quit command is reached though the Crash happens again. I thought it might be the Quicktime version however I am running the same (latest) version on two XP machines and one Vista computer. One of the XP machines does not crash and the other one and Vista always show the crash. Quicktime version on all computers: 7.6.2 (1324) XP Error: test.exe has encountered a problem and needs to close. We are sorry for the inconvenience. Vista Error: test.exe has stopped working. Problem Event Name: APPCRASH Application Name: test.exe Application Version: 1.0.0.0 Application Timestamp: 4884e349 Fault Module Name: QuickTime.qts Fault Module Version: 7.62.14.0 Fault Module Timestamp: 4a1c704f Exception Code: c0000005 Exception Offset: 001cf74c OS Version: 6.0.6001.2.1.0.256.1 Locale ID: 2057 Additional Information 1: fd00 Additional Information 2: ea6f5fe8924aaa756324d57f87834160 Additional Information 3: fd00 Additional Information 4: ea6f5fe8924aaa756324d57f87834160 It definitely appears to be the Quicktime interface that's causing the problem. I don't know if it is the MoviePlayer or the MBS plugin that is at fault though. Anyone have any ideas how to cure this? Any way of completely destroying the Quicktime link before quitting the app? I'm developing mainly on Mac (which is a pleasure!) but have to compile separately in Windows (only have two standard licenses, not Pro ). Each time I copy over to Windows I find so many issues where things don't work the same way or strange errors being thrown that aren't on Mac. This particular crash is driving me nuts though. Any help greatly appreciated! Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
