Alternative to MoviePlayer

Is there an alternative to using the MoviePlayer control to play video files in my app?
I have submitted an intermittant crash report regarding the control which has been verified (45869)
Is there any other movie player that can be programmed, embeded and distributed?

Well, your report is private, so we have no idea what issue you’re seeing.
That would help us help you select a replacement…

Sorry Tim - I thought that my report was ok for everybody to see (but only the guys from Xojo could download my app code)
Anyway…The error happens very intermittently (probably 1 in 10 runs) and always on the line: MoviePlayer1.Play even though this line is executed on every run and is located in 10 windows in their respective open event(s) - different windows sometimes, sometimes not.

//Load the Timer clock video
MoviePlayer1.Movie = TwentySecondTimer
MoviePlayer1.Play

The video file is of a 20 second timer counting down.
Its a .mp4 file encoded in Handbrake from a .MOV file (and also tried in Quicktime and FCPX)
Iv’e confirmed that its not the file being loaded as I have tried many different file types and encodings. App quits unexpectedly…behavior has been verified.

Process: Pop Genius [6693]
Path: /Applications/Pop Genius.app/Contents/MacOS/Pop Genius
Identifier: co.uk.real-soft.popgenius
Version: ??? (1.0.0.0.0)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: Pop Genius [6693]
User ID: 501

Date/Time: 2016-12-02 22:59:40.844 +0000
OS Version: Mac OS X 10.12.1 (16B2657)
Report Version: 12
Anonymous UUID: E4BBE934-C522-2191-C591-47628283BBE9

Sleep/Wake UUID: A6A40C30-A413-4705-A09E-E914127B58B4

Time Awake Since Boot: 57000 seconds
Time Since Wake: 470 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000004
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

VM Regions Near 0x4:

MORE IF REQUIRED…

Mac?

Please post the stack trace of the thread crashing.

On Mac you can use AVFoundation classes in MBS Plugin.
Or our VLC Plugin.

Where can I find it Christian (Yes I’m on a MAC - OS Sierra)
Iv’e forgotten the location of the crash reports

Um. MediaPlayer uses AVFoundation already because of that whole QuickTime fiasco.

Joe commented on your crasher previously: https://forum.xojo.com/36489-stuartsapp-debug-quit-unexpectedly/p1#p298466

It sounds like if you refactor your code so that the movieplayer isn’t closing itself (directly or indirectly) your problem should go away.

OK…I hear what your saying Tim - I don’t know how I would do this.

The game uses the MoviePlayer1.stop event to test whether the user has:
a. Run out of time
b. Has answered the question Wrong

Here’s the code for the MoviePlayer1.stop event:

//Level 1 - OUT OF TIME
If MoviePlayer1.Movie = TwentySecondTimer And Movieplayer1.Position = Movieplayer1.Duration then
Canvas1.Visible=false
Canvas2.Visible=false
Canvas3.Visible=false
Canvas4.Visible=false
ImageWell1.Image = outoftime
sadmusic.Play
PlayAgainButton.Visible=true
QuitButton.Visible=True

//Level 1 - WRONG ANSWER

ElseIf TheAnswer1 = false And Movieplayer1.Position = Movieplayer1.Duration then
Canvas1.Visible=false
Canvas2.Visible=false
Canvas3.Visible=false
Canvas4.Visible=false
ImageWell1.Image = PolicemanGuy
sadmusic.Play
PlayAgainButton.Visible=true
QuitButton.Visible=True

Else
//Level 1 - CORRECT ANSWER
if TheAnswer1 = true And Movieplayer1.Position = Movieplayer1.Duration then
Canvas1.Visible=false
Canvas2.Visible=false
Canvas3.Visible=false
Canvas4.Visible=false
W_2_Pop_Novice.show
W_1_Pop_Starter.close

end if

end if

This code (above) isnt where the crash occurs though…the crash happens on the next windows open event (sometimes)

//Load the Timer clock video
MoviePlayer1.Movie = TwentySecondTimer
MoviePlayer1.Play

crash reports are in ~/Library/Logs/Diagnotical Reports folder.

Can’t paste the full crash report
When I click Post a Reply after pasting nothing happens? - Is the crash report too long? Website problem?
Small yellow loading label appears then nothing…??
I’ll try posting it in sections…

Process: Pop Genius [96058]
Path: /Users/USER/Desktop/Pop Genius.app/Contents/MacOS/Pop Genius
Identifier: com.realsoft.popgenius
Version: ??? (1.0.0.0.0)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: Pop Genius [96058]
User ID: 501

Date/Time: 2016-11-13 19:19:03.861 +0000
OS Version: Mac OS X 10.12.1 (16B2657)
Report Version: 12
Anonymous UUID: E4BBE934-C522-2191-C591-47628283BBE9

Sleep/Wake UUID: 4DBC5625-27E5-4328-BD66-F1B03BEDC1FF

Time Awake Since Boot: 480000 seconds
Time Since Wake: 17000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000004
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

VM Regions Near 0x4:
–>
__TEXT 0000000000001000-00000000001a8000 [ 1692K] r-x/rwx SM=COW /Users/USER/Desktop/Pop Genius.app/Contents/MacOS/Pop Genius

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.Foundation 0x95d322fa NSKeyValueShareableObservationInfoNSHTHash + 471
1 com.apple.Foundation 0x95d4f122 _NSKeyValueObservationInfoCreateByRemoving + 538
2 com.apple.Foundation 0x95d4ec07 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 209
3 com.apple.Foundation 0x95d4ead5 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 148
4 com.apple.Foundation 0x95d61a22 -[NSKeyValueNestedProperty object:didRemoveObservance:recurse:] + 304
5 com.apple.Foundation 0x95d4ecd7 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 417
6 com.apple.Foundation 0x95d4ead5 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 148
7 com.apple.Foundation 0x95d61a22 -[NSKeyValueNestedProperty object:didRemoveObservance:recurse:] + 304
8 com.apple.Foundation 0x95d4ecd7 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 417
9 com.apple.Foundation 0x95d4ead5 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 148
10 com.apple.AppKit 0x92677144 -[NSAutounbinder removeObserver:forKeyPath:] + 127
11 com.apple.AppKit 0x925d6405 -[NSBinder _updateObservingRegistration:] + 253
12 com.apple.AppKit 0x925d7c73 -[NSBinder breakConnection] + 97
13 com.apple.AppKit 0x925cf027 -[NSObject(NSKeyValueBindingCreation) unbind:] + 203
14 com.apple.AppKit 0x92676fd4 -[NSAutounbinder retainBindingTargetAndUnbind] + 96
15 com.apple.AppKit 0x925be924 -[NSViewController release] + 72
16 com.xojo.XojoFramework 0x002f6f9e 0x2cc000 + 176030
17 libobjc.A.dylib 0x9ee40ae9 objc_object::sidetable_release(bool) + 291
18 libobjc.A.dylib 0x9ee3e359 -[NSObject release] + 19
19 libobjc.A.dylib 0x9ee3d984 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 688
20 com.apple.CoreFoundation 0x946105b8 _CFAutoreleasePoolPop + 24
21 com.apple.Foundation 0x95d0d917 -[NSAutoreleasePool drain] + 120
22 com.apple.avfoundation 0x9157b0bc __avplayer_fpNotificationCallback_block_invoke + 2491
23 libdispatch.dylib 0x9f66e3ec _dispatch_call_block_and_release + 15
24 libdispatch.dylib 0x9f665a18 _dispatch_client_callout + 50
25 libdispatch.dylib 0x9f67314c _dispatch_main_queue_callback_4CF + 954
26 com.apple.CoreFoundation 0x946904ee CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 14
27 com.apple.CoreFoundation 0x9464fb6f __CFRunLoopRun + 2303
28 com.apple.CoreFoundation 0x9464f00a CFRunLoopRunSpecific + 506
29 com.apple.CoreFoundation 0x9464edfb CFRunLoopRunInMode + 123
30 com.apple.HIToolbox 0x93d525a6 RunCurrentEventLoopInMode + 268
31 com.apple.HIToolbox 0x93d52392 ReceiveNextEventCommon + 494
32 com.apple.HIToolbox 0x93d5218b _BlockUntilNextEventMatchingListInModeWithFilter + 83
33 com.apple.AppKit 0x92579bb3 _DPSNextEvent + 1193
34 com.apple.AppKit 0x92cda663 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1725
35 com.apple.AppKit 0x92cd9f9e -[NSApplication(NSEvent) nextEventMatchingMask:untilDate:inMode:dequeue:] + 132
36 com.xojo.XojoFramework 0x0030e1e6 0x2cc000 + 270822
37 com.xojo.XojoFramework 0x0030e22f 0x2cc000 + 270895
38 com.realsoft.popgenius 0x000c8dc8 Delegate.Invoke%% + 34
39 com.realsoft.popgenius 0x0003d96d Application._CallFunctionWithExceptionHandling%%op + 248
40 com.xojo.XojoFramework 0x0047ab1a 0x2cc000 + 1764122
41 com.xojo.XojoFramework 0x0030e187 0x2cc000 + 270727
42 com.apple.AppKit 0x9256e874 -[NSApplication run] + 943
43 com.xojo.XojoFramework 0x0047abba 0x2cc000 + 1764282
44 com.xojo.XojoFramework 0x00478d94 RuntimeRun + 49
45 com.realsoft.popgenius 0x000a7ac9 REALbasic._RuntimeRun + 34
46 com.realsoft.popgenius 0x0016bec0 _Main + 295
47 com.realsoft.popgenius 0x0016b992 main + 36
48 com.realsoft.popgenius 0x00198f87 start + 53

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x9f7bf91e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x9f7bee93 mach_msg + 51
2 com.apple.CoreFoundation 0x94650466 __CFRunLoopServiceMachPort + 214
3 com.apple.CoreFoundation 0x9464f898 __CFRunLoopRun + 1576
4 com.apple.CoreFoundation 0x9464f00a CFRunLoopRunSpecific + 506
5 com.apple.CoreFoundation 0x9464edfb CFRunLoopRunInMode + 123
6 com.apple.AppKit 0x926ba86a _NSEventThread + 235
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 2:: com.apple.coreaudio.AQClient
0 libsystem_kernel.dylib 0x9f7bf91e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x9f7bee93 mach_msg + 51
2 com.apple.CoreFoundation 0x94650466 __CFRunLoopServiceMachPort + 214
3 com.apple.CoreFoundation 0x9464f898 __CFRunLoopRun + 1576
4 com.apple.CoreFoundation 0x9464f00a CFRunLoopRunSpecific + 506
5 com.apple.CoreFoundation 0x9464edfb CFRunLoopRunInMode + 123
6 com.apple.audio.toolbox.AudioToolbox 0x937cf53f GenericRunLoopThread::Entry(void*) + 139
7 com.apple.audio.toolbox.AudioToolbox 0x937cf476 CAPThread::Entry(CAPThread*) + 96
8 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
9 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
10 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 3:: com.apple.coremedia.scheduledfileio
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.CoreMedia 0x953deb5f FigScheduledFileIOThread + 96
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 4:
0 libsystem_kernel.dylib 0x9f7c7cbe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9f8a7dea _pthread_wqthread + 1210
2 libsystem_pthread.dylib 0x9f8a790a start_wqthread + 34

