IKImageBrowserView crash
IKImageBrowserView crash
- Subject: IKImageBrowserView crash
- From: Ashley Clark <email@hidden>
- Date: Wed, 8 Apr 2009 14:36:32 -0500
I'm using an IKImageBrowserView to show sets of PDF documents in my
program and am occasionally seeing crashes during IKImageWrapper
finalize calls. The crash log shows absolutely none of my code at all.
This typically happens when someone is adding a document to the image
browser's datasource.
Has anyone seen these types of crashes and have any idea if there's a
way for me to resolve it?
Thanks,
Ashley
Here's a few relevant bits from the crash log:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000001d05e0b0
Crashed Thread: 0
Application Specific Information:
objc[6119]: garbage collection is ON
IKImageWrapper
Thread 0 Crashed:
0 GLEngine 0x1e4daf17
glDeleteTextures_Exec + 23
1 libGL.dylib 0x941cc476 glDeleteTextures + 38
2 com.apple.imageKit 0x93aa4684
_deleteTextureForIKGLImageInfo + 105
3 com.apple.imageKit 0x93aa46da _removeOwners + 53
4 com.apple.CoreFoundation 0x942bcb29
CFDictionaryApplyFunction + 169
5 com.apple.imageKit 0x93aa528a -
[IKGLSharedContextRegistry removeOwner:] + 141
6 com.apple.CoreFoundation 0x9436ba3d __invoking___ + 29
...
Thread 1:
0 libSystem.B.dylib 0x956be3ae __semwait_signal + 10
1 libSystem.B.dylib 0x956e8d0d pthread_cond_wait
$UNIX2003 + 73
2 com.apple.Foundation 0x902532d2 -[NSCondition wait]
+ 210
3 com.apple.Foundation 0x9020bc6a -
[NSObject(NSThreadPerformAdditions)
performSelector:onThread:withObject:waitUntilDone:modes:] + 938
4 com.apple.Foundation 0x9028c76c -
[NSObject(NSThreadPerformAdditions)
performSelectorOnMainThread:withObject:waitUntilDone:modes:] + 92
5 com.apple.imageKit 0x939c4bcd -[_IKIRLMainProxy
forwardInvocation:] + 121
6 com.apple.CoreFoundation 0x9436b96a ___forwarding___ +
986
7 com.apple.CoreFoundation 0x9436b9d2
_CF_forwarding_prep_0 + 50
8 com.apple.imageKit 0x939b6e7e -[IKImageWrapper
finalize] + 81
9 libobjc.A.dylib 0x94ab46b6 finalizeOneObject +
56
...
Thread 4:
0 com.apple.AppKit 0x905fe758 _NSReadImage + 4633
1 com.apple.AppKit 0x905fd3de -[NSBitmapImageRep
initWithFocusedViewRect:] + 187
2 com.apple.imageKit 0x939bd4ec
IKCGImageFromNSImage + 550
3 com.apple.imageKit 0x939bca32 -[IKImageWrapper
_tryToCreateCGImageRepFromNonCGFile:] + 125
4 com.apple.imageKit 0x939bc4d1 -[IKImageWrapper
_thumbnailWithSize:antialiased:qualityRequested:qualityProduced:] + 264
5 com.apple.imageKit 0x939c2bb1 -[IKMipmapItem
setAsMipmapOfImage:withSize:antialiased:quality:] + 111
6 com.apple.imageKit 0x939c2e94 -[IKMipmapItem
setAsMipmapOfImage:aspectRatio:antialiased:quality:] + 355
7 com.apple.imageKit 0x939c05e1 -[IKMipmapImage
validateMipmap:withModel:withQuality:] + 350
8 com.apple.imageKit 0x939c0776 -[IKMipmapImage
validateMipmap:withQuality:] + 228
9 com.apple.imageKit 0x939e2b1a -
[IKImageBrowserView(ImageBrowserImport) startScrollPrefetchTask] + 1040
10 com.apple.imageKit 0x93a92167 -[IKTaskManager
taskLoop] + 2037
...
_______________________________________________
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