Apfelinsel
Mac-Software => Thema gestartet von: Jochen am Februar 25, 2012, 10:00:18
-
Habe hier Aperture laufen bei dem ein Vorgang dauert und dauert und dauert …
Wo kann ich prüfen warum es eventuell nicht fertig wird.
In der Aktivitätsanzeige sehe ich nur:
Aperture (1117) > Übergeordneter Prozess launchd (176) > Übergeordneter Prozess launchd (1) > Übergeordneter Prozess kernel task (0).
Dann ist Ende.
Jochen
Ergänzung:
Vorgang läuft seit 3 h !!!
-
Um zu prüfen, was ein Programm gerade "tut", musst Du ein sogenanntes "process sample" erstellen. Das Ergebnis zu analysieren, ist allerdings nicht ganz einfach und in einigen Fällen auch nur dem Programmautor möglich.
Hierzu in "Aktivitätsanzeige", den jeweiligen Prozess auswählen und dann auf den Knopf "Prozess analysieren" in der Symbolleiste klicken. In dem entstehenden Bericht sieht man die Aufrufhierarchie der jeweils gerade arbeitenden Funktionen innerhalb des Prozesses, von unten nach oben, für jeden laufenden Thread.
-
Danke.
Sechs Stunden nach Start rennt Aperture immer noch.
Ich stelle es mal rein was analysiert wurde.
Sampling process 1117 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Aperture (pid 1117) every 1 millisecond
Call graph:
2374 Thread_61406 DispatchQueue_1: com.apple.main-thread (serial)
2374 0x10000f214
2374 0x10000f454
2374 NSProApplicationMain
2374 -[NSApplication run]
2374 0x1004b284b
2374 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
2374 _DPSNextEvent
2374 BlockUntilNextEventMatchingListInMode
2374 ReceiveNextEventCommon
2374 RunCurrentEventLoopInMode
2374 CFRunLoopRunSpecific
2374 __CFRunLoopRun
2373 mach_msg
2373 mach_msg_trap
1 __NSFireTimer
1 -[RKDatabaseComponent autoSaveTimerFired:]
1 -[RKDatabaseComponent autoSaveDatabaseOnMainThread]
1 -[RKDatabaseComponent saveSomeInfoDictionaries]
1 -[XTThread sendLocalMessage:destThread:replyTarget:replySelector:]
2374 Thread_61415 DispatchQueue_2: com.apple.libdispatch-manager (serial)
2374 start_wqthread
2374 _pthread_wqthread
2374 _dispatch_worker_thread2
2374 _dispatch_queue_invoke
2374 _dispatch_mgr_invoke
2373 kevent
1 _dispatch_run_timers
1 _dispatch_timer_list_update
2374 Thread_61417
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2365 -[XTMsgQueue waitForMessage]
2363 -[NSConditionLock lockWhenCondition:beforeDate:]
2362 -[NSCondition waitUntilDate:]
2362 _pthread_cond_wait
2362 semaphore_timedwait_signal_trap
1 -[NSCondition lock]
1 __spin_lock
2 -[NSConditionLock unlockWithCondition:]
2 -[NSCondition unlock]
2 pthread_mutex_unlock
2 semaphore_signal_trap
5 -[XTMessageHub handleMessage:]
5 -[XTDistributor distributeMessage:]
3 -[XTList dealloc]
1 -[XTList clear]
1 -[NSObject(NSObject) release]
1 __spin_lock
1 -[XTList dealloc]
1 __bzero
1 -[XTDistributor newSubscribersListForMessage:]
1 -[NSLock lock]
1 __spin_lock
1 -[XTList makeObjectsPerformSelector:withObject:]
1 -[XTMsgQueue postMessage:]
1 -[XTMsgQueue postMessage:withCountBeforeAdd:]
1 -[XTMsgQueue lockCondition]
1 objc_msgSend
4 -[NSAutoreleasePool release]
3 NSPopAutoreleasePool
3 _CFExecutableLinkedOnOrAfter
1 _CFAutoreleasePoolPop
1 pthread_setspecific
2374 Thread_61419
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTRunLoopThread run:]
2374 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
2374 CFRunLoopRunSpecific
2374 __CFRunLoopRun
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61420
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTRunLoopThread run:]
2374 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
2374 CFRunLoopRunSpecific
2374 __CFRunLoopRun
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61421
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61422
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61423
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61424
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61425
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTRunLoopThread run:]
2374 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
2374 CFRunLoopRunSpecific
2374 __CFRunLoopRun
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61426
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61427
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61428
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61429
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61430
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61434
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2372 -[XTMsgQueue waitForMessage]
2370 -[NSConditionLock lockWhenCondition:beforeDate:]
2370 -[NSCondition waitUntilDate:]
2370 _pthread_cond_wait
2366 semaphore_timedwait_signal_trap
3 _pthread_cond_wait
1 _pthread_cond_remove
1 __spin_lock
2 -[NSConditionLock unlockWithCondition:]
1 -[NSCondition lock]
1 __spin_lock
1 -[NSCondition unlock]
1 pthread_mutex_unlock
1 semaphore_signal_trap
2 -[XTThread handleMessage:]
2 -[XTDistributor distributeMessage:]
2 -[XTList makeObjectsPerformSelector:withObject:]
2 -[XTJobController progressReport:]
1 -[NSArray(NSKeyValueCoding) valueForKey:]
1 objc_msgSend_vtable7
1 -[NSObject(NSKeyValueCoding) valueForKey:]
1 -[NSDictionary(NSKeyValueCoding) valueForKeyPath:]
2374 Thread_61435
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61436
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61437
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61445
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2372 -[XTMsgQueue waitForMessage]
2372 -[NSConditionLock lockWhenCondition:beforeDate:]
2372 -[NSCondition waitUntilDate:]
2372 _pthread_cond_wait
2372 semaphore_timedwait_signal_trap
2 -[XTThread handleMessage:]
2 -[XTDistributor distributeMessage:]
1 -[XTDistributor newSubscribersListForMessage:]
1 -[XTDistributor subscriptionsForMessage:]
1 -[XTSubscription target]
1 -[XTList objectEnumerator]
1 +[NSObject(NSObject) allocWithZone:]
1 _internal_class_createInstanceFromZone
1 _class_getInstanceSize
2374 Thread_61446
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61447
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61449
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61450
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61451
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61452
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61453
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61454
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61458
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[RAOperationQueueImpl _workThread]
2374 -[RALatchTrigger wait]
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61459
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[RAOperationQueueImpl _workThread]
2374 -[RALatchTrigger wait]
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61460
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[RAOperationQueueImpl _workThread]
2374 -[RALatchTrigger wait]
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61461
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[RAOperationQueueImpl _workThread]
2374 -[RALatchTrigger wait]
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61462
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[RAOperationQueueImpl _workThread]
2374 -[RALatchTrigger wait]
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61463
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[RAOperationQueueImpl _workThread]
2374 -[RALatchTrigger wait]
2374 mach_msg
2374 mach_msg_trap
2374 Thread_61505
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61506
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61508
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_61517
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[XTThread run:]
2374 -[XTMsgQueue waitForMessage]
2374 -[NSConditionLock lockWhenCondition:beforeDate:]
2374 -[NSCondition waitUntilDate:]
2374 _pthread_cond_wait
2374 semaphore_timedwait_signal_trap
2374 Thread_87872
2374 thread_start
2374 _pthread_start
2374 __NSThread__main__
2374 -[NSUIHeartBeat _heartBeatThread:]
2345 usleep
2340 nanosleep
2340 __semwait_signal
5 cerror
15 -[NSSurface flush]
13 CGSFlushSurfaceWithOptions
9 _CGSGetSurfaceBinding
9 mach_msg
9 mach_msg_trap
4 _CGSFlushSurfaceInline
4 mach_msg
4 mach_msg_trap
1 -[NSView lockFocusIfCanDraw]
1 -[NSView _focusFromView:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _focusInto:withClip:]
1 -[NSFocusState addSpecialGStateView:]
1 __CFArrayInit
1 _CFRuntimeCreateInstance
1 malloc_zone_malloc
1 szone_malloc_should_clear
1 ripc_Operation
1 CGSDeviceSynchronize
1 _CGSFlushRegionInline
11 -[NSProProgressIndicator heartBeat:]
5 -[NSSurface lockFocusIfCanDraw]
5 -[NSView lockFocusIfCanDraw]
2 -[NSWindow _threadContext]
2 +[NSUIHeartBeat isHeartBeatThread]
1 +[NSThread currentThread]
1 _NSThreadGet0
1 pthread_setspecific
1 -[NSFocusStack focusView:inWindow:]
1 objc_addExceptionHandler
1 libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::step()
1 libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(bool)
1 _dyld_find_unwind_sections
1 client_dyld_find_unwind_sections(void*, dyld_unwind_sections*)
1 dyld::findImageContainingAddress(void const*)
1 -[NSFocusState flush]
1 -[NSFrameView adjustHalftonePhase]
1 -[NSProWindowFrame contentFill]
1 objc_msgSend
1 -[NSView _focusFromView:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _gatherFocusStateInto:upTo:withContext:]
1 -[NSView _focusInto:withClip:]
1 objc_msgSend_vtable6
1 -[NSImage CGImageForProposedRect:context:hints:]
1 NSImageCTMForReferenceContext_hints_
1 -[NSProProgressIndicator heartBeat:]
1 -[NSSurface frame]
1 -[NSSurface unlockFocus]
1 -[NSCGSContext graphicsPort]
1 -[NSView convertRect:fromView:]
1 -[NSView _convertRect:fromAncestor:]
1 -[NSView _convertRect:fromAncestor:]
1 -[NSView _convertRect:fromAncestor:]
1 -[NSView _convertRect:fromAncestor:]
1 objc_msgSend_stret
1 CGContextDrawImage
1 ripc_DrawImage
1 ripc_AcquireImage
1 CGSImageDataLock
1 img_image
1 CGColorSpaceGetNumberOfComponents
1 -[NSCFSet addObject:]
1 -[NSWindow _copyAcquiredViewHierarchyLock]
1 -[NSViewHierarchyLock retain]
1 OSAtomicAdd64
1 objc_msgSend
2357 Thread_92875
2357 start_wqthread
2355 _pthread_wqthread
2355 __workq_kernreturn
1 __spin_lock
1 start_wqthread
761 Thread_109807
761 start_wqthread
761 _pthread_wqthread
761 __workq_kernreturn
17 Thread_92875 DispatchQueue_15: com.apple.aperture.cron (serial)
17 start_wqthread
17 _pthread_wqthread
17 _dispatch_worker_thread2
17 _dispatch_queue_invoke
17 _dispatch_queue_drain
10 _dispatch_queue_invoke
10 _dispatch_source_invoke
10 __dispatch_after_f_block_invoke_1
7 _dispatch_call_block_and_release
6 -[XTCron registerCronJob:]
6 dispatch_after_f
6 dispatch_source_timer_create
6 dispatch_source_timer_create_f
4 _dispatch_queue_push_list_slow
4 _dispatch_wakeup
4 _dispatch_mgr_wakeup
4 _dispatch_update_kq
4 kevent
1 _dispatch_barrier_async_f_slow
1 _dispatch_continuation_alloc_from_heap
1 malloc_zone_calloc
1 szone_malloc_should_clear
1 dispatch_source_create
1 calloc
1 malloc_zone_calloc
1 szone_malloc_should_clear
1 __bzero
1 -[XTCronJob registerCronJob]
1 +[XTCron cron]
1 objc_sync_enter
1 id2data
1 fetch_cache
1 _objc_fetch_pthread_data
1 pthread_getspecific
3 _Block_release
1 -[NSObject(NSObject) release]
1 __CFDoExternRefOperation
1 CFBasicHashRemoveValue
1 ___CFBasicHashFindBucket1
1 __CFBasicHashNullCallback
1 _Block_object_dispose
1 _Block_release
7 _dispatch_queue_push_list_slow
7 _dispatch_wakeup
7 _dispatch_mgr_wakeup
7 _dispatch_update_kq
7 kevent
Total number in stack (recursive counted multiple, when >=5):
37 __NSThread__main__
37 _pthread_start
37 thread_start
27 -[NSCondition waitUntilDate:]
27 -[NSConditionLock lockWhenCondition:beforeDate:]
27 -[XTMsgQueue waitForMessage]
27 -[XTThread run:]
27 _pthread_cond_wait
27 semaphore_timedwait_signal_trap
18 -[NSView _gatherFocusStateInto:upTo:withContext:]
12 mach_msg
12 mach_msg_trap
6 -[RALatchTrigger wait]
6 -[RAOperationQueueImpl _workThread]
6 __spin_lock
Sort by top of stack, same collapsed (when >= 5):
semaphore_timedwait_signal_trap 64076
mach_msg_trap 23752
__workq_kernreturn 3116
kevent 2384
__semwait_signal 2340
__spin_lock 6
cerror 5
Sample analysis of process 1117 written to file /dev/stdout
-
Um zu prüfen, was ein Programm gerade "tut", musst Du ein sogenanntes "process sample" erstellen. Das Ergebnis zu analysieren, ist allerdings nicht ganz einfach und in einigen Fällen auch nur dem Programmautor möglich.
Hierzu in "Aktivitätsanzeige", den jeweiligen Prozess auswählen und dann auf den Knopf "Prozess analysieren" in der Symbolleiste klicken. In dem entstehenden Bericht sieht man die Aufrufhierarchie der jeweils gerade arbeitenden Funktionen innerhalb des Prozesses, von unten nach oben, für jeden laufenden Thread.
Wenn man Probleme in Aperture analysieren will, macht man die Analyse nur für Aperture oder sind auch die Übergeordneten Prozesse zu analysieren ?
Jochen
-
In der Analyse sieht man nur Threads, die aufeinander warten und ein paar, die unverdächtige Hintergrundarbeiten ausführen. Von "Arbeit" sehe ich auf den ersten Blick gar nichts. Ich fürchte, da ist etwas intern abgestürzt. Möglicherweise steht in der Konsole noch eine hilfreiche Fehlermeldung, was schiefgegangen ist. Ansonsten würde ich vermuten, das Programm tut nichts mehr und Du musst es abbrechen.
macht man die Analyse nur für Aperture oder sind auch die Übergeordneten Prozesse zu analysieren ?
Der eine Prozess reicht. Die übergeordneten Prozesse haben mit dem Programm gar nichts zu tun, sondern zeigen nur, wie dieses Programm aufgerufen wurde. In Deinem Fall wurde Aperture von der Job-Verwaltung (launchd) Deines Benutzer-Accounts aufgerufen, die wiederum von der Job-Verwaltung des ganzen Betriebssystems aufgerufen wurde, die wiederum unter Kontrolle des Betriebssystemkerns (kernel task) beim Starten des Computers aufgerufen wurde.
-
In der Analyse sieht man nur Threads, die aufeinander warten und ein paar, die unverdächtige Hintergrundarbeiten ausführen. Von "Arbeit" sehe ich auf den ersten Blick gar nichts. Ich fürchte, da ist etwas intern abgestürzt. Möglicherweise steht in der Konsole noch eine hilfreiche Fehlermeldung, was schiefgegangen ist. Ansonsten würde ich vermuten, das Programm tut nichts mehr und Du musst es abbrechen.
Wo muss ich in der Konsole genau nachschauen. Es gibt in der Sidebar die Kategorien:
Datenbanksuchen
Diagnose- und Nutzungsinformationen
Dateien
Jochen
-
Datenbanksuchen (ab Lion: Systemprotokollanfragen) > Alle Meldungen reicht.
-
Gestern Morgen habe ich begonnen mit Aperture zu arbeiten, um aus 11 RAWs ein HDR mit Hilfe des HDR Expose 2 Plugin zu erstellen.
Dazu fand ich erst einmal folgende 3 Zeilen:
25.02.12 KW 8 08:05:52 Aperture[1117] Signal received! Time to accept input
25.02.12 KW 8 08:05:52 Aperture[1117] About to start importing....
25.02.12 KW 8 08:05:52 Aperture[1117] HIToolbox: ignoring exception '*** -[NSArray objectAtIndex:]: index (0) beyond bounds (0)' that raised inside Carbon event dispatch
(
0 CoreFoundation 0x00007fff832b2784 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff83dcbf03 objc_exception_throw + 45
2 CoreFoundation 0x00007fff833040a2 -[__NSArray0 objectAtIndex:] + 194
3 Aperture 0x00000001002754dc 0x0 + 4297544924
4 ProXTCore 0x0000000101b02a83 -[XTThread handleMessage:] + 195
5 ProXTCore 0x0000000101b073f1 -[XTPortMsgQueue handleMachMessage:] + 209
6 Foundation 0x00007fff81c371d7 __NSFireMachPort + 103
7 CoreFoundation 0x00007fff8327665e __CFMachPortPerform + 366
8 CoreFoundation 0x00007fff8324e6b1 __CFRunLoopRun + 5201
9 CoreFoundation 0x00007fff8324cd8f CFRunLoopRunSpecific + 575
10 HIToolbox 0x00007fff875257ee RunCurrentEventLoopInMode + 333
11 HIToolbox 0x00007fff875255f3 ReceiveNextEventCommon + 310
12 HIToolbox 0x00007fff875254ac BlockUntilNextEventMatchingListInMode + 59
13 AppKit 0x00007fff84532eb2 _DPSNextEvent + 708
14 AppKit 0x00007fff84532801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
15 Aperture 0x00000001004b284b 0x0 + 4299892811
16 AppKit 0x00007fff8476ddc3 -[NSApplication _realDoModalLoop:peek:] + 442
17 AppKit 0x00007fff8476b951 -[NSApplication runModalForWindow:] + 129
18 Aperture 0x00000001002710d7 0x0 + 4297527511
19 Aperture 0x000000010003787d 0x0 + 4295194749
20 AppKit 0x00007fff84687eda -[NSApplication sendAction:to:from:] + 95
21 ProKit 0x00000001013677ed -[NSProApplication sendAction:to:from:] + 100
22 Aperture 0x00000001004b19e7 0x0 + 4299889127
23 AppKit 0x00007fff846ac46a -[NSMenuItem _corePerformAction] + 365
24 AppKit 0x00007fff846ac1d4 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 121
25 AppKit 0x00007fff84931cf4 -[NSMenu _internalPerformActionForItemAtIndex:] + 35
26 AppKit 0x00007fff847e39e9 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 136
27 AppKit 0x00007fff8468e99c NSSLMMenuEventHandler + 321
28 HIToolbox 0x00007fff874fe7f7 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1002
29 HIToolbox 0x00007fff874fdd46 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 395
30 HIToolbox 0x00007fff8751ba81 SendEventToEventTarget + 45
31 HIToolbox 0x00007fff8754ac35 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 387
32 HIToolbox 0x00007fff87577a0a SendMenuCommandWithContextAndModifiers + 56
33 HIToolbox 0x00007fff875779c2 SendMenuItemSelectedEvent + 101
34 HIToolbox 0x00007fff875778d2 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 150
35 HIToolbox 0x00007fff87558c27 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 467
36 HIToolbox 0x00007fff8755837c _HandleMenuSelection2 + 453
37 AppKit 0x00007fff8455f851 _NSHandleCarbonMenuEvent + 236
38 AppKit 0x00007fff84533362 _DPSNextEvent + 1908
39 AppKit 0x00007fff84532801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
40 Aperture 0x00000001004b284b 0x0 + 4299892811
41 AppKit 0x00007fff844f868f -[NSApplication run] + 395
42 ProKit 0x000000010136a04b NSProApplicationMain + 267
43 Aperture 0x000000010000f454 0x0 + 4295029844
44 Aperture 0x000000010000f214 0x0 + 4295029268
45 ??? 0x0000000000000002 0x0 + 2
)
-
Dann fand ich später noch:
25.02.12 KW 8 22:37:17 Aperture[1117] kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 2391
25.02.12 KW 8 22:37:17 Aperture[1117] kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
25.02.12 KW 8 22:37:17 Aperture[1117] kCGErrorIllegalArgument: CGSOrderWindowListWithGroups: invalid window ID (2391)
25.02.12 KW 8 22:37:17 Aperture[1117] kCGErrorIllegalArgument: CGSOrderWindowList: NULL list pointer or empty list
-
Will Euch ja nicht mit meinem Problem zu arg strapazieren.
Mein Vorschlag wäre.
Ich starte mal einen Workflow mit Aperture und schicke alle Infos aus der Konsole an den Support.
Die müssen doch rausbekommen wieso es klemmt, oder ?
Wenn Sie Interesse haben den Fehler zu finden ?
Jochen
-
An dieser Stelle:
1 libobjc.A.dylib 0x00007fff83dcbf03 objc_exception_throw + 45
2 CoreFoundation 0x00007fff833040a2 -[__NSArray0 objectAtIndex:] + 194
3 Aperture 0x00000001002754dc 0x0 + 4297544924
sieht man, dass ein unerwarteter Programmzustand ("Exception") aufgetreten ist, der vom Programm zwar ignoriert, aber nicht weiter abgefangen wurde. Dadurch hat die interne Verarbeitung wahrscheinlich gar nicht erst begonnen und die grafische Oberfläche ist in einen inaktiven Zustand verfallen.
Ich starte mal einen Workflow mit Aperture und schicke alle Infos aus der Konsole an den Support.
Die müssen doch rausbekommen wieso es klemmt, oder ?
Das wäre nur dann der Fall, wenn es sich um einen Fehler handelt, der bekannt ist und der öfter auftritt.
Wenn nicht, ist das für den Support zu schwierig. Da müsstest Du schon mit dem Entwickler in Cupertino Kontakt aufnehmen, der genau diese Stelle in Aperture programmiert hat. Und wenn Du Pech hast, sagt der, "der Fehler ist nicht in unserem Code, das muss am Plug-In liegen".
-
Auf der Apple Support Seite > Aperture habe ich diesbezüglich einen Beitrag gestartet.
Da wird auch von Problemen geschrieben.
Im Netz gibt es hier und da sehr spärlich Hinweise dass da etwas buggy ist.
Ich habe an einem Seminar teilgenommen in dem auch auf Probleme mit HDR Expose 2 hingewiesen wird.
Offensichtlich bin ich nicht allein.
Zum Glück betrifft es nur die Trial.
Wenn der Fehler nicht beseitigt wird, war es das ;-)
Jochen
-
Also liegt's an HDR Exposé?
-
Also liegt's an HDR Exposé?
Würd ich sagen.
Mal schauen was ich für feedback aus den USA bekomme. Der deutschen Niederlassung hatte ich auch eine email geschickt. Dauert halt etwas bis man da hoffentlich feedback bekommt. Geht nicht so schnell wie hier ;D
Jochen