While editing a new publication, BD starting using up all available  
processor resources on both cores (!).

I noticed that the preview stopped working---the "working" indicator  
was going around and around, not generating a preview.

It had worked before, though, for the previous publication and all  
others I have been using.

Also, BD continued to work perfectly well the whole time.

BD Version 1.3.10 (v865)

Appears in system.log:

Sep  8 10:08:26 adam-goldsteins-computer BibDesk[158]: *** Enabled  
ASL logging ***;;To disable, use;       `defaults write  
edu.ucsd.cs.mmccrack.bibdesk BDSKDisableASLLogging -bool TRUE`;

 From the sample:

Analysis of sampling pid 158 every 10.000000 milliseconds
Call graph:
     300 Thread_0f07
       300 start
         300 _start
           300 main
             300 NSApplicationMain
               300 -[OAApplication run]
                 300 -[NSApplication run]
                   300 -[NSApplication  
nextEventMatchingMask:untilDate:inMode:dequeue:]
                     300 _DPSNextEvent
                       300 BlockUntilNextEventMatchingListInMode
                         300 ReceiveNextEventCommon
                           300 RunCurrentEventLoopInMode
                             300 CFRunLoopRunInMode
                               300 CFRunLoopRunSpecific
                                 300 mach_msg_trap
                                   300 mach_msg_trap
     300 Thread_1003
       300 _pthread_body
         300 copyStandardErrorToASL
           300 fgets
             300 __srefill
               300 read
                 300 read
     300 Thread_1103
       300 _pthread_body
         300 wait4
           300 wait4
     300 Thread_1203
       300 _pthread_body
         300 forkThreadForFunction
           300 -[OFDedicatedThreadScheduler  
runScheduleForeverInCurrentThread]
             300 -[OFDedicatedThreadScheduler(Private)  
runScheduleInCurrentThreadUntilEmpty:]
               300 -[NSConditionLock lockWhenCondition:beforeDate:]
                 300 F_CONDITION_WAIT_TIMEOUT
                   300 semaphore_timedwait_signal_trap
                     300 semaphore_timedwait_signal_trap
     300 Thread_1303
       300 _pthread_body
         300 forkThreadForFunction
           300 -[BDSKAsynchronousDOServer runDOServerForPorts:]
             300 -[NSRunLoop runMode:beforeDate:]
               300 CFRunLoopRunInMode
                 300 CFRunLoopRunSpecific
                   300 __CFMachPortPerform
                     300 __NSFireMachPort
                       300 -[NSConcretePortCoder dispatch]
                         300 -[NSConnection handlePortCoder:]
                           300 -[NSConnection handleRequest:sequence:]
                             300 -[NSConnection dispatchInvocation:]
                               300 -[NSInvocation invoke]
                                 300 objc_msgSendv
                                   300 -[BDSKPreviewerServer  
processQueueUntilEmpty]
                                     300 -[BDSKTeXTask  
runWithBibTeXString:]
                                       300 -[BDSKTeXTask  
runWithBibTeXString:generatedTypes:]
                                         300 -[BDSKTeXTask(Private)  
runTeXTasksForLaTeX]
                                           300 -[BDSKTeXTask(Private)  
runPDFTeXTask]
                                             298 -[BDSKTeXTask 
(Private) runTask:withArguments:]
                                               282 -[NSRunLoop  
runMode:beforeDate:]
                                                 242 CFRunLoopRunInMode
                                                   230  
CFRunLoopRunSpecific
                                                     97  
__CFRunLoopDoObservers
                                                       27 _CFRelease
                                                         10 szone_free
                                                           10 szone_free
                                                         6 __spin_lock
                                                           6 __spin_lock
                                                         4  
__CFArrayReleaseValues
                                                           2 __spin_lock
                                                             2  
__spin_lock
                                                           1 _CFRelease
                                                             1  
_CFRelease
                                                           1  
__i686.get_pc_thunk.bx
                                                             1  
__i686.get_pc_thunk.bx
                                                         2  
CFAllocatorDeallocate
                                                           2  
CFAllocatorDeallocate
                                                         2 _CFRelease
                                                         2  
__CFArrayDeallocate
                                                           2  
__CFArrayDeallocate
                                                         1  
malloc_zone_free
                                                           1  
malloc_zone_free
                                                       20 __CFArrayInit
                                                         17  
_CFRuntimeCreateInstance
                                                           10  
malloc_zone_malloc
                                                             7  
szone_malloc
                                                               7  
szone_malloc
                                                             2  
__spin_unlock
                                                               2  
__spin_unlock
                                                             1  
malloc_zone_malloc
                                                           3  
CFAllocatorAllocate
                                                             3  
CFAllocatorAllocate
                                                           3  
_CFRuntimeCreateInstance
                                                           1  
szone_malloc
                                                             1  
szone_malloc
                                                         1 __CFArrayInit
                                                         1  
__i686.get_pc_thunk.bx
                                                           1  
__i686.get_pc_thunk.bx
                                                         1  
