Has anybody else experienced a crash where after playing back a number of
movie files eventually the application simply crashes with a BAD_ACCESS
error and the thread that crashes has a stack trace similar to the
following? This has been plaguing me for the last few days and I have tried
almost everything I can think of to locate and resolve this crash. It
occurs *significantly* less with sorenson compressed video clips than with
h.264 compressed video.
In a nutshell, I pretty much do the following repeatedly (approximately once
every 2-3s):
1) load a movie file
2) create a movie player
3) create a QTJComponent
4) set the play rate of the movie player to the preferred play rate of the
movie file
5) schedule another thread to stop the movie after a specific amount of time
has elapsed
6) ...
7) movie is stopped
8) everything is cleaned up
9) repeat
0 ...ickTimeComponents.component 0x9992dc20
v2m_PurgeScheduleQueueContents + 96
1 ...ickTimeComponents.component 0x99934cf8 Video2RateChanged + 776
2 ...ple.CoreServices.CarbonCore 0x90bdc04c
CallComponentFunctionCommon + 1044
3 ...ple.CoreServices.CarbonCore 0x90bdbbd4 CallComponent + 260
4 com.apple.QuickTime 0x9496c1d8 MediaRateChanged + 40
5 com.apple.QuickTime 0x949f027c tellMediaRateChanged + 44
6 com.apple.QuickTime 0x9492e950 ForEachMedia_priv + 144
7 com.apple.QuickTime 0x949efbc0 movieRateCallBackProc +
1200
8 com.apple.QuickTime 0x949ef600 SetMovieRate_priv + 192
9 <<00000000>> 0x04587bec 0 + 72907756
10 <<00000000>> 0x0457fab0 0 + 72874672
11 <<00000000>> 0x0457fab0 0 + 72874672
12 <<00000000>> 0x0457fab0 0 + 72874672
13 <<00000000>> 0x0457fab0 0 + 72874672
14 <<00000000>> 0x0457fab0 0 + 72874672
15 <<00000000>> 0x0457fab0 0 + 72874672
16 <<00000000>> 0x0457fab0 0 + 72874672
17 <<00000000>> 0x0457fe10 0 + 72875536
18 <<00000000>> 0x0457fab0 0 + 72874672
19 <<00000000>> 0x0457fe10 0 + 72875536
20 <<00000000>> 0x0457d164 0 + 72864100
21 libclient.dylib 0x9d1c4fc8 jio_snprintf + 398952
22 libclient.dylib 0x9d1d2564 JVM_StartThread + 2612
23 libclient.dylib 0x9d1d2450 JVM_StartThread + 2336
24 libclient.dylib 0x9d1d23e0 JVM_StartThread + 2224
25 libclient.dylib 0x9d1d229c JVM_StartThread + 1900
26 libclient.dylib 0x9d15cfac JNI_CreateJavaVM_Impl +
48844
27 libSystem.B.dylib 0x9002bd08 _pthread_body + 96
--------------------------------------------------------------------