From: Mike on
Morning,

Earlier I posted a question about 10.5 brightness and 10.6. The user
will deal with the brightness issue, so that's moot at the moment. I
still have an issue with 10.6 hanging.

I have configured 10.6 to authenticate using OpenLDAP from a Red Hat
box. The authentication works fine. I have added /home from the same
linux box to the list of NFS mounts (Disk Utility->File->NFS Mounts?,
I'm not in front of the mac box at this moment to verify). The /home
filesystem does get mounted.

Very quickly after logging into a non-local, LDAP account, the
mac box becomes useless in that I cannot start any programs, I
can't logout, I can't do anything. If I double click on Terminal
(Applications->Utilities->Terminal) I get the brief flash like Terminal
is starting, but the application never appears on the desktop.

I can still ssh into the mac box. When I ssh in and run top, to see
what's consuming the CPU, the machine is idle. My guess right now is
every application is timing out or failing to start. I see nothing
hogging the CPU nor the network.

When I log in using a local, non-LDAP account the mac box acts as I expect
it to when launching applications, looking at NFS, surfing the web, etc.

Any ideas what's going on, what to check for, and how to fix this?

This is an iMac 27". I may need to contact Apple support on this one.

Mike
From: Tom Harrington on
In article <hjv4f2$jrg$1(a)news.eternal-september.org>,
Mike <mikee(a)mac.com> wrote:

> Any ideas what's going on, what to check for, and how to fix this?

Have you looked in the console logs for errors or other messages? It
seems obvious, but you didn't mention it.

--
Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/
From: Mike on
On 2010-01-29, Tom Harrington <tph(a)pcisys.no.spam.dammit.net> wrote:
> In article <hjv4f2$jrg$1(a)news.eternal-september.org>,
> Mike <mikee(a)mac.com> wrote:
>
>> Any ideas what's going on, what to check for, and how to fix this?
>
> Have you looked in the console logs for errors or other messages? It
> seems obvious, but you didn't mention it.
>

I initially could not bring up Console.app. I found a way and am looking at the logs now. I see messages like:

_RegisterApplicatioin(), FAILED TO REGISTER PROCESS WITH CPS/CoreGraphics in Window Server, err=-50
(com.apple.audio.coreaudiod[76]) Job appears to have crashed: Segmentation fault

and other messages. I don't see a pattern.

Mike

Oh, here I was able to pull up a core crash report:

---------------
Process: coreservicesd [58]
Path: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Support/coreservicesd
Identifier: coreservicesd
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [1]

Date/Time: 2010-01-29 16:00:10.976 -0600
OS Version: Mac OS X 10.6.2 (10C2234)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 3

Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x0000000100007e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00000001000084ad mach_msg + 59
2 com.apple.CoreFoundation 0x00000001009e87a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00000001009e7c2f CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00000001009e79b6 CFRunLoopRun + 70
5 ...ple.CoreServices.CarbonCore 0x000000010030c972 _CoreServicesServerMain + 522
6 coreservicesd 0x0000000100000eac 0x100000000 + 3756

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x0000000100020bba kevent + 10
1 libSystem.B.dylib 0x0000000100022a85 _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x000000010002275c _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x0000000100022286 _dispatch_worker_thread2 + 244
4 libSystem.B.dylib 0x0000000100021bb8 _pthread_wqthread + 353
5 libSystem.B.dylib 0x0000000100021a55 start_wqthread + 13

Thread 2:
0 libSystem.B.dylib 0x00000001000219da __workq_kernreturn + 10
1 libSystem.B.dylib 0x0000000100021dec _pthread_wqthread + 917
2 libSystem.B.dylib 0x0000000100021a55 start_wqthread + 13

Thread 3 Crashed:
0 ...ple.CoreServices.CarbonCore 0x00000001002c152e fmodWatchConsumer + 1098
1 libSystem.B.dylib 0x0000000100040f8e _pthread_start + 331
2 libSystem.B.dylib 0x0000000100040e41 thread_start + 13

Thread 4:
0 libSystem.B.dylib 0x0000000100012426 read + 10
1 ...ple.CoreServices.CarbonCore 0x00000001002c1f08 fmodWatchProducer + 140
2 libSystem.B.dylib 0x0000000100040f8e _pthread_start + 331
3 libSystem.B.dylib 0x0000000100040e41 thread_start + 13

Thread 5:
0 libSystem.B.dylib 0x00000001000219da __workq_kernreturn + 10
1 libSystem.B.dylib 0x0000000100021dec _pthread_wqthread + 917
2 libSystem.B.dylib 0x0000000100021a55 start_wqthread + 13

Thread 3 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000101c835ee rcx: 0x00007fffffe00080 rdx: 0x0000000101ae202c
rdi: 0x0000000000000006 rsi: 0x0000000101c835f4 rbp: 0x0000000101f80f10 rsp: 0x0000000101f80db0
r8: 0x0000000101ae2078 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x000000010028272f
r12: 0x0000000000000000 r13: 0x0000000101c83624 r14: 0x0000000101c83624 r15: 0x0000000000000006
rip: 0x00000001002c152e rfl: 0x0000000000010202 cr2: 0x0000000000000000

Binary Images:
0x100000000 - 0x100000fff coreservicesd ??? (???) <6D7763A3-EBAF-99C6-FE9A-F79ABB1D96BC> /System/Library/CoreServices/coreservicesd
0x100004000 - 0x100004ff7 com.apple.CoreServices 44 (44) <210A4C56-BECB-E3E4-B6EE-7EC53E02265D> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x100007000 - 0x1001c5ff7 libSystem.B.dylib ??? (???) <3814B353-9EE2-E2D3-2D5D-9FE26D4AF5D6> /usr/lib/libSystem.B.dylib
0x100256000 - 0x10025aff7 libmathCommon.A.dylib ??? (???) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x10025d000 - 0x10058ffef com.apple.CoreServices.CarbonCore 861.2 (861.2) <8D3CECD6-0184-C481-14DF-544F6C1BD4D9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x100608000 - 0x1006d4fff com.apple.CFNetwork 454.5 (454.5) <34CC453F-9BFC-F6F6-78FE-304F19A8266F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x100744000 - 0x10078eff7 com.apple.Metadata 10.6.2 (507.4) <89D9A7A8-00D8-6143-31C9-708275853E91> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x1007b8000 - 0x100875ff7 com.apple.CoreServices.OSServices 352 (352) <991CA6C2-78C5-93CC-A7AA-7BF351991BC6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x1008cf000 - 0x10095ffff com.apple.SearchKit 1.3.0 (1.3.0) <3403E658-A54E-A79A-12EB-E090E8743984> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x10099d000 - 0x100b10ff7 com.apple.CoreFoundation 6.6.1 (550.13) <65C48FB9-CE32-68C4-9457-D8392775ED55> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x100c29000 - 0x100c64ff7 com.apple.AE 496.1 (496.1) <9B43962D-4AE5-7CB5-EA81-50C27AF5AD94> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x100c7e000 - 0x100d1efff com.apple.LaunchServices 362 (362) <0420B038-B12E-0976-A069-15894B398314> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x100d64000 - 0x100d8cfff com.apple.DictionaryServices 1.1.1 (1.1.1) <CC593ECB-8FFA-BF81-0B0D-F8C606B31318> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x100da6000 - 0x100e03fef com.apple.framework.IOKit 2.0 (???) <4437494E-1E7F-EE0F-9FCA-AC5BC46DFD57> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x100e25000 - 0x100fe3fff libicucore.A.dylib ??? (???) <7165A473-3A42-A15A-C6B0-75DECF1C3ECF> /usr/lib/libicucore.A.dylib
0x101052000 - 0x101058ff7 com.apple.DiskArbitration 2.3 (2.3) <857F6E43-1EF4-7D53-351B-10DE0A8F992A> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x101061000 - 0x101077fef libbsm.0.dylib ??? (???) <83676D2E-23CD-45CD-BE5C-35FCFFBBBDBB> /usr/lib/libbsm.0.dylib
0x101080000 - 0x10108ffff com.apple.NetFS 3.2.1 (3.2.1) <3C6C2D5E-C1E2-9FF9-97A2-4141A5660EBB> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x101098000 - 0x10114efff libobjc.A.dylib ??? (???) <4B6351E5-A293-D814-36E1-E75E35C25D86> /usr/lib/libobjc.A.dylib
0x101162000 - 0x1011dffef libstdc++.6.dylib ??? (???) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x101240000 - 0x101251fef libz.1.dylib ??? (???) <3A7A4C48-A4C8-A78A-8B87-C0DDF6601AC8> /usr/lib/libz.1.dylib
0x101256000 - 0x101264ff7 libkxld.dylib ??? (???) <60D615F8-6AD1-0AFF-8303-6F3627296780> /usr/lib/system/libkxld.dylib
0x101268000 - 0x1012b4fff libauto.dylib ??? (???) <8145CA34-EA03-11D2-5C60-02C1E5750593> /usr/lib/libauto.dylib
0x1012c1000 - 0x101546fe7 com.apple.security 6.1.1 (37594) <E5DA8BFD-4A48-EFD4-E938-3BDFB356A8AF> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x10163c000 - 0x1016f5fff libsqlite3.dylib ??? (???) <5A15E12A-AE8F-1A36-BBC7-564E7D7AD0FB> /usr/lib/libsqlite3.dylib
0x101705000 - 0x101746ff7 com.apple.SystemConfiguration 1.10.1 (1.10.1) <199E5964-B414-05BE-7930-D63309134523> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x101769000 - 0x101794ff7 libxslt.1.dylib ??? (???) <87A0B228-B24A-C426-C3FB-B40D7258DD49> /usr/lib/libxslt.1.dylib
0x10179f000 - 0x1018b6fef libxml2.2.dylib ??? (???) <4355C785-9388-1061-6427-D004E92A3766> /usr/lib/libxml2.2.dylib
0x103294000 - 0x1032b4ff7 com.apple.DirectoryService.Framework 3.6 (621.1) <1B6C18CD-2257-1CEB-00C4-1BD8EB267DDE> /System/Library/Frameworks/DirectoryService.framework/DirectoryService
0x7fff5fc00000 - 0x7fff5fc3bde7 dyld 132.1 (???) <A43F7314-3A8C-4391-3237-46790EE6313A> /usr/lib/dyld
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <3814B353-9EE2-E2D3-2D5D-9FE26D4AF5D6> /usr/lib/libSystem.B.dylib

---------------

This iMac is a fresh install and fresly patched. It runs fine with a local account, but not with an LDAP account. The user's /home is an NFS mount from a linux box.

Mike
From: Jolly Roger on
In article <hjv4f2$jrg$1(a)news.eternal-september.org>,
Mike <mikee(a)mac.com> wrote:

> Morning,
>
> Earlier I posted a question about 10.5 brightness and 10.6. The user
> will deal with the brightness issue, so that's moot at the moment. I
> still have an issue with 10.6 hanging.
>
> I have configured 10.6 to authenticate using OpenLDAP from a Red Hat
> box. The authentication works fine. I have added /home from the same
> linux box to the list of NFS mounts (Disk Utility->File->NFS Mounts?,
> I'm not in front of the mac box at this moment to verify). The /home
> filesystem does get mounted.
>
> Very quickly after logging into a non-local, LDAP account, the
> mac box becomes useless in that I cannot start any programs, I
> can't logout, I can't do anything. If I double click on Terminal
> (Applications->Utilities->Terminal) I get the brief flash like Terminal
> is starting, but the application never appears on the desktop.
>
> I can still ssh into the mac box. When I ssh in and run top, to see
> what's consuming the CPU, the machine is idle. My guess right now is
> every application is timing out or failing to start. I see nothing
> hogging the CPU nor the network.
>
> When I log in using a local, non-LDAP account the mac box acts as I expect
> it to when launching applications, looking at NFS, surfing the web, etc.
>
> Any ideas what's going on, what to check for, and how to fix this?
>
> This is an iMac 27". I may need to contact Apple support on this one.
>
> Mike

You should be looking at the /var/log/system.log for error messages.
Post relevant entries here if you need help understanding them.

(Relevant entries will not have random date and time stamps, but will be
date and time stamped approximately when the problem occurs.)

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR