I keep getting an exception from QTKit when quickly moving through a playlist 
of songs. Here is the console log and the portion of my code where the 
exception is thrown. I am using garbage collection on Snow Leopard.


2010-11-27 21:33:37.852 QTKitServer[15546:903] -[QTTrack_QuickTime 
originalKeepInactiveFlag]: unrecognized selector sent to instance 0x119fd0
2010-11-27 21:33:37.853 QTKitServer[15546:903] *** Terminating app due to 
uncaught exception 'NSInvalidArgumentException', reason: '-[QTTrack_QuickTime 
originalKeepInactiveFlag]: unrecognized selector sent to instance 0x119fd0'
*** Call stack at first throw:
(
        0   CoreFoundation                      0x9011a6ba __raiseError + 410
        1   libobjc.A.dylib                     0x92ada509 objc_exception_throw 
+ 56
        2   CoreFoundation                      0x9016790b -[NSObject(NSObject) 
doesNotRecognizeSelector:] + 187
        3   CoreFoundation                      0x900c0c36 ___forwarding___ + 
950
        4   CoreFoundation                      0x900c0802 
_CF_forwarding_prep_0 + 50
        5   QTKit                               0x949a4e08 -[QTMovie_QuickTime 
initWithQuickTimeMovie:disposeWhenDone:delegate:attributes:error:forParent:] + 
173
        6   QTKit                               0x949a386b -[QTMovie_QuickTime 
initWithAttributes:error:forParent:] + 6159
        7   QTKit                               0x9495b0f0 -[QTMovie 
initWithAttributes:error:] + 1012
        8   QTKitServer                         0x0001feb5 
do_initWithAttributes + 202
        9   QTKitServer                         0x0000ea53 _XinitWithAttributes 
+ 220
        10  QTKitServer                         0x000021bb QTKitServer_server + 
113
        11  QTKitServer                         0x0001e194 mach_port_callback + 
84
        12  CoreFoundation                      0x90088772 __CFMachPortPerform 
+ 338
        13  CoreFoundation                      0x900844db __CFRunLoopRun + 6523
        14  CoreFoundation                      0x90082464 CFRunLoopRunSpecific 
+ 452
        15  CoreFoundation                      0x900883a4 CFRunLoopRun + 84
        16  QTKitServer                         0x0001e702 main + 1068
        17  QTKitServer                         0x00002141 start + 53
)
assertion failure on line 219 of 
"/SourceCache/gdb/gdb-1472/src/gdb/macosx/macosx-nat-inferior-util.c" in 
function "macosx_inferior_suspend_mach": macosx_task_valid (s->task)
warning: Got an error handling event: "assertion failure on line 219 of 
"/SourceCache/gdb/gdb-1472/src/gdb/macosx/macosx-nat-inferior-util.c" in 
function "macosx_inferior_suspend_mach": macosx_task_valid (s->task)
".
sharedlibrary apply-load-rules all
Error calling thread_get_state for GP registers for thread 
0x5123lx11557^error,msg="error on line 169 of 
\"/SourceCache/gdb/gdb-1472/src/gdb/macosx/i386-macosx-nat-exec.c\" in function 
\"fetch_inferior_registers\": (ipc/send) invalid destination port 
(0x10000003)\n"

-----------------------------------------------

("song" is a QTMovie object)

        if (self.isPlaying) {
                [song stop];
                [song setRate:0.0];
        }
        song = nil;
        NSURL *url = [NSURL URLWithString:path];
        NSError *err;

        @try {
                if ([QTMovie canInitWithFile:[url path]])
                        song = [QTMovie movieWithFile:[url path] error:&err];
                if (err) {NSLog(@"quicktime can't init. bailing."); return;}
        }
        @catch (NSException * e) {
                NSLog(@"quicktime exception %@", e);
        }
        @finally {

        }



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to