malloc_zone_malloc
                                                           1  
malloc_zone_malloc
                                                       12  
__NSPortDelegateTickler
                                                         6 + 
[NSConnection doQueuedWork]
                                                           2 + 
[NSConnection doQueuedWork]
                                                           2 -[NSLock  
lock]
                                                             2  
__spin_lock
                                                               2  
__spin_lock
                                                           1 -[NSLock  
unlock]
                                                             1  
__i686.get_pc_thunk.bx
                                                               1  
__i686.get_pc_thunk.bx
                                                           1  
pthread_cond_broadcast
                                                             1  
pthread_cond_broadcast
                                                         5 objc_msgSend
                                                           5  
objc_msgSend
                                                         1  
NSPushAutoreleasePool
                                                           1  
__i686.get_pc_thunk.cx
                                                             1  
__i686.get_pc_thunk.cx
                                                       11  
CFSetApplyFunction
                                                         8  
CFArrayAppendValue
                                                           7  
_CFArrayReplaceValues
                                                             7  
_CFArrayReplaceValues
                                                           1  
CFArrayAppendValue
                                                         3  
CFSetApplyFunction
                                                       11  
NSPopAutoreleasePool
                                                         6  
NSPopAutoreleasePool
                                                         3  
_NSRemoveHandler2
                                                           3  
_NSRemoveHandler2
                                                         1 0xa28210a5
                                                           1 0xa28210a5
                                                         1  
__i686.get_pc_thunk.cx
                                                           1  
__i686.get_pc_thunk.cx
                                                       4  
__CFRunLoopDoObservers
                                                       2  
__CFRunLoopCollectObservers
                                                         2  
__CFRunLoopCollectObservers
                                                       2  
__i686.get_pc_thunk.bx
                                                         2  
__i686.get_pc_thunk.bx
                                                       2 __spin_lock
                                                         2 __spin_lock
                                                       2  
class_respondsToMethod
                                                         2  
class_respondsToMethod
                                                       1 CFRelease
                                                         1 CFRelease
                                                       1  
_CFRuntimeCreateInstance
                                                         1  
_CFRuntimeCreateInstance
                                                       1  
__CFArrayDeallocate
                                                         1  
__CFArrayDeallocate
                                                       1 _setjmp
                                                         1 _setjmp
                                                     95 mach_msg_trap
                                                       95 mach_msg_trap
                                                     13  
CFRunLoopRunSpecific
                                                     8  
__CFRunLoopFindMode
                                                       5 CFSetGetValue
                                                         4  
__CFSetFindBuckets1b
                                                           4 CFEqual
                                                             3  
__CFRunLoopModeEqual
                                                               3 CFEqual
                                                                 3  
__CFStringEqual
                                                                   3  
__CFStringEqual
                                                             1 CFEqual
                                                               1 CFEqual
                                                         1 CFHash
                                                           1 CFHash
                                                       3  
__CFRunLoopFindMode
                                                     5 szone_free
                                                       5 szone_free
                                                     4  
CFSetApplyFunction
                                                       2  
CFSetApplyFunction
                                                       1  
__CFRunLoopCollectSources0
                                                         1  
__CFRunLoopCollectSources0
                                                       1  
__i686.get_pc_thunk.bx
                                                         1  
__i686.get_pc_thunk.bx
                                                     3 mach_msg
                                                       3 mach_msg
                                                     2  
malloc_zone_malloc
                                                       2 szone_malloc
                                                         2 szone_malloc
                                                     1 0xa0815078
                                                       1 0xa0815078
                                                     1 __spin_lock
                                                       1 __spin_lock
                                                     1  
mach_absolute_time
                                                       1  
mach_absolute_time
                                                   3 CFRunLoopRunInMode
                                                   3 __spin_lock
                                                     3 __spin_lock
                                                   1 0xa081502d
                                                     1 0xa081502d
                                                   1 0xa081510e
                                                     1 0xa081510e
                                                   1  
__CFRunLoopDoObservers
                                                     1  
__CFRunLoopDoObservers
                                                   1 __spin_unlock
                                                     1 __spin_unlock
                                                   1 mach_absolute_time
                                                     1  
mach_absolute_time
                                                   1 spin_lock
                                                     1 spin_lock
                                                 13 _CFRunLoopFinished
                                                   10  
__CFRunLoopFindMode
                                                     8 CFSetGetValue
                                                       7  
__CFSetFindBuckets1b
                                                         5 CFEqual
                                                           5  
__CFRunLoopModeEqual
                                                             5 CFEqual
                                                               5  
__CFStringEqual
                                                                 5  
__CFStringEqual
                                                         1  
__CFSetFindBuckets1b
                                                         1  
__CFStringHash
                                                           1  
__CFStringHash
                                                       1 CFHash
                                                         1 CFHash
                                                     1  
__CFRunLoopFindMode
                                                     1  
__CFSetFindBuckets1b
                                                       1  
