Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Jethryn Freyman

macrumors 68020
Original poster
Hey guys. Got an iCal problem here.

Quite frequently, like maybe 20% of the time I do a task (create an event, scroll between weeks, edit and event), I get a hang for a second, then a beachball for a second, then it returns to normal.

Checked the activity monitor, my CPU usage for iCal maxes out on both CPUs while this is happening.

I've got about 8 calendars with an average of about 2 events per day that go back 5 years, plus another 20 or so calendars that aren't viewable (they're old and I unchecked their checkboxes), and about 10 viewable To Do items (they are set to hide automatically after being completed for 1 day) and I usually make about 2 per day.

Running OS X 10.5.8 on a dual 1.8GHz Power Mac G5. 3GB of RAM (iCal uses about 70MB and 1GB of virtual memory, no paging) and a 7,200rpm hard disk (500GB free, no usage of the drive while beachballing.)

Any help or anybody seen this before?

Thanks 🙂
 
Hey guys. Got an iCal problem here.

Quite frequently, like maybe 20% of the time I do a task (create an event, scroll between weeks, edit and event), I get a hang for a second, then a beachball for a second, then it returns to normal.

Checked the activity monitor, my CPU usage for iCal maxes out on both CPUs while this is happening.

I've got about 8 calendars with an average of about 2 events per day that go back 5 years, plus another 20 or so calendars that aren't viewable (they're old and I unchecked their checkboxes), and about 10 viewable To Do items (they are set to hide automatically after being completed for 1 day) and I usually make about 2 per day.

Running OS X 10.5.8 on a dual 1.8GHz Power Mac G5. 3GB of RAM (iCal uses about 70MB and 1GB of virtual memory, no paging) and a 7,200rpm hard disk (500GB free, no usage of the drive while beachballing.)

Any help or anybody seen this before?

Thanks 🙂

Do any of the calendars have a lot of recurring appointments?
 
OK, I used the Developer Tools "Spin Control" to catch a hang and got a report on it.

I can't make much of it myself....

Code:
Call graph:
    437 Thread_4807
      437 _pthread_start
        437 __monitor_file_descriptor__
          437 kevent
            437 kevent
    437 Thread_4a03
      437 0x9efcc
        437 0x26e8
          437 NSApplicationMain
            437 -[NSApplication run]
              433 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                433 _DPSNextEvent
                  433 BlockUntilNextEventMatchingListInMode
                    433 ReceiveNextEventCommon
                      433 RunCurrentEventLoopInMode
                        433 CFRunLoopRunSpecific
                          427 __CFMachPortPerform
                            427 __CFXNotificationReceiveFromServer
                              427 __CFXNotificationHandleMessage
                                427 _nsnote_callback
                                  427 -[CalCalendarStore(CalCalendarStore_Internal) calendarStoreChangedExternally:]
                                    427 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                      427 _CFXNotificationPostNotification
                                        427 _nsnote_callback
                                          427 0xc4f94
                                            427 -[CALBag updateAllViews:]
                                              427 -[CALBag resetTimeBasedView:inManagedObjectContext:]
                                                334 -[CALAbstractView(CALViewPrivate) setResults:]
                                                  334 -[CALAbstractView(CALViewPrivate) setStorageFromArray:]
                                                    334 CFDictionaryRemoveAllValues
                                                      334 -[CALOccurrence dealloc]
                                                        334 -[CALEntity dealloc]
                                                          333 -[CALAbstractEntity dealloc]
                                                            316 -[NSUndoManager removeAllActionsWithTarget:]
                                                              309 -[_NSUndoStack removeAllObjectsWithTarget:]
                                                                284 objc_msgSend_rtp
                                                                  284 objc_msgSend_rtp
                                                                25 -[_NSUndoStack removeAllObjectsWithTarget:]
                                                              3 0x7028818
                                                                1 -[_NSUndoBeginMark isBeginMark]
                                                                  1 -[_NSUndoBeginMark isBeginMark]
                                                                1 -[_NSUndoObject isEndMark]
                                                                  1 -[_NSUndoObject isEndMark]
                                                                1 -[_NSUndoObject target]
                                                                  1 -[_NSUndoObject target]
                                                              1 -[_NSUndoEndMark isEndMark]
                                                                1 -[_NSUndoEndMark isEndMark]
                                                              1 -[_NSUndoObject isBeginMark]
                                                                1 -[_NSUndoObject isBeginMark]
                                                              1 0x1a0c758
                                                                1 -[_NSUndoObject target]
                                                                  1 -[_NSUndoObject target]
                                                              1 0x6f16268
                                                                1 -[_NSUndoObject target]
                                                                  1 -[_NSUndoObject target]
                                                            16 _CFRelease
                                                              14 __CFDictionaryDeallocate
                                                                12 -[CALProperty dealloc]
                                                                  9 _CFRelease
                                                                    9 __CFArrayReleaseValues
                                                                      5 -[CALPropertyValue dealloc]
                                                                        2 NSDeallocateObject
                                                                          1 _internal_object_dispose
                                                                            1 szone_free
                                                                              1 szone_free
                                                                          1 object_cxxDestructFromClass
                                                                            1 object_cxxDestructFromClass
                                                                        2 objc_msgSend_rtp
                                                                          2 objc_msgSend_rtp
                                                                        1 _CFRelease
                                                                          1 szone_free
                                                                            1 szone_free
                                                                      1 -[NSObject release]
                                                                        1 __CFDoExternRefOperation
                                                                          1 CFBagContainsValue
                                                                            1 __CFBagFindBuckets1a
                                                                              1 __CFBagFindBuckets1a
                                                                      1 CFRelease
                                                                        1 CFRelease
                                                                      1 objc_msgSend
                                                                        1 objc_msgSend
                                                                      1 szone_free
                                                                        1 tiny_free_list_add_ptr
                                                                          1 tiny_free_list_add_ptr
                                                                  1 NSDeallocateObject
                                                                    1 _internal_object_dispose
                                                                      1 szone_free
                                                                        1 szone_free
                                                                  1 objc_msgSend_rtp
                                                                    1 objc_msgSend_rtp
                                                                  1 szone_free
                                                                    1 szone_free
                                                                2 -[NSObject release]
                                                                  2 __CFDoExternRefOperation
                                                                    2 CFBagContainsValue
                                                                      2 __CFBagFindBuckets1a
                                                                        2 __CFBagFindBuckets1a
                                                              1 __CFStringDeallocate
                                                                1 __CFStringDeallocate
                                                              1 szone_free
                                                                1 szone_free
                                                            1 -[NSObject release]
                                                              1 __CFDoExternRefOperation
                                                                1 CFBagContainsValue
                                                                  1 CFBagContainsValue
                                                          1 objc_msgSendSuper
                                                            1 objc_msgSendSuper
                                                53 +[CalManagedStore(CalendarSourceIPI) entitiesFromManagedCalendarItems:]
                                                  51 +[CALTodo(CreationFromManagedObject) entityFromManagedObject:]
                                                    8 _sharedIMPL_pvfk_core
                                                      7 -[NSFaultHandler fulfillFault:withContext:]
                                                        4 _PFFaultHandlerFulfillFault
                                                          2 -[CalManagedCalendarItem path]
                                                            2 -[NSManagedObject setPrimitiveValue:forKey:]
                                                              1 _PFManagedObject_coerceValueForKeyWithDescription
                                                                1 _PFManagedObject_coerceValueForKeyWithDescription
                                                              1 _sharedIMPL_setPvfk_core
                                                                1 objc_msgSend_rtp
                                                                  1 objc_msgSend_rtp
                                                          1 -[NSManagedObjectContext(_NSInternalAdditions) _retainedObjectWithID:optionalHandler:withInlineStorage:]


----------

And it's about 5 times that length but I couldn't post it all here.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.