Thread 5:
0 libsystem_kernel.dylib 0x9f7c7cbe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9f8a7dea _pthread_wqthread + 1210
2 libsystem_pthread.dylib 0x9f8a790a start_wqthread + 34

Thread 6:
0 libsystem_kernel.dylib 0x9f7c7cbe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9f8a7dea _pthread_wqthread + 1210
2 libsystem_pthread.dylib 0x9f8a790a start_wqthread + 34

Thread 7:
0 libsystem_kernel.dylib 0x9f7c7cbe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9f8a7dea _pthread_wqthread + 1210
2 libsystem_pthread.dylib 0x9f8a790a start_wqthread + 34

Thread 8:
0 libsystem_kernel.dylib 0x9f7c7cbe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9f8a7c79 _pthread_wqthread + 841
2 libsystem_pthread.dylib 0x9f8a790a start_wqthread + 34

Thread 9:: com.apple.coremedia.audioqueue.source
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.MediaToolbox 0x96d45659 0x96ce1000 + 411225
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 10:: com.apple.coremedia.imagequeue.coreanimation
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8acd2d pthread_cond_timedwait$UNIX2003 + 52
3 com.apple.CoreMedia 0x953e7e68 WaitOnConditionTimed + 99
4 com.apple.CoreMedia 0x953e7661 FigSemaphoreWaitRelative + 179
5 com.apple.MediaToolbox 0x96ef3e14 0x96ce1000 + 2174484
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 11:: com.apple.coremedia.videomediaconverter
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.MediaToolbox 0x96ef1141 0x96ce1000 + 2163009
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 12:: com.apple.coremedia.vtremotedecompressionclient.notifier
0 libsystem_kernel.dylib 0x9f7bf91e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x9f7bee93 mach_msg + 51
2 com.apple.VideoToolbox 0x996d2352 0x99626000 + 705362
3 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
4 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
5 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
6 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 13:: com.apple.coremedia.audiomentor
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.MediaToolbox 0x96de00a0 0x96ce1000 + 1044640
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 14:: com.apple.coremedia.videomentor
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.MediaToolbox 0x96deddd9 0x96ce1000 + 1101273
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 15:: AQConverterThread
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.audio.toolbox.AudioToolbox 0x937f234b CAGuard::Wait() + 67
4 com.apple.audio.toolbox.AudioToolbox 0x937ee963 AQConverterManager::AQConverterThread::Run() + 901
5 com.apple.audio.toolbox.AudioToolbox 0x937ee5d3 AQConverterManager::AQConverterThread::ConverterThreadEntry(void*) + 17
6 com.apple.audio.toolbox.AudioToolbox 0x937cf476 CAPThread::Entry(CAPThread*) + 96
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 16:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x9f7bf91e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x9f7bee93 mach_msg + 51
2 com.apple.audio.CoreAudio 0x94273f9d HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned long, unsigned long, mach_msg_header_t*, bool, unsigned int) + 123
3 com.apple.audio.CoreAudio 0x9424d4cb HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 49
4 com.apple.audio.CoreAudio 0x94249e38 HALC_ProxyIOContext::IOWorkLoop() + 1714
5 com.apple.audio.CoreAudio 0x94249514 HALC_ProxyIOContext::IOThreadEntry(void*) + 236
6 com.apple.audio.CoreAudio 0x9427b643 ___ZN19HALC_ProxyIOContextC2Emj_block_invoke + 20
7 com.apple.audio.CoreAudio 0x942493df HALB_IOThread::Entry(void*) + 71
8 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
9 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
10 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 17:: com.apple.coremedia.audioqueue.source
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.MediaToolbox 0x96d45659 0x96ce1000 + 411225
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 18:
0 libsystem_kernel.dylib 0x9f7bf972 semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x9f66e7a6 _dispatch_semaphore_wait_slow + 136
2 libdispatch.dylib 0x9f66e715 dispatch_semaphore_wait + 35
3 libdispatch.dylib 0x9f668d84 _dispatch_worker_thread + 238
4 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
5 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
6 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 19:: com.apple.coremedia.imagequeue.coreanimation
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8acd2d pthread_cond_timedwait$UNIX2003 + 52
3 com.apple.CoreMedia 0x953e7e68 WaitOnConditionTimed + 99
4 com.apple.CoreMedia 0x953e7661 FigSemaphoreWaitRelative + 179
5 com.apple.MediaToolbox 0x96ef3e14 0x96ce1000 + 2174484
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 20:: com.apple.coremedia.videomediaconverter
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.MediaToolbox 0x96ef1141 0x96ce1000 + 2163009
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 21:: com.apple.coremedia.vtremotedecompressionclient.notifier
0 libsystem_kernel.dylib 0x9f7bf91e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x9f7bee93 mach_msg + 51
2 com.apple.VideoToolbox 0x996d2352 0x99626000 + 705362
3 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
4 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
5 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
6 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 22:: com.apple.coremedia.audiomentor
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.MediaToolbox 0x96dde3d6 0x96ce1000 + 1037270
6 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
7 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
8 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
9 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 23:: com.apple.coremedia.videomentor
0 libsystem_kernel.dylib 0x9f7c7312 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x9f8a8f74 _pthread_cond_wait + 647
2 libsystem_pthread.dylib 0x9f8aaaa4 pthread_cond_wait$UNIX2003 + 51
3 com.apple.CoreMedia 0x953e7965 WaitOnCondition + 15
4 com.apple.CoreMedia 0x953e7653 FigSemaphoreWaitRelative + 165
5 com.apple.MediaToolbox 0x96df80e8 0x96ce1000 + 1143016
6 com.apple.MediaToolbox 0x96df1936 0x96ce1000 + 1116470
7 com.apple.MediaToolbox 0x96dec547 0x96ce1000 + 1094983
8 com.apple.CoreMedia 0x953e82fc figThreadMain + 307
9 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
10 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
11 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 24:
0 libsystem_kernel.dylib 0x9f7c7cbe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9f8a7dea _pthread_wqthread + 1210
2 libsystem_pthread.dylib 0x9f8a790a start_wqthread + 34

