Hi,

just experienced some issues with some OpenCL composition in my app. The crash 
happening when the quit-ing process started, at that point when the renderer 
thread released. The QCRenderer object released before successfully, but that 
time I call CVDisplayLinkStop (tested with an NSTimer based rendering loop as 
well) the app crashes.

Here is the thread thread:

Thread 5 Crashed:
0   libc++abi.dylib                     0x92cc3d49 __dynamic_cast + 57
1   com.apple.opencl                    0x91ce297e 0x91cd8000 + 43390
2   com.apple.opencl                    0x91cf8637 clReleaseCommandQueue + 25
3   com.apple.QuartzComposer            0x974e27a9 _DictionaryApplierFunction + 
17
4   com.apple.CoreFoundation            0x9b737b20 
__CFDictionaryApplyFunction_block_invoke_1 + 32
5   com.apple.CoreFoundation            0x9b716e92 CFBasicHashApply + 114
6   com.apple.CoreFoundation            0x9b737af2 CFDictionaryApplyFunction + 
194
7   com.apple.QuartzComposer            0x974e278f _ThreadOpenCLContextDestroy 
+ 50
8   libsystem_c.dylib                   0x998d4e0c _pthread_tsd_cleanup + 85
9   libsystem_c.dylib                   0x9988d64c _pthread_exit + 146
10  libsystem_c.dylib                   0x9988d9a0 pthread_exit + 33
11  com.apple.Foundation                0x961f9e3c +[NSThread exit] + 18
12  com.apple.Foundation                0x961f9ded __NSThread__main__ + 1606
13  libsystem_c.dylib                   0x9988bed9 _pthread_start + 335
14  libsystem_c.dylib                   0x9988f6de thread_start + 34


I think the problem is not with my app, but with QC handling OpenCL context 
destroy on a background thread, am I right?

Thanks,

Tamas






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

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

Reply via email to