zerodivisi0n / FinderMenu

Adding items to Finder's contextual menu
MIT License
84 stars 17 forks source link

Test results in earlier versions of MacOS. #9

Open ddeveloperuch opened 10 years ago

ddeveloperuch commented 10 years ago

Test results: 1) Mac OS 10.8.5 Mountain Lion (12F45) - injects into Finder process and adds submenu to the context menu; 2) Mac OS 10.7.5 Lion (11G63) - injects into Finder process and doesn't adds submenu to the context menu; 3) Mac OS 10.6.8 (32x&64x) Snow Leopard (10K549) - injects into Finder process and doesn't adds submenu to the context menu;

zerodivisi0n commented 10 years ago

Thanks for your testing results! Could you provide class_dump output of Finder app for this OS versions?

ac commented 10 years ago

2014-04-18 05:02:06.192 FinderMenu[28805:707] PID: 28797 2014-04-18 05:02:06.196 FinderMenu[28805:707] Inject successful! tail: /Users/ac/FinderExt.log: No such file or directory

При этом Finder падает и перезапускается. В системном логе появляется следующее:

Process: Finder [28797] Path: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder Identifier: com.apple.finder Version: 10.8.3 (10.8.3) Build Info: Finder_FE-808003001000000~4 Code Type: X86-64 (Native) Parent Process: launchd [283] User ID: 504

Date/Time: 2014-04-18 05:02:06.256 +0300 OS Version: Mac OS X 10.8.5 (12F45) Report Version: 10

Crashed Thread: 9

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000010864e4b0

External Modification Warnings: Thread creation by external task.

VM Regions Near 0x10864e4b0: --> __TEXT 000000010bb94000-000000010c04f000 [ 4844K] r-x/rwx SM=COW /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder

Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x000000010f5b3686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x000000010f5b2c42 mach_msg + 70

mischievous commented 10 years ago

Mac OS 10.7.5 Mountain Lion (11G63) - injects into Finder process and adds submenu to the context menu; Works great.