Hi, For one of my users my application is always crashing when it tries to add an entry to the "Open Recent" menu via:
[[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL: [NSURL fileURLWithPath:folderPath]] He is running Mac OS X Lion Server 10.7.2. Full stack trace of the crashed thread below. I can't reproduce this. Has anybody seen a similar problem? I had him set the NSRecentDocumentsLimit to 0 via the Terminal to not have entries added to the Open Recent menu, but the app still crashes with the same stack trace. Some bug reports on the web indicate there's a "special" character in the path name, but in this case the path name consists of only ASCII characters. Thanks, Rico _________ Date/Time: 2011-12-08 16:30:08.836 +0900 OS Version: Mac OS X Server 10.7.2 (11C74) Report Version: 9 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000fefff000 VM Regions Near 0xfefff000: CG backing stores 00000000cb439000-00000000cb44b000 [ 72K] rw-/rw- SM=SHM --> VM_ALLOCATE 00000000fefff000-00000000ff000000 [ 4K] rw-/rwx SM=COW Submap 00000000ffff0000-00000000ffff2000 r-x/r-x process-only submap Application Specific Information: objc[20675]: garbage collection is OFF Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0xfefff000 0 + 4278185984 1 com.apple.LaunchServices 0x956fdbc9 _ZL31LSPropertyProviderPrepareValuesPK7__CFURLP11__FileCachePKPK10__CFStringPPKvlSA_PP9__CFError + 46 2 com.apple.CoreServicesInternal 0x973fdaae _ZL22prepareValuesForBitmapPK7__CFURLP11__FileCacheP19_FilePropertyBitmapPP9__CFError + 284 3 com.apple.CoreServicesInternal 0x97408147 _FSURLCopyResourcePropertyForKey + 181 4 com.apple.CoreFoundation 0x9c749ff1 CFURLCopyResourcePropertyForKey + 129 5 com.apple.LaunchServices 0x95765144 _LSGetIconRefForURL + 67 6 com.apple.LaunchServices 0x95761caf LSSharedFileListInsertItemURL + 364 7 com.apple.AppKit 0x98633849 -[NSDocumentController _notePendingRecentDocumentURLsForKey:] + 2193 8 com.apple.Foundation 0x97ef48ea __NSFireDelayedPerform + 615 9 com.apple.CoreFoundation 0x9c74b996 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22 10 com.apple.CoreFoundation 0x9c74b327 __CFRunLoopDoTimer + 743 11 com.apple.CoreFoundation 0x9c72a3e0 __CFRunLoopRun + 1888 12 com.apple.CoreFoundation 0x9c7298ec CFRunLoopRunSpecific + 332 13 com.apple.CoreFoundation 0x9c729798 CFRunLoopRunInMode + 120 14 com.apple.HIToolbox 0x977b2a7f RunCurrentEventLoopInMode + 318 15 com.apple.HIToolbox 0x977b9cc6 ReceiveNextEventCommon + 168 16 com.apple.HIToolbox 0x977b9c0a BlockUntilNextEventMatchingListInMode + 88 17 com.apple.AppKit 0x98234040 _DPSNextEvent + 678 18 com.apple.AppKit 0x982338ab -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113 19 com.apple.AppKit 0x9822fc22 -[NSApplication run] + 911 20 com.apple.AppKit 0x984c418a NSApplicationMain + 1054 _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com