__CFSetFindBuckets1b
                                                   2 _CFRunLoopFinished
                                                   1 __spin_lock
                                                     1 __spin_lock
                                                 8 NSPopAutoreleasePool
                                                   3  
NSPopAutoreleasePool
                                                   2 pthread_getspecific
                                                     2  
pthread_getspecific
                                                   1 _NSRemoveHandler2
                                                     1 _NSRemoveHandler2
                                                   1  
__i686.get_pc_thunk.cx
                                                     1  
__i686.get_pc_thunk.cx
                                                   1  
objc_assign_strongCast
                                                     1  
objc_assign_strongCast
                                                 3 objc_msgSend
                                                   3 objc_msgSend
                                                 2 -[NSCFString  
isEqual:]
                                                   1 -[NSCFString  
isEqual:]
                                                   1 -[NSObject  
isKindOfClass:]
                                                     1 -[NSObject  
isKindOfClass:]
                                                 2 -[NSRunLoop  
runMode:beforeDate:]
                                                 2  
CFAbsoluteTimeGetCurrent
                                                   2 gettimeofday
                                                     2 __gettimeofday
                                                       1 __gettimeofday
                                                       1 __nanotime
                                                         1 __nanotime
                                                 2 CFDateGetAbsoluteTime
                                                   2  
CFDateGetAbsoluteTime
                                                 1 -[NSObject class]
                                                   1 -[NSObject class]
                                                 1 -[NSObject  
isKindOfClass:]
                                                   1 -[NSObject  
isKindOfClass:]
                                                 1 0xa282104b
                                                   1 0xa282104b
                                                 1 CFEqual
                                                   1 CFEqual
                                                 1 CFRunLoopGetCurrent
                                                   1 CFRunLoopGetCurrent
                                                 1 NSPushAutoreleasePool
                                                   1  
NSPushAutoreleasePool
                                                 1 _NSCurrentThread
                                                   1 _NSCurrentThread
                                                 1  
__i686.get_pc_thunk.bx
                                                   1  
__i686.get_pc_thunk.bx
                                               3 NSPopAutoreleasePool
                                                 3 NSPopAutoreleasePool
                                               3 NSPushAutoreleasePool
                                                 3 NSPushAutoreleasePool
                                               3 objc_msgSend
                                                 3 objc_msgSend
                                               2 -[BDSKTeXTask 
(Private) runTask:withArguments:]
                                               2 objc_msgSend_fpret
                                                 2 objc_msgSend_fpret
                                               1 0xa282132a
                                                 1 0xa282132a
                                               1 CFDateGetAbsoluteTime
                                                 1 CFDateGetAbsoluteTime
                                               1 __i686.get_pc_thunk.bx
                                                 1  
__i686.get_pc_thunk.bx
                                             1 0x1af06d
                                               1 0x1af06d
                                             1 objc_msgSend
                                               1 objc_msgSend
     300 Thread_1403
       300 _pthread_body
         300 forkThreadForFunction
           300 -[OFQueueProcessor(Private) processQueueInThread]
             300 -[OFQueueProcessor processQueueForever]
               300 -[OFQueueProcessor processQueueUntilEmpty:]
                 300 -[OFQueueProcessor processQueueUntilEmpty:forTime:]
                   300 -[OFMessageQueue  
nextRetainedInvocationWithBlock:]
                     300 -[NSConditionLock lockWhenCondition:]
                       300 semaphore_wait_signal_trap
                         300 semaphore_wait_signal_trap
     300 Thread_1503
       300 _pthread_body
         300 forkThreadForFunction
           300 -[NSUIHeartBeat _heartBeatThread:]
             300 -[NSConditionLock lockWhenCondition:]
               300 semaphore_wait_signal_trap
                 300 semaphore_wait_signal_trap
     300 Thread_1603
       300 _pthread_body
         300 wait4
           300 wait4

Total number in stack (recursive counted multiple, when >=5):
         7       __i686.get_pc_thunk.bx
         7       __spin_lock
         7       _pthread_body
         6       CFEqual

Sort by top of stack, same collapsed (when >= 5):
         semaphore_wait_signal_trap        600
         wait4        600
         mach_msg_trap        395
         read        300
         semaphore_timedwait_signal_trap        300
         __spin_lock        17
         szone_free        15
         CFRunLoopRunSpecific        13
         NSPopAutoreleasePool        12
         objc_msgSend        12
         szone_malloc        10
         __CFStringEqual        8
         __i686.get_pc_thunk.bx        8
         _CFArrayReplaceValues        7
         CFSetApplyFunction        5
         __CFRunLoopDoObservers        5
Sample analysis of process 158 written to file /dev/stdout
Sampling process 158 each 10 msecs 300 times

=================================
Adam M. Goldstein PhD
Assistant Professor of Philosophy
Iona College
--
email:  [EMAIL PROTECTED]
web:    http://homepage.mac.com/amgoldstein/
tel:    (914) 637-2717
post:   Iona College
        Department of Philosophy
        715 North Avenue
        New Rochelle, NY 10801



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to