|
I Need Help : QC crashes with Video In from Blackmagic Intensity ProHi, I've installed a Blackmagic Intensity Pro card with the latest drivers for live input in QC via Video In patch. It's connected to a sony pan/shift/tilt camera by s-video and the .qtz utilises Kineme Core, GL Tools, Alpha Blend mode, CVtools, v002 Optical Flow, v002 Blurs and Optical Flow Downloader plugin. ... For some reason after about 20-30 minutes the captured video starts stalling and produces glitch after which QC crashes. ... Here's the crash report. Can anyone help and tell me what seems to be wrong? Thnx! Liik Process: Quartz Composer [665] Path: /Developer/Applications/Quartz Composer.app/Contents/MacOS/Quartz Composer Identifier: com.apple.QuartzComposer.editor Version: 4.0 (103.1) Build Info: QuartzComposerEditor-1030100~113 Code Type: X86 (Native) Parent Process: launchd [95] PlugIn Path: /Users/_/Library/Graphics/Quartz Composer Patches/CVTools.plugin/Contents/MacOS/CVTools PlugIn Identifier: net.kineme.OpenCV PlugIn Version: 0.2 (20091007) Date/Time: 2010-07-11 17:58:27.003 +0200 OS Version: Mac OS X 10.6.4 (10F569) Report Version: 6 Interval Since Last Report: 94747 sec Crashes Since Last Report: 13 Per-App Interval Since Last Report: 77318 sec Per-App Crashes Since Last Report: 6 Anonymous UUID: 99A942CA-B807-4F95-8952-27BDCE98DC31 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000024 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 net.kineme.OpenCV 0x16f26d92 cvFlushSeqWriter + 28 1 net.kineme.OpenCV 0x16f2767a cvEndWriteSeq + 92 2 net.kineme.OpenCV 0x16f29436 cvSeqPartition + 452 3 net.kineme.OpenCV 0x16ed4516 cvHaarDetectObjects + 7544 4 net.kineme.OpenCV 0x16ea94be -[OpenCVHaarDetectObjects execute:time:arguments:] + 690 5 com.apple.QuartzComposer 0x90959f32 -[QCPatch(Private) _renderAtTime:arguments:] + 111 6 com.apple.QuartzComposer 0x90959e9e -[QCRenderingManager addPatch:context:time:arguments:nextExecutionTime:] + 2200 7 com.apple.QuartzComposer 0x90958dbb -[QCPatch(Private) __execute:arguments:] + 754 8 com.apple.QuartzComposer 0x90958a56 -[QCPatch(Private) _execute:arguments:] + 1728 9 com.apple.QuartzComposer 0x9095952d -[QCPort _execute:arguments:] + 268 10 com.apple.QuartzComposer 0x9095890a -[QCPatch(Private) _execute:arguments:] + 1396 11 com.apple.QuartzComposer 0x9095952d -[QCPort _execute:arguments:] + 268 12 com.apple.QuartzComposer 0x9095890a -[QCPatch(Private) _execute:arguments:] + 1396 13 com.apple.QuartzComposer 0x9095952d -[QCPort _execute:arguments:] + 268 14 com.apple.QuartzComposer 0x9095890a -[QCPatch(Private) _execute:arguments:] + 1396 15 com.apple.QuartzComposer 0x9095952d -[QCPort _execute:arguments:] + 268 16 com.apple.QuartzComposer 0x909585fa -[QCPatch(Private) _execute:arguments:] + 612 17 com.apple.QuartzComposer 0x90959348 -[QCPatch(Private) _executeSubpatches:arguments:] + 243 18 com.apple.QuartzComposer 0x909bec08 -[QCRenderInImage _executeSubpatches:arguments:] + 3019 19 com.apple.QuartzComposer 0x90959149 -[QCPatch(Customization) nextExecutionTimeForSubpatches:time:arguments:] + 140 20 com.apple.QuartzComposer 0x90959085 -[QCPatch(Customization) nextExecutionTime:time:arguments:] + 81 21 com.apple.QuartzComposer 0x90958fdf -[QCPatch(Private) _nextExecutionTime:arguments:] + 461 22 com.apple.QuartzComposer 0x90958d2b -[QCPatch(Private) __execute:arguments:] + 610 23 com.apple.QuartzComposer 0x90958a56 -[QCPatch(Private) _execute:arguments:] + 1728 24 com.apple.QuartzComposer 0x9095952d -[QCPort _execute:arguments:] + 268 25 com.apple.QuartzComposer 0x909787c9 -[QCMultiplexerImagePort _execute:arguments:] + 130 26 com.apple.QuartzComposer 0x9095890a -[QCPatch(Private) _execute:arguments:] + 1396 27 com.apple.QuartzComposer 0x9095952d -[QCPort _execute:arguments:] + 268 28 com.apple.QuartzComposer 0x9095890a -[QCPatch(Private) _execute:arguments:] + 1396 29 com.apple.QuartzComposer 0x90959348 -[QCPatch(Private) _executeSubpatches:arguments:] + 243 30 com.apple.QuartzComposer 0x9095917d -[QCPatch(Customization) nextExecutionTimeForSubpatches:time:arguments:] + 192 31 com.apple.QuartzComposer 0x90959085 -[QCPatch(Customization) nextExecutionTime:time:arguments:] + 81 32 com.apple.QuartzComposer 0x90958fdf -[QCPatch(Private) _nextExecutionTime:arguments:] + 461 33 com.apple.QuartzComposer 0x90958d73 -[QCPatch(Private) __execute:arguments:] + 682 34 com.apple.QuartzComposer 0x90958a56 -[QCPatch(Private) _execute:arguments:] + 1728 35 com.apple.QuartzComposer 0x90957056 -[QCContext nextExecutionTimeForPatch:time:arguments:] + 643 36 com.apple.QuartzComposer 0x90956dcd -[QCGraphicsContext nextExecutionTimeForPatch:time:arguments:] + 73 37 com.apple.QuartzComposer 0x90956ba7 -[QCOpenGLContext nextExecutionTimeForPatch:time:arguments:] + 528 38 com.apple.QuartzComposer 0x90956984 -[QCPatch(Runtime) nextExecutionTime:arguments:] + 92 39 ...apple.QuartzComposer.editor 0x0000f23e 0x1000 + 57918 40 com.apple.QuartzComposer 0x909a2910 -[QCView render:arguments:] + 412 41 com.apple.QuartzComposer 0x909cd7d7 -[QCView _renderTimer] + 160 42 com.apple.QuartzComposer 0x909a7fb2 _TimerCallback + 240 43 com.apple.CoreFoundation 0x96b9e70b __CFRunLoopRun + 8059 44 com.apple.CoreFoundation 0x96b9c094 CFRunLoopRunSpecific + 452 45 com.apple.CoreFoundation 0x96b9bec1 CFRunLoopRunInMode + 97 46 com.apple.HIToolbox 0x955a1f9c RunCurrentEventLoopInMode + 392 47 com.apple.HIToolbox 0x955a1d51 ReceiveNextEventCommon + 354 48 com.apple.HIToolbox 0x955a1bd6 BlockUntilNextEventMatchingListInMode + 81 49 com.apple.AppKit 0x97336a89 _DPSNextEvent + 847 50 com.apple.AppKit 0x973362ca -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156 51 com.apple.AppKit 0x972f855b -[NSApplication run] + 821 52 ...apple.QuartzComposer.editor 0x000035cf 0x1000 + 9679 53 com.apple.AppKit 0x972f05ed NSApplicationMain + 574 54 ...apple.QuartzComposer.editor 0x00002845 0x1000 + 6213 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x988e4942 kevent + 10 1 libSystem.B.dylib 0x988e505c _dispatch_mgr_invoke + 215 2 libSystem.B.dylib 0x988e4519 _dispatch_queue_invoke + 163 3 libSystem.B.dylib 0x988e42be _dispatch_worker_thread2 + 240 4 libSystem.B.dylib 0x988e3d41 _pthread_wqthread + 390 5 libSystem.B.dylib 0x988e3b86 start_wqthread + 30 Thread 2: 0 libSystem.B.dylib 0x988be0fa mach_msg_trap + 10 1 libSystem.B.dylib 0x988be867 mach_msg + 68 2 com.apple.CoreFoundation 0x96b9cfaf __CFRunLoopRun + 2079 3 com.apple.CoreFoundation 0x96b9c094 CFRunLoopRunSpecific + 452 4 com.apple.CoreFoundation 0x96b9bec1 CFRunLoopRunInMode + 97 5 com.apple.CoreMediaIOServices 0x949d7f31 MIO::DAL::RunLoop::OwnThread(void*) + 157 6 com.apple.CoreMediaIOServices 0x949d9df6 CAPThread::Entry(CAPThread*) + 180 7 libSystem.B.dylib 0x988eb81d _pthread_start + 345 8 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 3: 0 libSystem.B.dylib 0x988be15a semaphore_timedwait_signal_trap + 10 1 libSystem.B.dylib 0x988ebca5 _pthread_cond_wait + 1066 2 libSystem.B.dylib 0x9891a848 pthread_cond_timedwait_relative_np + 47 3 ...ple.CoreServices.CarbonCore 0x9154c3b5 TSWaitOnConditionTimedRelative + 242 4 ...ple.CoreServices.CarbonCore 0x9154c0f3 TSWaitOnSemaphoreCommon + 511 5 ...ickTimeComponents.component 0x933c88bd ReadSchedulerThreadEntryPoint + 4698 6 libSystem.B.dylib 0x988eb81d _pthread_start + 345 7 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 4: 0 libSystem.B.dylib 0x988be142 semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x988ebcbc _pthread_cond_wait + 1089 2 libSystem.B.dylib 0x98934203 pthread_cond_wait + 48 3 ...ickTimeComponents.component 0x93536f75 jpegdecompress_MPLoop + 79 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 5: 0 libSystem.B.dylib 0x988be142 semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x988ebcbc _pthread_cond_wait + 1089 2 libSystem.B.dylib 0x98934203 pthread_cond_wait + 48 3 ...ickTimeComponents.component 0x93536f75 jpegdecompress_MPLoop + 79 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 6: 0 libSystem.B.dylib 0x988be142 semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x988ebcbc _pthread_cond_wait + 1089 2 libSystem.B.dylib 0x98934203 pthread_cond_wait + 48 3 ...ickTimeComponents.component 0x93536f75 jpegdecompress_MPLoop + 79 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 7: 0 libSystem.B.dylib 0x988be142 semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x988ebcbc _pthread_cond_wait + 1089 2 libSystem.B.dylib 0x98934203 pthread_cond_wait + 48 3 ...ickTimeComponents.component 0x93536f75 jpegdecompress_MPLoop + 79 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 8: 0 libSystem.B.dylib 0x988be142 semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x988ebcbc _pthread_cond_wait + 1089 2 libSystem.B.dylib 0x98934203 pthread_cond_wait + 48 3 ...ickTimeComponents.component 0x93536f75 jpegdecompress_MPLoop + 79 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 9: 0 libSystem.B.dylib 0x988be142 semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x988ebcbc _pthread_cond_wait + 1089 2 libSystem.B.dylib 0x98934203 pthread_cond_wait + 48 3 ...ickTimeComponents.component 0x93536f75 jpegdecompress_MPLoop + 79 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 10: 0 libSystem.B.dylib 0x988be142 semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x988ebcbc _pthread_cond_wait + 1089 2 libSystem.B.dylib 0x98934203 pthread_cond_wait + 48 3 ...ickTimeComponents.component 0x93536f75 jpegdecompress_MPLoop + 79 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 11: 0 libSystem.B.dylib 0x988be142 semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x988ebcbc _pthread_cond_wait + 1089 2 libSystem.B.dylib 0x98934203 pthread_cond_wait + 48 3 ...agic-design.BlackmagicCodec 0x17e7b27d FrameFormatConversionThread + 62 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 12: 0 libSystem.B.dylib 0x988ec066 __semwait_signal + 10 1 libSystem.B.dylib 0x988ebd22 _pthread_cond_wait + 1191 2 libSystem.B.dylib 0x988ed9b8 pthread_cond_wait$UNIX2003 + 73 3 com.apple.CoreMedia 0x95550cff WaitOnCondition + 19 4 com.apple.CoreMedia 0x95550fdd FigSemaphoreWaitRelative + 173 5 com.apple.CoreMediaIOServices 0x949fac3b MIO::Thread::SignaledThread::ThreadLoop() + 195 6 com.apple.CoreMediaIOServices 0x949fb032 MIO::Thread::SignaledThread::WorkQueuedThreadCallback(void*) + 206 7 libSystem.B.dylib 0x988eb81d _pthread_start + 345 8 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 13: 0 libSystem.B.dylib 0x988ec066 __semwait_signal + 10 1 libSystem.B.dylib 0x98917c64 nanosleep$UNIX2003 + 188 2 libSystem.B.dylib 0x98917ba2 usleep$UNIX2003 + 61 3 com.apple.TundraUnits 0x17cfc35a TundraUnitInputFromTSFileEntry + 1105 4 com.apple.TundraUnits 0x17da4a68 TundraUnitQuartzPatchEntry + 30421 5 com.apple.TundraUnits 0x17da4dfc TundraUnitQuartzPatchEntry + 31337 6 libSystem.B.dylib 0x988eb81d _pthread_start + 345 7 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 14: QTKit: QTBackgroundQueueRun 0 libSystem.B.dylib 0x988ec066 __semwait_signal + 10 1 libSystem.B.dylib 0x988ebd22 _pthread_cond_wait + 1191 2 libSystem.B.dylib 0x988ed9b8 pthread_cond_wait$UNIX2003 + 73 3 com.apple.QTKit 0x96d5b48c QTBackgroundQueueRun + 241 4 libSystem.B.dylib 0x988eb81d _pthread_start + 345 5 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 15: 0 libSystem.B.dylib 0x988ec066 __semwait_signal + 10 1 libSystem.B.dylib 0x98917c64 nanosleep$UNIX2003 + 188 2 libSystem.B.dylib 0x98917ba2 usleep$UNIX2003 + 61 3 com.apple.AppKit 0x974a01a1 -[NSUIHeartBeat _heartBeatThread:] + 2039 4 com.apple.Foundation 0x90e928d4 -[NSThread main] + 45 5 com.apple.Foundation 0x90e92884 __NSThread__main__ + 1499 6 libSystem.B.dylib 0x988eb81d _pthread_start + 345 7 libSystem.B.dylib 0x988eb6a2 thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x00001644 ecx: 0x16f26d84 edx: 0x00000000 edi: 0x00000000 esi: 0xbfffd390 ebp: 0xbfffd328 esp: 0xbfffd300 ss: 0x0000001f efl: 0x00010286 eip: 0x16f26d92 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x00000024
|
Without a composition it's sort of hard to say. It says it's CVTools causing this, I believe, but that's been stable for me... it might be something else in the setup inadvertently causing CVTools to flake.
...i'll be shure to post it tomorrow... i'm not on the computer with the .qtz right now
Thnx for taking the time...
You might want to try plugging in another image source in the composition, and then just leave it on for a long time (like a still, a movie, or a rotating cube in a render in image, etc). Also, chopping out parts that utilize the various plugins might help. You also might want to check that any structures aren't gradually increasing and eventually grinding things to a halt (seems unlikely). If you're using a queue or iterator in any of these setups, try backing down on the queue or iteration count, as these can seemingly overtax QC into crashing in some scenarios (still haven't really figured out all the circumstances, just know it happens... I've even been LOGGED OUT of my current User by using high queue counts!)
Now that's ridiculous! What about OSX having protected memory?
I think that went out the window with OpenCL... but I'm honestly not 100% sure what "reason" is technically, because when this happens, it never leaves a trace.
Basically, the screen goes blue, and boom, I'm logged out. Logging back in, all my apps are closed and whatever I was working on is screwed.
The ingredients for this usually involve:
-A scene in a render in image. -Probably particle generation. -A queue taking image samples from the render in image. -Sometimes, sampling and holding the structure of the queue, though I don't think that part is necessary. -Queue feeds iterator, which renders each frame from the queue on a sprite or Billboard.
It's not like it happens all the time, but in the compositions that trigger it, it happened pretty reliably when pushing up the queue count, and it's not as if I was seeing crappy performance either, it could be something like increasing a queue/iteration count by 10. It seems like... "memory full, oh, let me log out", to put it simplistically.
I wonder if it is to do with GPU not having protected memory and when it goes down it is dragging the whole OS with it (rather than getting a reboot from an OS that is GPU_fail aware) — which is kind of sad really.
I can accept it crashing QC as a fact of life when messing with code but to pull down the whole OS… extreme.
...i did the tests and optimised as suggested and it seems the problem is with the Video In part. If i enter the Video In patch after a Render In Image has been working for about 30min i get instant glitch. I don't know if it has something to do with the PCI card or not...most probably it does...
I've read some have used the same card with success...which is not the case with me...before i open the qtz i have to open the Blackmagic Media Express software that came with the card or it just won't give any output in QC even if it's visible as a source in the QC Inspector, and ofcourse i have to shut down the Blackmagic software before i run QC.
any experiences to share on that note?
I'm using a decklink Blackmagic card here, and it is flawless. Works as a charm, never had a problem.
What rez. are you piping in ? What mode ? Framerate ? To troubleshoot, make a test QTZ with just the video in, a RII and a billboard. Does it work ?. What's your machine spec ?
Do you have problems with your card and FCP ? (if yes, it's either a driver/os thing or your card has a problem : try on a fresh install, if the problem persists, then change your card )
I personnally never opened the blackmagic media express (i don't even know what it is). These cards are pretty much top notch - you basically can't have a better one.
and just to be sure: you're not using vade's blur inside a RII, are you ? (that might cause problems).
...as the deadline was too close i just switched to fw input...with a unnoticable time delay it works ok... i'm pretty sure now there's some issue with the card itself...i did an entire overhaul installing to a diff slot and fresh drivers...
i'm driving it on a mac pro with s-video in, 720x576, ntsc/pal mode, no blurs whatsoever, and the RII to Billboard works for 40min...twice as long...but crashes non the less with a completely diff crash report.
thnx again