10.11 app crashes in [CIImage createCIImageWithSurfaceBytes:::::]
10.11 app crashes in [CIImage createCIImageWithSurfaceBytes:::::]
- Subject: 10.11 app crashes in [CIImage createCIImageWithSurfaceBytes:::::]
- From: Markus Spoettl <email@hidden>
- Date: Mon, 05 Oct 2015 15:50:43 +0200
Hi,
when running my app (compiled with Xcode 6.4 against 10.10 SDK) on El
Capitan, I get a zillion of these logs along with a ton of graphics glitches:
2015-10-05 15:41:23.084 myApp[2807:50961] +[CIImage
createCIImageWithSurfaceBytes:bytesPerRow:x:y:width:height:colorSpace:transform:]:
unrecognized selector sent to class 0x7fff742101e0
2015-10-05 15:41:44.560 myApp[2807:50961] CoreAnimation: ignoring exception:
+[CIImage
createCIImageWithSurfaceBytes:bytesPerRow:x:y:width:height:colorSpace:transform:]:
unrecognized selector sent to class 0x7fff742101e0
I'm not calling CIImage's -createCIImageWithSurfaceBytes: anywhere. I recompiled
the app on El Capitan using Xcode 7.0.1 and sure enough, I get the same crash in
the debugger, I'm pasting the call stack below.
I'm getting the same crash(es) every time the app's main window activates or
deactivates.
Any idea what is going on? I'm running El Capitan in a VMware Fusion 7 that runs
on Yosemite, could this be cause of the crash?
Regards
Markus
Debugger stops here first:
------------------------------------------------------------------
Thread 1Queue : com.apple.main-thread (serial)
#0 0x00007fff9657ada4 in objc_exception_throw ()
#1 0x00007fff87f92fed in +[NSObject(NSObject) doesNotRecognizeSelector:] ()
#2 0x00007fff87e9a3d1 in ___forwarding___ ()
#3 0x00007fff87e99f58 in __forwarding_prep_0___ ()
#4 0x00007fff83fbeca4 in CA::OGL::SWContext::create_ciimage(CA::OGL::Surface*,
int, CGAffineTransform const&) ()
#5 0x00007fff83e908fb in CA::OGL::emit_filter(CA::OGL::Renderer&,
CA::OGL::Filter const&, CA::OGL::Layer const&, float, CA::OGL::Surface*, float,
CA::Vec2<float>, CA::Shape const*) ()
#6 0x00007fff83e9043f in CA::OGL::FilterNode::apply(float, CA::OGL::Surface**,
float*) ()
#7 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#8 0x00007fff83e88498 in CA::OGL::ImagingNode::retain_surface(float&, unsigned
int) ()
#9 0x00007fff83e815a0 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#10 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#11 0x00007fff83e829d5 in CA::OGL::LayerNode::apply(float, CA::OGL::Surface**,
float*) ()
#12 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#13 0x00007fff83e88498 in CA::OGL::ImagingNode::retain_surface(float&, unsigned
int) ()
#14 0x00007fff83e883e3 in CA::OGL::LayerNode::retain_surface(float&, unsigned
int) ()
#15 0x00007fff83e815a0 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#16 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#17 0x00007fff83e829d5 in CA::OGL::LayerNode::apply(float, CA::OGL::Surface**,
float*) ()
#18 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#19 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#20 0x00007fff83e829d5 in CA::OGL::LayerNode::apply(float, CA::OGL::Surface**,
float*) ()
#21 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#22 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#23 0x00007fff83e829d5 in CA::OGL::LayerNode::apply(float, CA::OGL::Surface**,
float*) ()
#24 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#25 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#26 0x00007fff83e7d53a in CA::OGL::render_root_layers(CA::OGL::Renderer&,
x_link_struct const*, CA::OGL::Gstate const&) ()
#27 0x00007fff83e75426 in CA::OGL::Renderer::render(CA::Render::Update const*) ()
#28 0x00007fff83e75109 in CA::OGL::render(CA::OGL::Renderer&,
CA::Render::Update*) ()
#29 0x00007fff83e62855 in view_draw(_CAView*, double, CVTimeStamp const*, bool) ()
#30 0x00007fff83e5cbcc in CAViewDraw ()
#31 0x00007fff94113120 in NSCGSTransactionRunPostCommitActions_ ()
#32 0x00007fff94113041 in __39+[_NSCGSTransaction
currentTransaction]_block_invoke39 ()
#33 0x00007fff83e4091d in
CA::Transaction::run_commit_handlers(CATransactionPhase) ()
#34 0x00007fff83e406e1 in CA::Context::commit_transaction(CA::Transaction*) ()
#35 0x00007fff83e3fa98 in CA::Transaction::commit() ()
#36 0x00007fff83e4b28f in
CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) ()
#37 0x00007fff87ebee07 in
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ ()
#38 0x00007fff87ebed77 in __CFRunLoopDoObservers ()
#39 0x00007fff87e9dd58 in CFRunLoopRunSpecific ()
#40 0x00007fff832e3d55 in RunCurrentEventLoopInMode ()
#41 0x00007fff832e3b8f in ReceiveNextEventCommon ()
#42 0x00007fff832e39cf in _BlockUntilNextEventMatchingListInModeWithFilter ()
#43 0x00007fff93fc6f3a in _DPSNextEvent ()
#44 0x00007fff93fc6369 in -[NSApplication
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] ()
#45 0x00007fff93fbaecc in -[NSApplication run] ()
#46 0x00007fff93f84162 in NSApplicationMain ()
#47 0x000000010001a652 in main at /Users/markus/Projects/MyApp/src/main.m:38
#48 0x00007fff89f2c5ad in start ()
------------------------------------------------------------------
followed by
------------------------------------------------------------------
CVDisplayLink (14)
#0 0x00007fff9657ada4 in objc_exception_throw ()
#1 0x00007fff87f92fed in +[NSObject(NSObject) doesNotRecognizeSelector:] ()
#2 0x00007fff87e9a3d1 in ___forwarding___ ()
#3 0x00007fff87e99f58 in __forwarding_prep_0___ ()
#4 0x00007fff83fbeca4 in CA::OGL::SWContext::create_ciimage(CA::OGL::Surface*,
int, CGAffineTransform const&) ()
#5 0x00007fff83e908fb in CA::OGL::emit_filter(CA::OGL::Renderer&,
CA::OGL::Filter const&, CA::OGL::Layer const&, float, CA::OGL::Surface*, float,
CA::Vec2<float>, CA::Shape const*) ()
#6 0x00007fff83e9043f in CA::OGL::FilterNode::apply(float, CA::OGL::Surface**,
float*) ()
#7 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#8 0x00007fff83e88498 in CA::OGL::ImagingNode::retain_surface(float&, unsigned
int) ()
#9 0x00007fff83e815a0 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#10 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#11 0x00007fff83e829d5 in CA::OGL::LayerNode::apply(float, CA::OGL::Surface**,
float*) ()
#12 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#13 0x00007fff83e88498 in CA::OGL::ImagingNode::retain_surface(float&, unsigned
int) ()
#14 0x00007fff83e883e3 in CA::OGL::LayerNode::retain_surface(float&, unsigned
int) ()
#15 0x00007fff83e815a0 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#16 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#17 0x00007fff83e829d5 in CA::OGL::LayerNode::apply(float, CA::OGL::Surface**,
float*) ()
#18 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#19 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#20 0x00007fff83e829d5 in CA::OGL::LayerNode::apply(float, CA::OGL::Surface**,
float*) ()
#21 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#22 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#23 0x00007fff83e829d5 in CA::OGL::LayerNode::apply(float, CA::OGL::Surface**,
float*) ()
#24 0x00007fff83e816e4 in
CA::OGL::ImagingNode::render(CA::OGL::ImagingNode::RenderClosure*, unsigned int) ()
#25 0x00007fff83e8148d in CA::OGL::render_layers(CA::OGL::Renderer&,
CA::OGL::Layer*) ()
#26 0x00007fff83e7d53a in CA::OGL::render_root_layers(CA::OGL::Renderer&,
x_link_struct const*, CA::OGL::Gstate const&) ()
#27 0x00007fff83e75426 in CA::OGL::Renderer::render(CA::Render::Update const*) ()
#28 0x00007fff83e75109 in CA::OGL::render(CA::OGL::Renderer&,
CA::Render::Update*) ()
#29 0x00007fff83e62855 in view_draw(_CAView*, double, CVTimeStamp const*, bool) ()
#30 0x00007fff83e61d1d in view_display_link(double, CVTimeStamp const*, void*) ()
#31 0x00007fff83e61bdf in link_callback ()
#32 0x00007fff8f9763ba in CVDisplayLink::performIO(CVTimeStamp*) ()
#33 0x00007fff8f975f45 in CVDisplayLink::runIOThread() ()
#34 0x00007fff8f9759a9 in startIOThread(void*) ()
#35 0x0000000100beb815 in _pthread_body ()
#36 0x0000000100beb792 in _pthread_start ()
#37 0x0000000100be8fad in thread_start ()
--
__________________________________________
Markus Spoettl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden