Sounds like a bug in NavServices. Have you filed a Radar yet?

I’ve asked the Nav engineer whether he has any other reports of this crash as 
well.

-eric


> On Oct 30, 2014, at 5:25 PM, Info <i...@sagantech.biz> wrote:
> 
> Calling NavGetFile with an eventUPP that contains the following code to 
> refresh the file list when a type is selected from a popup now crashes. It 
> worked in every prior OS. What is the correct way to refresh the files in 
> Yosemite?
> 
> -------------------------------------------------------------------
> 
> static pascal void myEventProc(const NavEventCallbackMessage callBackSelector,
>                       NavCBRecPtr callBackParms,
>                       NavCallBackUserData callBackUD)
> 
> switch (callBackSelector)
> {
> 
>   case kNavCBPopupMenuSelect:    //Something was selected from the format 
> pop-up
>   {
>               AEDesc     aedesc;
> 
>               NavCustomControl(callBackParms->context, kNavCtlGetLocation, 
> &aedesc); // where are we
>               NavCustomControl(callBackParms->context, kNavCtlGotoParent, 
> nil); // step up
>               NavCustomControl(callBackParms->context, kNavCtlSetLocation, 
> &aedesc); // go back
>           }
>           break;
> 
> ....
> 
> Partial Crash log:
> Date/Time:             2014-10-30 13:20:13.205 -0700
> OS Version:            Mac OS X 10.10 (14A389)
> Report Version:        11
> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
> 
> Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
> 
> VM Regions Near 0:
> -->
>   __TEXT                 0000000000001000-00000000001e6000 [ 1940K] r-x/rwx 
> SM=COW  /Applications/Metro SE Folder/Metro SE.app/Contents/MacOS/Metro SE
> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   com.apple.CoreFoundation          0x944ed4e2 CFStringGetLength + 18
> 1   com.apple.CoreFoundation          0x9462e0ac 
> _CFURLCreateWithFileSystemPath + 60
> 2   com.apple.CoreFoundation          0x944eec78 
> CFURLCreateWithFileSystemPath + 40
> 3   com.apple.AppKit                  0x9b7cb599 _NSNavCustomControl + 3105
> 4   com.apple.NavigationServices      0x9183f8a1 NavCustomControl + 50
> 5   biz.sagantech.MetroSE             0x00047796 0x1000 + 288662
> 6   com.apple.AppKit                  0x9b7cdea4 -[NSNavSavePanel 
> sendCBEvent:withData:] + 1460
> 7   com.apple.AppKit                  0x9b7cbe6e -[NSNavSavePanel 
> _popupSelectionAction:] + 230
> 8   com.apple.AppKit                  0x9b7c7e97 -[NSNavCustomView 
> selectFirstNavPopupMenuItem] + 177
> 9   com.apple.AppKit                  0x9b7ca90a -[NSNavSavePanel 
> willBecomeVisibleNotification:] + 486
> 10  com.apple.Foundation              0x993dd4a3 __57-[NSNotificationCenter 
> addObserver:selector:name:object:]_block_invoke + 50
> 11  com.apple.CoreFoundation          0x9460a6e4 
> __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
> 12  com.apple.CoreFoundation          0x944eb3f1 _CFXNotificationPost + 3713
> 13  com.apple.Foundation              0x993cb3c4 -[NSNotificationCenter 
> postNotificationName:object:userInfo:] + 92
> 14  com.apple.Foundation              0x993e9c32 -[NSNotificationCenter 
> postNotificationName:object:] + 56
> 15  com.apple.AppKit                  0x9b07a80c -[NSWindow 
> _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1776
> 16  com.apple.AppKit                  0x9b7cf17b -[NSNavSavePanel 
> _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 525
> 17  com.apple.AppKit                  0x9b07a107 -[NSWindow 
> _doOrderWindowWithoutAnimation:relativeTo:findKey:forCounter:force:isModal:] 
> + 81
> 18  com.apple.AppKit                  0x9b079e4b -[NSWindow 
> _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 856
> 19  com.apple.AppKit                  0x9b26fb55 -[NSApplication 
> _orderFrontModalWindow:relativeToWindow:] + 811
> 20  com.apple.AppKit                  0x9b26f4e1 -[NSApplication 
> _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:]
>  + 913
> 21  com.apple.AppKit                  0x9b279250 -[NSApplication 
> beginModalSessionForWindow:] + 72
> 22  com.apple.AppKit                  0x9b2790f9 -[NSApplication 
> runModalForWindow:] + 138
> 23  com.apple.AppKit                  0x9b58a70c -[NSSavePanel runModal] + 403
> 24  com.apple.AppKit                  0x9b5898f0 -[NSSavePanel 
> runModalForDirectory:file:types:] + 301
> 25  com.apple.AppKit                  0x9b7cf445 -[NSNavOpenPanel run] + 244
> 26  com.apple.AppKit                  0x9b7d3bbb _NSNavDialogRun + 168
> 27  com.apple.NavigationServices      0x9183f570 NavGetFile + 186
> 
> 
> Jeremy Sagan
> Sagan Technology
> www.sagantech.biz 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Carbon-dev mailing list      (Carbon-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/carbon-dev/ericsc%40apple.com
> 
> This email sent to eri...@apple.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (Carbon-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to