質問: snowleopardのログインループ 特定の管理者ユーザーのログインループから抜け出すことができません。パスワードを入力すると、約1分後にログイン画面が再び表示されます。他のユーザーは問題なく動作します。単純な再起動後に発生し始めました。手伝ってくれませんか?ありがとうございました!役に立たなかった: パスワードを変更する パスワードを削除します ディスクを修復します(エラーなし) セーフモードで起動する snow leopardを再インストールし、10.6.6に更新します 〜/ library/cachesのコンテンツを削除します 〜/ library/preferencesのコンテンツを削除しました / etc/authorizationをdvdコピーのインストールに置き換えました system.logはクラッシュレポートについて言及しています。以下に両方を含めます。system.logjan 8 02:43:30 loginwindow218: login window - returned from security agent jan 8 02:43:30 loginwindow218: user_process: 218 console jan 8 02:44:42 kernel[0]: jan 8 02:44:43: --- last message repeated 1 time --- jan 8 02:44:43 com.apple.launchd[1] (com.apple.loginwindow218): job appears to have crashed: bus error jan 8 02:44:43 com.apple.usereventagent-loginwindow223: alf error: cannot find useragent 1102 jan 8 02:44:43 com.apple.usereventagent-loginwindow223: plugin.usereventagentfactory: called with typeid=fc86416d-6164-2070-726f-70735c216ec0 jan 8 02:44:43 /system/library/coreservices/loginwindow.app/contents/macos/loginwindow233: login window application started jan 8 02:44:43 securityagent228: cgsshutdownserverconnections: detaching application from window server jan 8 02:44:43 com.apple.reportcrash.root232: 2011-01-08 02:44:43.936 reportcrash232:2903 saved crash report for loginwindow218 version ??? (???) to /library/logs/diagnosticreports/loginwindow_2011-01-08-024443_localhost.crash jan 8 02:44:44 securityagent228: mig: server died: cgsreleaseshmem : cannot release shared memory jan 8 02:44:44 securityagent228: kcgerrorfailure: set a breakpoint @ cgerrorbreakpoint() to catch errors as they are logged. jan 8 02:44:44 securityagent228: cgsdisplayservershutdown: detaching display subsystem from window server jan 8 02:44:44 securityagent228: hitoolbox: received notification of windowserver event port death. jan 8 02:44:44 securityagent228: port matched the windowserver port created in bindcgstorunloop jan 8 02:44:44 loginwindow233: login window started security agent jan 8 02:44:44 windowserver234: kcgerrorfailure: set a breakpoint @ cgerrorbreakpoint() to catch errors as they are logged. jan 8 02:44:44 com.apple.windowserver234: sat jan 8 02:44:44 .local windowserver234 <error>: kcgerrorfailure: set a breakpoint @ cgerrorbreakpoint() to catch errors as they are logged. jan 8 02:44:54 securityagent243: nssecuretextfieldcell detected a field editor ((null)) that is not a nstextview subclass designed to work with the cell. ignoring... クラッシュレポートprocess: loginwindow 218 path: /system/library/coreservices/loginwindow.app/contents/macos/loginwindow identifier: loginwindow version: ??? (???) code type: x86-64 (native) parent process: launchd [1] date/time: 2011-01-08 02:44:42.748 +0100 os version: mac os x 10.6.6 (10j567) report version: 6 exception type: exc_bad_access (sigbus) exception codes: 0x000000000000000a, 0x000000010075b000 crashed thread: 0 dispatch queue: com.apple.main-thread thread 0 crashed: dispatch queue: com.apple.main-thread 0 com.apple.security 0x00007fff801c6e8b security::readsection::at(unsigned int) const + 25 1 com.apple.security 0x00007fff801c632f security::dbversion::open() + 123 2 com.apple.security 0x00007fff801c5e41 security::dbversion::dbversion(security::appledatabase const&, security::refpointer<security::atomicbufferedfile> const&) + 179 3 com.apple.security 0x00007fff801c594e security::dbmodifier::getdbversion(bool) + 330 4 com.apple.security 0x00007fff801c57f5 security::dbmodifier::opendatabase() + 33 5 com.apple.security 0x00007fff801c5439 security::database::_dbopen(security::databasesession&, unsigned int, security::accesscredentials const*, void const*) + 221 6 com.apple.security 0x00007fff801c4841 security::databasemanager::dbopen(security::databasesession&, security::dbname const&, unsigned int, security::accesscredentials const*, void const*) + 77 7 com.apple.security 0x00007fff801c4723 security::databasesession::dbopen(char const*, cssm_net_address const*, unsigned int, security::accesscredentials const*, void const*, long&) + 285 8 com.apple.security 0x00007fff801d8414 cssm_dbopen(long, char const*, cssm_net_address const*, unsigned int, cssm_access_credentials const*, void const*, long*) + 108 9 com.apple.security 0x00007fff801d7fba cssm_dl_dbopen + 106 10 com.apple.security 0x00007fff801d62f6 security::cssmclient::dbimpl::open() + 162 11 com.apple.security 0x00007fff801d8977 ssdatabaseimpl::open(security::dldbidentifier const&) + 53 12 com.apple.security 0x00007fff801d8715 ssdlsession::dbopen(char const*, cssm_net_address const*, unsigned int, security::accesscredentials const*, void const*, long&) + 263 13 com.apple.security 0x00007fff801d8414 cssm_dbopen(long, char const*, cssm_net_address const*, unsigned int, cssm_access_credentials const*, void const*, long*) + 108 14 com.apple.security 0x00007fff801d7fba cssm_dl_dbopen + 106 15 com.apple.security 0x00007fff801d62f6 security::cssmclient::dbimpl::open() + 162 16 com.apple.security 0x00007fff802fa786 security::cssmclient::dbimpl::unlock(cssm_data const&) + 28 17 com.apple.security 0x00007fff80275b5d security::keychaincore::keychainimpl::unlock(security::cssmdata const&) + 89 18 com.apple.security 0x00007fff80291a06 security::keychaincore::storagemanager::login(unsigned int, void const*, unsigned int, void const*) + 3336 19 com.apple.security 0x00007fff802854d3 seckeychainlogin + 91 20 com.apple.loginwindow 0x000000010000dfc5 0x100000000 + 57285 21 com.apple.loginwindow 0x000000010000cfb4 0x100000000 + 53172 22 com.apple.foundation 0x00007fff8721e44f __nsthreadperformperform + 219 23 com.apple.corefoundation 0x00007fff82627401 __cfrunloopdosources0 + 1361 24 com.apple.corefoundation 0x00007fff826255f9 __cfrunlooprun + 873 25 com.apple.corefoundation 0x00007fff82624dbf cfrunlooprunspecific + 575 26 com.apple.hitoolbox 0x00007fff8444493a runcurrenteventloopinmode + 333 27 com.apple.hitoolbox 0x00007fff8444473f receivenexteventcommon + 310 28 com.apple.hitoolbox 0x00007fff844445f8 blockuntilnexteventmatchinglistinmode + 59 29 com.apple.appkit 0x00007fff80b01e64 _dpsnextevent + 718 30 com.apple.appkit 0x00007fff80b017a9 -nsapplication nexteventmatchingmask:untildate:inmode:dequeue: + 155 31 com.apple.appkit 0x00007fff80ac748b -nsapplication run + 395 32 com.apple.loginwindow 0x0000000100004b16 0x100000000 + 19222 33 com.apple.loginwindow 0x0000000100004580 0x100000000 + 17792 thread 1: dispatch queue: com.apple.libdispatch-manager 0 libsystem.b.dylib 0x00007fff8755216a kevent + 10 1 libsystem.b.dylib 0x00007fff8755403d _dispatch_mgr_invoke + 154 2 libsystem.b.dylib 0x00007fff87553d14 _dispatch_queue_invoke + 185 3 libsystem.b.dylib 0x00007fff8755383e _dispatch_worker_thread2 + 252 4 libsystem.b.dylib 0x00007fff87553168 _pthread_wqthread + 353 5 libsystem.b.dylib 0x00007fff87553005 start_wqthread + 13 thread 0 crashed with x86 thread state (64-bit): rax: 0x000000010075b000 rbx: 0x00007fff5fbfd990 rcx: 0x00007fff875439da rdx: 0x0000000000000000 rdi: 0x00007fff5fbfd990 rsi: 0x0000000000000000 rbp: 0x00007fff5fbfd5d0 rsp: 0x00007fff5fbfd5d0 r8: 0x0000000000000007 r9: 0x0000000000000000 r10: 0x00007fff8753beda r11: 0x0000000000000202 r12: 0x0000000100133e78 r13: 0x00007fff5fbfda50 r14: 0x00007fff5fbfda50 r15: 0x00007fff5fbfdaa0 rip: 0x00007fff801c6e8b rfl: 0x0000000000010287 cr2: 0x000000010075b000
回答: そのクラッシュレポートは、ユーザーのログインキーチェーンを開こうとしたときに死亡した可能性があるようです。 〜/ library/keychains内のすべてを削除して(キーチェーンを破棄せず、非アクティブな場所に配置するだけです)、ログインしてみます。それができない場合は、大まかなトラブルシューティングに進みます。〜/libraryからすべてを移動してみてください。それで問題が解決した場合は、問題の原因を絞り込むために、一度に少しずつ元に戻します。