"image capture extension" consumi…
Imported from the Apple Support Forums via the Wayback Machine 🔗
I have a 1-day old 27" i5 iMac, with 8GB of RAM.
It is running OS X version 10.6.3
I have a runaway process "image capture extension" which quickly consumes all my RAM, continues to grow until the machine is perpetually swapping, and eventually become unusable/crashes. CPU usage is also very high with the process, it consumes 100% of a core.
Starting iPhoto (version 8.1.2 (424)) will launch the process. Killing the "Image Capture Extension" process makes it so that I can't gracefully quit iPhoto. Trying to launch scanner software also launches it.
I have now disconnected all USB devices (external drive, printer, etc), except for my keyboard. The problem persists.
I have checked for software updates, updated everything (no more updates available) and the problem persists. Rebooting doesn't help.
Using the "activity monitor", I sampled the process and got the following. The Image Capture Extension process was up to about 2GB when I took this sample.
Help! I don't know what to do next.
Sampling process 633 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Image Capture Extension (pid 633) every 1 millisecond
Call graph:
2419 Thread_7218 DispatchQueue_1: com.apple.main-thread (serial)
2419 start
2419 NSApplicationMain
2419 +[NSBundle(NSNibLoading) loadNibNamed:owner:]
2419 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:]
2419 loadNib
2419 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:]
2419 -[NSIBObjectData instantiateObject:]
2419 -[NSCustomObject nibInstantiate]
2419 -[AppController init]
2419 +[ICADeviceDatabase sharedDatabase]
2419 -[ICADeviceDatabase init]
2419 -[ICADeviceDatabase addDevicesFromPLists:]
2417 _SQLiteExecuteSQLAndFetchResult
2217 _SQLiteCreateError
1035 +[NSDictionary dictionaryWithObject:forKey:]
933 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
779 CFDictionaryCreate
349 __CFBasicHashRehash
161 malloc
zonemalloc
124 szone
malloc_shouldclear
68 tiny
malloc_from_freelist
41 szone
malloc_shouldclear
6
_cpunumber
3 OSSpinLockLock
3
spinunlock
3 allocate_pages
3 __mmap
23 malloc
zonemalloc
14
_spinlock
136 __CFBasicHashRehash
24 CFAllocatorDeallocate
13 CFGetAllocator
9 CFAllocatorAllocate
6 objc
assignstrongCast
175 CFBasicHashAddValue
100
_CFBasicHashFindBucket1
47
_CFBasicHashFindBucket1
30 __CFStringHash
18 CFHash
5 __CFBasicHashStandardCallback
49 __CFBasicHashAddValue
23 __CFBasicHashAddValue
11 CFRetain
7 __CFBasicHashStandardCallback
4 CFBasicHashGetCapacity
4 _CFRetain
26 CFBasicHashAddValue
175 CFBasicHashCreate
118 _CFRuntimeCreateInstance
48 __bzero
41 malloc
zonemalloc
25 szone
malloc_shouldclear
18 szone
malloc_shouldclear
6
_cpunumber
1 OSSpinLockLock
6 malloc
zonemalloc
5
_spinlock
3 szone_malloc
1 dyld
stub__spinlock
1 dyld
stub__spinunlock
22 _CFRuntimeCreateInstance
5 CFAllocatorAllocate
1 __CFAllocatorSystemAllocate
1 memset
51 CFBasicHashCreate
4 CFBasicHashGetTypeID
2 objc
assignstrongCast
26 __CFDictionaryCreateGeneric
20 bcmp
6 __CFDictionaryCreateGeneric
23 CFDictionaryCreate
10 CFAllocatorDeallocate
5 CFDictionaryGetTypeID
4 dyld
stub_objc_assignstrongCast
3 CFBasicHashSetCapacity
3 dyld
stub_malloc_zonemalloc
3 dyld
stubmemcmp
1 CFAllocatorAllocate
1 _CFRuntimeSetInstanceTypeID
1 __CFAllocatorSystemAllocate
42 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
40 -[NSCFString copyWithZone:]
36 CFStringCreateCopy
14 CFStringCreateCopy
12 CFRetain
8 _CFRetain
2 pthread_getspecific
2 -[NSCFString copyWithZone:]
2 dyld
stub_pthreadgetspecific
28 objc_msgSend
9 CFMakeCollectable
8 CFRelease
8 __bzero
6 objc
msgSendvtable14
4 memset
3 _CFRelease
2 -[NSCFString release]
2 objc
assignstrongCast
1 __CFBasicHashRehash
1 dyld
stubCFStringCreateCopy
47 +[NSDictionary allocWithZone:]
24 objc_msgSend
12 objc
msgSendvtable3
8 +[NSDictionary allocWithZone:]
3 +[NSObject(NSObject) self]
20 -[NSObject(NSObject) autorelease]
16 _CFAutoreleasePoolAddObject
13 _CFAutoreleasePoolAddObject
2 objc_collectingEnabled
1 pthread_getspecific
2 -[NSObject(NSObject) autorelease]
1 dyld
stub_objccollectingEnabled
1 dyld
stub_pthreadgetspecific
10 objc
msgSendvtable15
6 dyld
stubmemset
6 objc_msgSend
3 +[NSDictionary dictionaryWithObject:forKey:]
2 +[NSObject(NSObject) alloc]
2 -[NSCFString copyWithZone:]
2 CFRelease
2 dyld
stub_objcmsgSend
1 dyld
stubCFRelease
1 objc
msgSendvtable1
792 +[NSString stringWithFormat:]
659 -[NSPlaceholderString initWithFormat:locale:arguments:]
647 _CFStringCreateWithFormatAndArgumentsAux
249 CFStringCreateMutable
221 _CFRuntimeCreateInstance
105 __bzero
68 malloc
zonemalloc
58 szone
malloc_shouldclear
32 tiny
malloc_from_freelist
21 szone
malloc_shouldclear
3
_cpunumber
2 allocate_pages
2 __mmap
7
_spinlock
3 malloc
zonemalloc
41 _CFRuntimeCreateInstance
4 CFAllocatorAllocate
2 memset
1 __CFAllocatorSystemAllocate
25 CFStringCreateMutable
2 CFAllocatorAllocate
1 dyld
stubmemset
143 _CFRelease
43 szone_free
42 szone_free
1 OSSpinLockLock
40 _CFRelease
24 objc_removeAssociatedObjects
15 objc_removeAssociatedObjects
9
classinstancesHaveAssociatedObjects
9 __CFStringDeallocate
8
_spinlock
6 CFAllocatorDeallocate
4 __CFAllocatorSystemDeallocate
3 OSAtomicCompareAndSwap32
2 malloc
zonefree
2 object_getClass
1
spinunlock
1 dyld
stub__spinlock
124 _CFStringAppendFormatAndArgumentsAux
100 _CFStringAppendFormatAndArgumentsAux
11 CFStringGetLength
11 __bzero
2 memset
81 CFStringCreateCopy
51 __CFStringCreateImmutableFunnel3
26 __CFStringCreateImmutableFunnel3
14 CFRetain
7 _CFRetain
4 pthread_getspecific
29 CFStringCreateCopy
1 dyld
stub_pthreadgetspecific
22 _CFStringCreateWithFormatAndArgumentsAux
15 OSAtomicCompareAndSwap32
15
_compare_andswap32
3 CFRelease
3 dyld
stub_objectgetClass
2 malloc
zonefree
1 __CFAllocatorSystemDeallocate
1
_compare_andswap32
1 dyld
stub__spinunlock
1 dyld
stubmemset
1 pthread_getspecific
10 -[NSPlaceholderString initWithFormat:locale:arguments:]
1 CFRelease
1 dyld
stub_pthreadgetspecific
93 -[NSObject(NSObject) autorelease]
83 _CFAutoreleasePoolAddObject
70 calloc
70 malloc
zonecalloc
70 szone
malloc_shouldclear
69 __bzero
1 szone
malloc_shouldclear
11 _CFAutoreleasePoolAddObject
1 objc_collectingEnabled
1 pthread_getspecific
5 -[NSObject(NSObject) autorelease]
3 dyld
stub_objccollectingEnabled
1 dyld
stubcalloc
1 dyld
stub_pthreadgetspecific
14 +[NSString stringWithFormat:]
9 objc_msgSend
6 objc
msgSendvtable15
5 +[NSString allocWithZone:]
4 CFMakeCollectable
2 dyld
stub_CFStringCreateWithFormatAndArgumentsAux
273 +[NSObject(NSObject) allocWithZone:]
266
internal_classcreateInstanceFromZone
210 calloc
185 malloc
zonecalloc
159 szone
malloc_shouldclear
78 __bzero
38 szone
malloc_shouldclear
37 tiny
malloc_from_freelist
3
_cpunumber
2 allocate_pages
2 __mmap
1 memset
9
_spinlock
9 malloc
zonecalloc
6 szone_calloc
2 dyld
stub__spinunlock
25 calloc
31 object_cxxConstructFromClass
17 object_cxxConstructFromClass
8
classhasCxxStructorsNoSuper
6 object_cxxConstructFromClass
3
classgetSuperclass
10 object_cxxConstructFromClass
2
classgetSuperclass
2
classhasCxxStructorsNoSuper
17
internal_classcreateInstanceFromZone
7
classgetInstanceSize
1 dyld
stub_malloc_zonecalloc
5 +[NSObject(NSObject) allocWithZone:]
1 class_createInstance
1 dyld
stubcalloc
38 sqlite3_errmsg
24 sqlite3_errmsg
14 sqlite3ValueText
33 objc_msgSend
17 _SQLiteCreateError
9 objc
msgSendvtable1
8 objc
msgSendvtable0
5 +[NSObject(NSObject) alloc]
3 dyld
stub_objccollectingEnabled
1 class_createInstance
1 dyld
stubCFMakeCollectable
1 dyld
stub_classcreateInstance
1 dyld
stub_objcmsgSend
135 -[NSError initWithDomain:code:userInfo:]
40 objc_msgSend
27 -[NSCFDictionary retain]
10 _CFRetain
6 CFRetain
5 -[NSCFDictionary retain]
4 OSAtomicCompareAndSwap32
4
_compare_andswap32
2
_compare_andswap32
22 -[NSCFString copyWithZone:]
16 CFStringCreateCopy
12 CFStringCreateCopy
2 CFRetain
2 _CFRetain
3 CFRetain
2 -[NSCFString copyWithZone:]
1 dyld
stub_pthreadgetspecific
9 -[NSCFDictionary copyWithZone:]
5 -[NSCFDictionary copyWithZone:]
4 _CFDictionaryIsMutable
9 -[NSError initWithDomain:code:userInfo:]
9 objc_msgSendSuper
5 objc
assignivar
3 -[NSObject(NSObject) copy]
3 CFMakeCollectable
3 dyld
stub_CFDictionaryIsMutable
2 dyld
stubCFStringCreateCopy
2 objc
msgSendvtable13
1 CFRetain
25 sqlite3_step
21 objc_msgSend
8 dyld
stub_objcmsgSend
4 _SQLiteExecuteSQLAndFetchResult
4 objc
msgSendvtable0
2 -[NSCFString copyWithZone:]
1 -[NSObject(NSObject) copy]
1 dyld
stub_objcmsgSend
1 dyld
stub_sqlite3step
2419 Thread_7219 DispatchQueue_2: com.apple.libdispatch-manager (serial)
2419 start_wqthread
2419
pthreadwqthread
2419
dispatch_workerthread2
2419
dispatch_queueinvoke
2419
dispatch_mgrinvoke
2419 kevent
Total number in stack (recursive counted multiple, when >=5):
7 CFRetain
7 objc_msgSend
6 __bzero
6 dyld
stub_pthreadgetspecific
5 CFAllocatorAllocate
5 _CFRetain
5
_spinlock
5 memset
5 pthread_getspecific
5 szone
malloc_shouldclear
Sort by top of stack, same collapsed (when >= 5):
kevent 2419
__bzero 319
objc_msgSend 161
__CFBasicHashRehash 137
tiny
malloc_from_freelist 137
szone
malloc_shouldclear 119
_CFStringAppendFormatAndArgumentsAux 100
_CFRuntimeCreateInstance 63
CFStringCreateCopy 55
CFBasicHashCreate 51
CFRetain 49
_CFBasicHashFindBucket1 47
_CFRelease 43
_spinlock 43
-[__NSPlaceholderDictionary initWithObjects:forKeys:count:] 42
szone_free 42
CFAllocatorDeallocate 40
malloc
zonemalloc 32
_CFRetain 31
__CFStringHash 30
CFBasicHashAddValue 26
__CFStringCreateImmutableFunnel3 26
CFStringCreateMutable 25
calloc 25
sqlite3_step 25
_CFAutoreleasePoolAddObject 24
sqlite3_errmsg 24
CFDictionaryCreate 23
__CFBasicHashAddValue 23
_CFStringCreateWithFormatAndArgumentsAux 22
_compare_andswap32 22
CFAllocatorAllocate 21
bcmp 20
CFHash 18
_cpunumber 18
_SQLiteCreateError 17
internal_classcreateInstanceFromZone 17
CFMakeCollectable 16
objc
msgSendvtable15 16
object_cxxConstructFromClass 16
objc_removeAssociatedObjects 15
+[NSString stringWithFormat:] 14
CFRelease 14
sqlite3ValueText 14
CFGetAllocator 13
__CFBasicHashStandardCallback 12
dyld
stub_objcmsgSend 12
objc
msgSendvtable0 12
objc
msgSendvtable3 12
CFStringGetLength 11
-[NSPlaceholderString initWithFormat:locale:arguments:] 10
classhasCxxStructorsNoSuper 10
memset 10
objc
assignstrongCast 10
objc
msgSendvtable1 10
-[NSError initWithDomain:code:userInfo:] 9
__CFStringDeallocate 9
classinstancesHaveAssociatedObjects 9
malloc
zonecalloc 9
objc_msgSendSuper 9
pthread_getspecific 9
+[NSDictionary allocWithZone:] 8
-[NSCFString copyWithZone:] 8
dyld
stubmemset 8
+[NSObject(NSObject) alloc] 7
-[NSObject(NSObject) autorelease] 7
__mmap 7
classgetInstanceSize 7
dyld
stub_objccollectingEnabled 7
dyld
stub_pthreadgetspecific 7
__CFDictionaryCreateGeneric 6
objc
msgSendvtable14 6
szone_calloc 6
+[NSObject(NSObject) allocWithZone:] 5
+[NSString allocWithZone:] 5
-[NSCFDictionary copyWithZone:] 5
-[NSCFDictionary retain] 5
CFDictionaryGetTypeID 5
OSSpinLockLock 5
__CFAllocatorSystemDeallocate 5
classgetSuperclass 5
objc
assignivar 5
Sample analysis of process 633 written to file /dev/stdout
3 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0