I received this crash report from a user, and have no idea where to look in my 
code for a cause. I'm assuming from the method names etc that it's having 
trouble when drawing a CALayer using OpenGL. I really do nothing strange in my 
code with CALayers. I have a whole bunch of CALayers in a layer hosting view, 
which I populate just by setting their contents to an NSImage, and some 
CAShapeLayers where I am using the paths.

Thread 7 Crashed:: CVDisplayLink
0   com.apple.GeForceGLDriver           0x000000020035941f 0x200000000 + 3511327
1   com.apple.GeForceGLDriver           0x00000002000b2fd0 gldUpdateDispatch + 
85
2   GLEngine                            0x000000010b2104cc 
gleDoDrawDispatchCore + 421
3   GLEngine                            0x000000010b1b81f8 
glDrawRangeElements_IMM_Exec + 275
4   com.apple.QuartzCore                0x00007fff8dbfc954 
CA::OGL::GLContext::draw_elements(CA::OGL::PrimitiveMode, unsigned int, 
unsigned short const*, CA::OGL::Vertex const*, unsigned int, unsigned int, 
CA::OGL::ClipPlane const*) + 392
5   com.apple.QuartzCore                0x00007fff8dbfc7c5 
CA::OGL::Context::array_flush() + 103
6   com.apple.QuartzCore                0x00007fff8dc0c237 
CA::OGL::emit_combine_(CA::OGL::Context&, CA::OGL::TextureFunction, 
CA::OGL::Surface*, int, CA::OGL::Surface*, int, CA::OGL::Surface*, int, 
CA::Shape const*, CA::Vec4<float> const&) + 1290
7   com.apple.QuartzCore                0x00007fff8dc0b806 
CA::OGL::CombineNode::apply(CA::OGL::Surface**) + 130
8   com.apple.QuartzCore                0x00007fff8dbf9432 
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*) + 160
9   com.apple.QuartzCore                0x00007fff8dbf9359 
CA::OGL::render_layers(CA::OGL::Renderer&, CA::OGL::Layer*) + 130
10  com.apple.QuartzCore                0x00007fff8dbf9649 
CA::OGL::LayerNode::apply(CA::OGL::Surface**) + 267
11  com.apple.QuartzCore                0x00007fff8dbf9432 
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*) + 160
12  com.apple.QuartzCore                0x00007fff8dbf9359 
CA::OGL::render_layers(CA::OGL::Renderer&, CA::OGL::Layer*) + 130
13  com.apple.QuartzCore                0x00007fff8dbe622c 
CA::OGL::Renderer::render(CA::Render::Update const*) + 684
14  com.apple.QuartzCore                0x00007fff8dcacfd3 
CA::OGL::render(CA::OGL::Renderer&, CA::Render::Update*) + 243
15  com.apple.QuartzCore                0x00007fff8dc402b1 
_ZL9view_drawP7_CAViewdPK11CVTimeStampb + 4054
16  com.apple.QuartzCore                0x00007fff8dc3f2a2 
_ZL17view_display_linkdPK11CVTimeStampPv + 134
17  com.apple.QuartzCore                0x00007fff8dc3f122 link_callback + 246
18  com.apple.CoreVideo                 0x00007fff8e44e80f 
CVDisplayLink::performIO(CVTimeStamp*) + 259
19  com.apple.CoreVideo                 0x00007fff8e44db0c 
CVDisplayLink::runIOThread() + 662
20  com.apple.CoreVideo                 0x00007fff8e44d85d _ZL13startIOThreadPv 
+ 148
21  libsystem_c.dylib                   0x00007fff963058bf _pthread_start + 335
22  libsystem_c.dylib                   0x00007fff96308b75 thread_start + 13

Thread 7 crashed with X86 Thread State (64-bit):
  rax: 0x0000000101a0ac00  rbx: 0x0000000000000033  rcx: 0x0000000000000099  
rdx: 0x0000000000000036
  rdi: 0x0000000000010001  rsi: 0xb00000001064e36e  rbp: 0x000000010b11bbd0  
rsp: 0x000000010b11bbb0
   r8: 0x00000001019f2c00   r9: 0x00000001061bb020  r10: 0x0000000101a0ac00  
r11: 0x00000000000000c1
  r12: 0x000000010134af60  r13: 0x00000000fafafafa  r14: 0x000000010635ba40  
r15: 0x00000001064e29e0
  rip: 0x000000020035941f  rfl: 0x0000000000010297  cr2: 0x0000000100c7cc1e

Any ideas on where to look would be greatly appreciated.




Thanks

Gideon
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to