DA problems after Office 1.3.3 Office

Since upgrading to Office 1.3.3, DA behaves badly. It won’t quit so a force quit is required. If there are more than five or six windows open it hangs badly, sometimes causing a kernel panic and subsequent reboot. It doesn’t actually crash, so there are no crash logs and no particular messages in the log files.

Running on 10.4.10 Mac Pro.

Sample taken after a quit command was issued:
Analysis of sampling pid 6263 every 10.000000 milliseconds
Call graph:
300 Thread_0f07
300 0x26c5
300 0x279e
300 NSApplicationMain
300 -[NSApplication run]
300 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
300 _DPSNextEvent
300 _NSHandleCarbonMenuEvent
300 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
300 -[NSMenu performActionForItemAtIndex:]
300 -[NSApplication sendAction:to:from:]
300 -[NSApplication terminate:]
300 -[NSNotificationCenter postNotificationName:object:]
300 -[NSNotificationCenter postNotificationName:object:userInfo:]
300 _CFXNotificationPostNotification
300 __CFXNotificationPost
300 _nsnote_callback
300 0x110b3
300 0x3948b
300 -[NSFileManager removeFileAtPath:handler:]
300 -[NSFileManager _removeFileAtPath:handler:shouldDeleteFork:]
300 -[NSFileManager _removeFileAtPath:handler:shouldDeleteFork:]
300 -[NSFileManager _removeFileAtPath:handler:shouldDeleteFork:]
294 -[NSFileManager _removeFileAtPath:handler:shouldDeleteFork:]
294 unlink
294 unlink
2 _NSMoveFile
2 FSRenameUnicode
2 PBRenameUnicodeSync
2 BasicRename(VolumeInfo*, long, char const*, long, char const*, unsigned char)
1 FSMount::getattrs(unsigned long, char const*, unsigned long, unsigned long, FSAttributeInfo*, unsigned long, unsigned char*)
1 VolFSMount::_getattrs(unsigned long, char const*, unsigned long, unsigned long, FSAttributeInfo*, unsigned long, unsigned char*)
1 GetVolFSAttributes(VolumeInfo*, unsigned long, char const*, unsigned long, unsigned long, FSAttributeInfo*, unsigned long, unsigned long, FSVolAttributeInfo*, unsigned char*)
1 getattrlist_retry(unsigned, unsigned long, char const*, unsigned long, attrlist*, void*, unsigned long, unsigned long)
1 CreateVolFSPath(unsigned, unsigned long, char const*, unsigned long, char*)
1 sprintf
1 localeconv_l
1 localeconv_l
1 rename
1 rename
2 unlink
2 unlink
1 getdirentries
1 getdirentries
1 open
1 open
300 Thread_1003
300 _pthread_body
300 __ape_agent
300 mach_msg_trap
300 mach_msg_trap
300 Thread_1103
300 _pthread_body
300 forkThreadForFunction
300 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
300 CFRunLoopRunInMode
300 CFRunLoopRunSpecific
300 mach_msg_trap
300 mach_msg_trap
300 Thread_1203
300 _pthread_body
300 forkThreadForFunction
300 +[NSURLCache _diskCacheSyncLoop:]
300 CFRunLoopRunInMode
300 CFRunLoopRunSpecific
300 mach_msg_trap
300 mach_msg_trap
300 Thread_1403
300 _pthread_body
300 forkThreadForFunction
300 +[WebFileDatabase _syncLoop:]
300 -[NSRunLoop run]
300 -[NSRunLoop runMode:beforeDate:]
300 CFRunLoopRunInMode
300 CFRunLoopRunSpecific
300 mach_msg_trap
300 mach_msg_trap
300 Thread_1503
300 _pthread_body
300 select
300 select
36 Thread_1303
36 _pthread_body
36 forkThreadForFunction
20 -[NSURLCache _diskCacheCreateLRUList:]
20 NSLRUFileListRebuildFileDataUsingRootDirectory
19 fts_read
19 fts_build
17 open
17 open
2 getdirentries
2 getdirentries
1 NSLRUFileListSetFileData
1 CFDictionaryGetValue
1 __CFDictionaryFindBuckets1b
1 strcmp
1 strcmp
16 pthread_exit
16 _pthread_tsd_cleanup
16 __NSFinalizeThreadData
16 -[NSURLCache dealloc]
16 -[NSURLCacheInternal dealloc]
16 NSLRUFileListRelease
16 NSLRUFileListRemoveAllFilesFromList
15 CFDictionaryApplyFunction
15 free
13 szone_free
13 szone_free
2 szone_size
2 szone_size
1 CFDictionaryRemoveAllValues
1 CFDictionaryRemoveAllValues

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

Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 1200
select 300
unlink 296
open 18
szone_free 13
Sample analysis of process 6263 written to file /dev/stdout
Sampling process 6263 each 10 msecs 300 times
#####################################

