CVDisplayLink crash QuartzBuilder app

pyramus's picture

Every now and then my QB app just crashes. Completely out of the blue – often only after several hours, but sometimes after a couple of minutes. The app takes photos and has a basic "screensaver-mode": fetching pictures from a folder and serving them as a slideshow.

Here's part of the crash report:

Code Type:       X86-64 (Native)
Parent Process:  launchd [115]
 
Date/Time:       2013-06-24 22:45:05.223 +0200
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9
 
Anonymous UUID:                      942BDC40-13F3-4727-BFA7-20FA8BA3F567
 
Crashed Thread:  6  CVDisplayLink
 
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
 
Application Specific Information:
objc[168]: garbage collection is OFF
abort() called
 
Application Specific Signatures:
Graphics kernel error: 0x00000003

As you can see, the report mentions the CVDisplayLink thread to have crashed but I have no clue what could really be going on that repeatedly triggers this error. I'm using Quartz Builder 1.5

Anyone?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

pyramus's picture
Re: CVDisplayLink crash QuartzBuilder app

Some more info: the crash report of the specific thread. It's mostly just random lines of code to me, but maybe someone else can tell me something from this?

Thread 6 Crashed:: CVDisplayLink
0   libsystem_kernel.dylib           0x00007fff8f661ce2 __pthread_kill + 10
1   libsystem_c.dylib                0x00007fff909477d2 pthread_kill + 95
2   libsystem_c.dylib                0x00007fff90938a7a abort + 143
3   libGPUSupport.dylib              0x0000000101ceb6be gpusKillClient + 97
4   com.apple.driver.AppleIntelHD3000GraphicsGLDriver   0x0000000109802c75 GhalInterface::getCommandBuffer(unsigned char**, unsigned char**, unsigned int*, unsigned int*) + 211
5   com.apple.driver.AppleIntelHD3000GraphicsGLDriver   0x0000000109827e21 GHAL3D::CPrivateCommandTransport::FlushCommandBuffer(GHAL3D::FLUSH_TYPE, unsigned char) + 317
6   com.apple.driver.AppleIntelHD3000GraphicsGLDriver   0x0000000109827bda g575SubmitPacketsToken + 46
7   com.apple.CoreImage              0x00007fff87f51753 fe_accel_context_flush(fe_accel_context_struct*) + 39
8   com.apple.CoreImage              0x00007fff87f51151 fe_accel_context_release(fe_accel_context_struct*) + 37
9   com.apple.CoreImage              0x00007fff87f5d772 -[FEOpenGLContext updateBuffer] + 242
10  com.apple.CoreImage              0x00007fff87f5dc01 -[FEOpenGLContext _begin] + 99
11  com.apple.CoreImage              0x00007fff87f961da FEApplyTreeNode::render1(FETreeContext*, FEShape const&, fe_kernel_target_struct*, int, float*, FETreeTexture*) + 1602
12  com.apple.CoreImage              0x00007fff87f96bc9 FEApplyTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 1589
13  com.apple.CoreImage              0x00007fff87f94129 FETreeNode::render_(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 149
14  com.apple.CoreImage              0x00007fff87f979b4 FETreeNode::render(FETreeContext*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 108
15  com.apple.CoreImage              0x00007fff87f9b752 FETreeContext::renderTree(FETreeNode*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 276
16  com.apple.CoreImage              0x00007fff87f9ba66 FETreeContext::renderImage_(FEImage*, CGRect, FEShape const*, CGAffineTransform, CGColorSpace*, FEFormat, bool, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 688
17  com.apple.CoreImage              0x00007fff87f9bcef FETreeContext::renderImage(FEImage*, CGRect, FEShape const*, CGAffineTransform, CGColorSpace*, FEFormat, bool, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 375
18  com.apple.CoreImage              0x00007fff87f72947 -[FEImage(Internal) _renderWithContext:bounds:transform:colorSpace:format:premultiplied:setupCallback:finishCallback:callbackData:] + 247
19  com.apple.CoreImage              0x00007fff87f723ca -[FEImage renderToContext:bounds:transform:destinationFormat:colorSpace:] + 218
20  com.apple.CoreImage              0x00007fff87f28a8e renderImage(FEContext*, CGRect, CGAffineTransform, unsigned int, void*) + 137
21  com.apple.CoreImage              0x00007fff87f420b6 -[CIOpenGLContextImpl renderWithBounds:matrix:function:info:] + 258
22  com.apple.CoreImage              0x00007fff87f289f7 -[CIContextImpl render:] + 168
23  com.apple.CoreImage              0x00007fff87f26c78 -[CIContext drawImage:inRect:fromRect:] + 1098
24  com.apple.CoreImage              0x00007fff87f26fa1 -[CIContext drawImage:atPoint:fromRect:] + 140
25  com.apple.QuartzComposer         0x00007fff89d94680 -[QCProvider_CoreImage createTextureBufferForManager:withFormat:target:transformation:bounds:colorSpace:options:] + 1368
26  com.apple.QuartzComposer         0x00007fff89d0a67b -[QCImageManager(Internal) _createImageBufferFromProvider:withFormat:target:transformation:bounds:colorSpace:options:] + 4119
27  com.apple.QuartzComposer         0x00007fff89d09656 -[QCImageManager createTextureBufferFromProvider:withFormat:target:transformation:bounds:colorSpace:options:] + 2412
28  com.apple.QuartzComposer         0x00007fff89d3adec -[QCImagePort_Cache setOnOpenGLContext:unit:withBounds:transformation:target:mipmappingLevels:matrix:] + 1776
29  com.apple.QuartzComposer         0x00007fff89d3a6f6 -[QCOpenGLPort_Image setOnOpenGLContext:unit:withBounds:transformation:target:mipmappingLevels:matrix:] + 84
30  com.apple.QuartzComposer         0x00007fff89d3a680 -[QCOpenGLPort_Image setOnOpenGLContext:unit:fromBounds:withTarget:mipmappingLevels:matrix:] + 136
31  com.apple.QuartzComposer         0x00007fff89d3a4b7 QCExecutionSetStates + 951
32  com.apple.QuartzComposer         0x00007fff89cf744c -[QCRenderingManager renderAtTime:arguments:] + 2085
33  com.apple.QuartzComposer         0x00007fff89cf4db8 -[QCPatch(Extensions) executeSubpatches:arguments:] + 57
34  com.apple.QuartzComposer         0x00007fff89cf4d72 -[QCPatch(Customization) execute:time:arguments:] + 41
35  com.apple.QuartzComposer         0x00007fff89cf5fbd -[QCPatch(Private) _renderAtTime:arguments:] + 145
36  com.apple.QuartzComposer         0x00007fff89cf7494 -[QCRenderingManager renderAtTime:arguments:] + 2157
37  com.apple.QuartzComposer         0x00007fff89cf4db8 -[QCPatch(Extensions) executeSubpatches:arguments:] + 57
38  com.apple.QuartzComposer         0x00007fff89cf4d72 -[QCPatch(Customization) execute:time:arguments:] + 41
39  com.apple.QuartzComposer         0x00007fff89cf5fbd -[QCPatch(Private) _renderAtTime:arguments:] + 145
40  com.apple.QuartzComposer         0x00007fff89cf7494 -[QCRenderingManager renderAtTime:arguments:] + 2157
41  com.apple.QuartzComposer         0x00007fff89cf4db8 -[QCPatch(Extensions) executeSubpatches:arguments:] + 57
42  com.apple.QuartzComposer         0x00007fff89cf4d72 -[QCPatch(Customization) execute:time:arguments:] + 41
43  com.apple.QuartzComposer         0x00007fff89cf5fbd -[QCPatch(Private) _renderAtTime:arguments:] + 145
44  com.apple.QuartzComposer         0x00007fff89cfca51 -[QCContext renderPatch:time:arguments:] + 600
45  com.apple.QuartzComposer         0x00007fff89cfc791 -[QCGraphicsContext renderPatch:time:arguments:] + 74
46  com.apple.QuartzComposer         0x00007fff89cfb92b -[QCOpenGLContext renderPatch:time:arguments:] + 572
47  com.apple.QuartzComposer         0x00007fff89cfb6e3 -[QCPatch(Runtime) render:arguments:] + 76
48  com.apple.QuartzComposer         0x00007fff89d21c8a -[QCRenderer renderAtTime:arguments:] + 31
49  com.movinteraction.festi   0x000000010000522f 0x100000000 + 21039
50  com.movinteraction.festi   0x0000000100002564 0x100000000 + 9572
51  com.apple.CoreVideo              0x00007fff8877539b CVDisplayLink::performIO(CVTimeStamp*) + 259
52  com.apple.CoreVideo              0x00007fff88774698 CVDisplayLink::runIOThread() + 662
53  com.apple.CoreVideo              0x00007fff887743e9 _ZL13startIOThreadPv + 148
54  libsystem_c.dylib                0x00007fff909458bf _pthread_start + 335
55  libsystem_c.dylib                0x00007fff90948b75 thread_start + 13

vade's picture
Re: CVDisplayLink crash QuartzBuilder app

Interesting. Thats a crash in the OpenGL driver for the HD 3000. I would actually take the time to report that crash to Apple, along with a composition.

Does the composition render fine in Quartz Composer?

Id also try it on 10.8 - as there are lots of fixes related to Quartz Composer and Core Image behind the scenes.

pyramus's picture
Re: CVDisplayLink crash QuartzBuilder app

hi vade, thanks for your reply, didn't notice it until now!

the crash occurs quite randomly and only once in a while (every day or so). also, the app is using several plugins and external i/o hardware which isn't running on my own computer so reporting details repeatedly will be quite a headache. moreover: it won't be used after the campaign ended, so I guess i'd just leave it be...

had a very tiny hope this would be quick-fixable, but clearly isn't. so now i will happily ignore it :-) thanks for that!