OS X 10.10.2 1st Betaにアップデート後、Google Chromeがクラッシュする場合の対処法。

記事内に広告が含まれています。
スポンサーリンク
スポンサーリンク
スポンサーリンク

 OS X 10.10.2 1st betaでGoogle Chrome v39が起動しない現象があるようです。詳細は以下から。


Google-Chrome-v39-概要


 11日21日にリリースされた「OS X Update Seed 10.10.2 (14C68k)」ですが、このアップデートを適用後のMacBookでGoogle Chrome, Canaryなどがクラッシュする不具合が報告されているそうで、この不具合はOS X 10.10.2 1st betaでいくつかのトラックパッドAPIが非推奨になったことが原因のようです。



Recently updated to OS X 10.10.2 and discovered that it causes the most recent version of Chrome to crash. This seems to be due to a bug with built in trackpads on Macbooks. Does anyone know of a fix (besides using a mouse and disabling trackpad)? Confirmed on Macbook Air 13 inch OS X 10.10.2

[OS X 10.10.2 crashes google chrome – Reddit]

 対処法としてはRedditに投稿された以下の方法でパッチを当てるか、Logan McAnshさんがパッケー活かしたLaunch Google Chrome.appも配布されています。

Workaround that was found on the Apple dev forums – this is not my code – use at your own risk – I’ve used it and it works fine.

1) Open up text edit and paste this code – save it as “patch.m”
#import

__attribute((constructor)) void Patch_10_10_2_entry()
{
NSLog(@”10.10.2 patch loaded”);
}

@interface NSTouch ()
– (id)_initWithPreviousTouch:(NSTouch *)touch newPhase:(NSTouchPhase)phase position:(CGPoint)position isResting:(BOOL)isResting force:(double)force;
@end

@implementation NSTouch (Patch_10_10_2)
– (id)_initWithPreviousTouch:(NSTouch *)touch newPhase:(NSTouchPhase)phase position:(CGPoint)position isResting:(BOOL)isResting
{
return [self _initWithPreviousTouch:touch newPhase:phase position:position isResting:isResting force:0];
}
@end

2) Run this command in Terminal
clang -dynamiclib -framework AppKit ~/Desktop/patch.m -o ~/Desktop/patch.dylib

3) Run this command in Terminal to open Chrome.
env DYLD_INSERT_LIBRARIES=~/Desktop/patch.dylib “/Applications/Google Chrome.app/Contents/MacOS/Google Chrome”

Notes: This will leave Terminal open in the background, do not close it or Chrome will quit out. This doesn’t modify anything permanently just fixes it temporarily. To reopen chrome a second time all you have to do is repeat step 3.

関連リンク:
Google Chrome crashes hard with Mac OS 10.10.2 beta – 9to5Mac

Google、SSL v3へのフォールバックを無効化し、64bit化によってパフォーマンスも向上したGoogle Chrome v39 for Macをリリースb.hatena

コメント

  1. Apple7743 より:

    OS X Yosemite 10.10.2 Beta2 (Build 14C78c) で Chrome 39.0.2171.71 (64bit) が
    トラックパッド使用時にも動作するようになりました。

  2. Apple7743 より:

    14C78c は実はbeta3なんですよ(汗)

タイトルとURLをコピーしました