Thread 25:
0 libsystem_kernel.dylib 0x9f7bf972 semaphore_timedwait_trap + 10
1 libdispatch.dylib 0x9f66e7a6 _dispatch_semaphore_wait_slow + 136
2 libdispatch.dylib 0x9f66e715 dispatch_semaphore_wait + 35
3 libdispatch.dylib 0x9f668d84 _dispatch_worker_thread + 238
4 libsystem_pthread.dylib 0x9f8a810b _pthread_body + 184
5 libsystem_pthread.dylib 0x9f8a8053 _pthread_start + 243
6 libsystem_pthread.dylib 0x9f8a792e thread_start + 34

Thread 26:
0 libsystem_kernel.dylib 0x9f7c7cbe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9f8a7dea _pthread_wqthread + 1210
2 libsystem_pthread.dylib 0x9f8a790a start_wqthread + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0xbfffd873 ecx: 0x00000006 edx: 0x00000004
edi: 0x00000004 esi: 0x5f1849c8 ebp: 0xbfffd888 esp: 0xbfffd820
ss: 0x00000023 efl: 0x00010293 eip: 0x95d322fa cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00000004

Logical CPU: 4
Error Code: 0x00000004
Trap Number: 14

IS THAT ENOUGH ?

[quote=301219:@Stuart Sykes]OK…I hear what your saying Tim - I don’t know how I would do this.
[/quote]
In the stop event use a 1 msec timer that then closes the window
It won’t perform its action until the movie player stop event is done
So instead of closing the window the movie player is on from the stop event of the movie do that in a really short period timer that the stop event starts by settings its mode to “Timer.ModeSingle”

The problem seems to be closing the window the movie player is on while handling an event for the movie player causes this (which is what joe said on the other forum thread)

Thanks Norman -
Added a timer on each of the 10 windows (which closes the previous and opens the next window)
Seems to be working fine
Done a few runs now with NO “App quit unexpectedly” problems
:slight_smile:

Good to hear