View Single Post
  #9 (permalink)  
Old 03-06-2007, 04:21 PM
mbd mbd is offline
Senior Member
 
Posts: 58
Default

Quote:
Originally Posted by sculi2000 View Post
Great! Thanks very much for the offer to help. So a couple of things...

Can you check the crashlog and see if there is an entry for ZimbraHelper? If so, can you send along the info in the crashlog?
I tried using the sync this morning and it almost appeared to be working this time (though it reported all the calendar entries had transferred in the preference pane, not all my events were appearing in the zimbra calendar, and the preference pane reported that an error had occurred in syncing).

I tried reseting sync data again, and this time it hung at change #106 of 785.

There is no mention of zimbra helper in my crashreporter.log

Quote:
Originally Posted by sculi2000 View Post
If there isn't a crashlog, when you notice the sync hanging, it'd be very helpful to do the following things.

1) Open up a terminal session
2) Do a 'ps auxww | grep ZimbraHelper' and send along the output
3) Run sample...something like "sample <pid of ZimbraHelper> 10"...and then send along the output.
I've done a number of these:

#1 is while the preference pane was not progressing.


Code:
Analysis of sampling pid 4056 every 10.000000 milliseconds
Call graph:
    1000 Thread_0f07
      1000 start
        1000 _start
          1000 main
            1000 ZimbraHelper::Sync(NSString*, NSArray*, bool, bool, bool, bool)
              1000 ZimbraHelper::SyncCalendars(NSMutableDictionary*, bool, bool)
                1000 -[ZimbraClient session:setAppointment:record:snapshot:map:]
                  1000 -[ZimbraClient sendMessage:faultCode:faultText:]
                    1000 -[SOAPClient sendMessage:waitForReply:]
                      1000 -[NSRunLoop runMode:beforeDate:]
                        1000 CFRunLoopRunInMode
                          1000 CFRunLoopRunSpecific
                            1000 mach_msg_trap
                              1000 mach_msg_trap
    1000 Thread_1003
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            1000 CFRunLoopRunInMode
              1000 CFRunLoopRunSpecific
                1000 mach_msg_trap
                  1000 mach_msg_trap
    1000 Thread_1103
      1000 _pthread_body
        1000 select
          1000 select
    1000 Thread_1203
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 +[NSURLCache _diskCacheSyncLoop:]
            1000 CFRunLoopRunInMode
              1000 CFRunLoopRunSpecific
                1000 mach_msg_trap
                  1000 mach_msg_trap
    1000 Thread_1303
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 -[NSUIHeartBeat _heartBeatThread:]
            992 syscall_thread_switch
              992 syscall_thread_switch
            4 NSPopAutoreleasePool
              3 -[NSWindow release]
                3 NSDecrementExtraRefCountWasZero
                  3 _CFDictionaryDecrementValue
                    3 _CFDictionaryDecrementValue
              1 _CFRelease
                1 szone_free
                  1 szone_free
            2 -[NSUIHeartBeat _heartBeatThread:]
            1 -[NSApplication _keyWindowForHeartBeat]
              1 -[NSRecursiveLock unlock]
                1 -[NSRecursiveLock unlock]
            1 objc_msgSend_stret
              1 objc_msgSend_stret

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        3000
        select        1000
        syscall_thread_switch        992

#2 is after clicking on the cancel button.

Code:
Analysis of sampling pid 4056 every 10.000000 milliseconds
Call graph:
    1000 Thread_0f07
      1000 start
        1000 _start
          1000 main
            1000 ZimbraHelper::Sync(NSString*, NSArray*, bool, bool, bool, bool)
              1000 ZimbraHelper::SyncCalendars(NSMutableDictionary*, bool, bool)
                1000 -[ZimbraClient session:setAppointment:record:snapshot:map:]
                  1000 -[ZimbraClient sendMessage:faultCode:faultText:]
                    1000 -[SOAPClient sendMessage:waitForReply:]
                      1000 -[NSRunLoop runMode:beforeDate:]
                        1000 CFRunLoopRunInMode
                          1000 CFRunLoopRunSpecific
                            1000 mach_msg_trap
                              1000 mach_msg_trap
    1000 Thread_1003
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            1000 CFRunLoopRunInMode
              1000 CFRunLoopRunSpecific
                1000 mach_msg_trap
                  1000 mach_msg_trap
    1000 Thread_1103
      1000 _pthread_body
        1000 select
          1000 select
    1000 Thread_1203
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 +[NSURLCache _diskCacheSyncLoop:]
            1000 CFRunLoopRunInMode
              1000 CFRunLoopRunSpecific
                1000 mach_msg_trap
                  1000 mach_msg_trap
    1000 Thread_1303
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 -[NSUIHeartBeat _heartBeatThread:]
            994 syscall_thread_switch
              994 syscall_thread_switch
            6 -[NSUIHeartBeat _heartBeatThread:]

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        3000
        select        1000
        syscall_thread_switch        994
        -[NSUIHeartBeat _heartBeatThread:]        6

#3 is after force-quitting System Preferences

Code:
Analysis of sampling pid 4056 every 10.000000 milliseconds
Call graph:
    1000 Thread_0f07
      1000 start
        1000 _start
          1000 main
            1000 ZimbraHelper::Sync(NSString*, NSArray*, bool, bool, bool, bool)
              1000 ZimbraHelper::SyncCalendars(NSMutableDictionary*, bool, bool)
                1000 -[ZimbraClient session:setAppointment:record:snapshot:map:]
                  1000 -[ZimbraClient sendMessage:faultCode:faultText:]
                    1000 -[SOAPClient sendMessage:waitForReply:]
                      1000 -[NSRunLoop runMode:beforeDate:]
                        1000 CFRunLoopRunInMode
                          1000 CFRunLoopRunSpecific
                            1000 mach_msg_trap
                              1000 mach_msg_trap
    1000 Thread_1003
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
            1000 CFRunLoopRunInMode
              1000 CFRunLoopRunSpecific
                1000 mach_msg_trap
                  1000 mach_msg_trap
    1000 Thread_1103
      1000 _pthread_body
        1000 select
          1000 select
    1000 Thread_1203
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 +[NSURLCache _diskCacheSyncLoop:]
            1000 CFRunLoopRunInMode
              1000 CFRunLoopRunSpecific
                1000 mach_msg_trap
                  1000 mach_msg_trap
    1000 Thread_1303
      1000 _pthread_body
        1000 forkThreadForFunction
          1000 -[NSUIHeartBeat _heartBeatThread:]
            996 syscall_thread_switch
              996 syscall_thread_switch
            2 -[NSWindow(NSWindow_Theme) heartBeat:]
              2 objc_msgSend
                2 objc_msgSend
            1 -[NSUIHeartBeat _heartBeatThread:]
            1 -[NSViewHierarchyLock unlock]
              1 -[NSViewHierarchyLock unlock]

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        3000
        select        1000
        syscall_thread_switch        996
Hope this helps!
Reply With Quote