Analysis of sampling pid 6263 every 10.000000 milliseconds
Call graph:
300 Thread_0f07
300 0x26c5
300 0x279e
300 NSApplicationMain
300 -[NSApplication run]
300 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
300 _DPSNextEvent
300 _NSHandleCarbonMenuEvent
300 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
300 -[NSMenu performActionForItemAtIndex:]
300 -[NSApplication sendAction:to:from:]
300 -[NSApplication terminate:]
300 -[NSNotificationCenter postNotificationName:object:]
300 -[NSNotificationCenter postNotificationName:object:userInfo:]
300 _CFXNotificationPostNotification
300 __CFXNotificationPost
300 _nsnote_callback
300 0x110b3
300 0x3948b
300 -[NSFileManager removeFileAtPath:handler:]
300 -[NSFileManager _removeFileAtPath:handler:shouldDeleteFork:]
300 -[NSFileManager _removeFileAtPath:handler:shouldDeleteFork:]
300 -[NSFileManager _removeFileAtPath:handler:shouldDeleteFork:]
198 -[NSFileManager _removeFileAtPath:handler:shouldDeleteFork:]
197 unlink
197 unlink
1 lstat
1 lstat
98 open
98 open
2 _NSMoveFile
1 FSRenameUnicode
1 PBRenameUnicodeSync
1 BasicRename(VolumeInfo*, long, char const*, long, char const*, unsigned char)
1 rename
1 rename
1 _NSPathToParentRef
1 FSPathMakeRef
1 FSPathMakeRefInternal(unsigned char const*, unsigned long, unsigned long, FSRef*, unsigned char*)
1 PathGetObjectInfo(char const*, unsigned long, unsigned long, VolumeInfo**, unsigned long*, unsigned long*, char*, unsigned long*, unsigned char*)
1 getattrlist
1 getattrlist
2 getdirentries
2 getdirentries
300 Thread_1003
300 _pthread_body
300 __ape_agent
300 mach_msg_trap
300 mach_msg_trap
300 Thread_1103
300 _pthread_body
300 forkThreadForFunction
300 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
300 CFRunLoopRunInMode
300 CFRunLoopRunSpecific
300 mach_msg_trap
300 mach_msg_trap
300 Thread_1203
300 _pthread_body
300 forkThreadForFunction
300 +[NSURLCache _diskCacheSyncLoop:]
300 CFRunLoopRunInMode
300 CFRunLoopRunSpecific
300 mach_msg_trap
300 mach_msg_trap
300 Thread_1303
300 _pthread_body
300 forkThreadForFunction
300 +[WebFileDatabase _syncLoop:]
300 -[NSRunLoop run]
300 -[NSRunLoop runMode:beforeDate:]
300 CFRunLoopRunInMode
300 CFRunLoopRunSpecific
300 mach_msg_trap
300 mach_msg_trap
300 Thread_1403
300 _pthread_body
300 select
300 select

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

Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 1200
select 300
unlink 197
open 98
Sample analysis of process 6263 written to file /dev/stdout
Sampling process 6263 each 10 msecs 300 times

Jerry, it’s possible your DA preferences are set so that the cache is emptied on quit. If you have a large cache, the application will appear to hang on quit.

See what happens if you choose DEVONagent > Empty Cache. If you have accumulated a large cache, the application will appear to hang. But in time the cache will be cleared.

Bill is right - according to the sample the cache is emptied on quit. But if this is causing kernel panics, then you should better verify your filesystem because this should definitely not happen.

Yes that was it. Turning off the cache works. Thanks!

I can’t in good conscience blame DA for the coincidental panic, which only happened once. Although the tests show no problems–even when run at the most intensive level–this system has yet to stay up for more than a week. My guess is that Tiger really isn’t equipped to handle an eight core system. My hope is that Leopard will.