Re: lookupd problems return (again and again and again...)
Subject : Re: lookupd problems return (again and again and again...)
From: Geoff Lee <email@hidden >
Date: Wed, 28 Sep 2005 15:55:36 +0100
Delivered-to: email@hidden
Delivered-to: email@hidden
On 28 Sep 2005, at 15:13, Josh Wisenbaker wrote:
Another thought, since crashreporter seems to be involved (at least
from looking at this guy's explanation: http://www.dshadow.com/
software/unlockupd/) could the problem be worked around by setting
CRASHREPORTER=-NO- in /etc/hostconfig...?
That used to be something you had to do back in 10.2 to prevent the
lookupd death spirals before 10.2.8. It might work for you here as
well.
Hmm... well, I just caught it in the act with a root shell open and I
can confirm that crashdump does start when the process crashes but
just sits there indefinitely untill you kill -9 the lookupd process,
at which point it writes a crash log and mac_init re-starts lookupd.
I've now disabled crashreporterd and will see what happens next time.
I can't glean anything useful from the logs but maybe someone else
can - I've included them below
Cheers,
-geoff
------------------------------
/var/log/lookupd.log:
This all looks exactly like the rest of the log for several hours
previous when nothing was wrong. I assume that there was still
another thread alive after thread 1 crashed as there are a couple of
log entries after the crash before it gets restarted.
Sep 28 15:33:13 lookupd: getpwnam_A ED.AC.UK\S0568154
Sep 28 15:33:13 lookupd: -- DS: 381: mapNetInfoRecToDSType: ***
category: 0
Sep 28 15:33:13 lookupd: -- DS: 328: canWeWork: ap= 37326512,
gDirRef= 16777818, gNodeRef= 16777819.
Sep 28 15:33:13 lookupd: -- DS: 381: mapNetInfoRecToDSType: ***
category: 0
Sep 28 15:33:13 lookupd: -- DS: 328: canWeWork: ap= 37326512,
gDirRef= 16777818, gNodeRef= 16777819.
Sep 28 15:33:13 lookupd: -- DS: 611: DS_query: ap= 37326512 search on
attr type = name.
Sep 28 15:33:13 lookupd: -- DS: 628: DS_query: ap= 37326512 search on
attr type value = ED.AC.UK\S0568154.
Sep 28 15:33:13 lookupd: -- DS: 780: DS_query: ap= 37326512
dsGetRecordList.
Sep 28 15:33:13 lookupd: -- DS: 381: mapNetInfoRecToDSType: ***
category: 0
Sep 28 15:33:13 lookupd: -- DS: 328: canWeWork: ap= 37326512,
gDirRef= 16777818, gNodeRef= 16777819.
Sep 28 15:33:13 lookupd: -- DS: 381: mapNetInfoRecToDSType: ***
category: 0
Sep 28 15:33:13 lookupd: -- DS: 328: canWeWork: ap= 37326512,
gDirRef= 16777818, gNodeRef= 16777819.
Sep 28 15:33:13 lookupd: -- DS: 611: DS_query: ap= 37326512 search on
attr type = realname.
Sep 28 15:33:13 lookupd: -- DS: 662: DS_query: ap= 37326512 search on
attr type value = ED.AC.UK\S0568154 of type = realname.
Sep 28 15:33:13 lookupd: -- DS: 785: DS_query: ap= 37326512
dsDoAttributeValueSearchWithData.
Sep 28 15:33:13 lookupd: getpwnam_A s0568154
Sep 28 15:33:13 lookupd: -- DS: 381: mapNetInfoRecToDSType: ***
category: 0
Sep 28 15:33:13 lookupd: -- DS: 328: canWeWork: ap= 37326512,
gDirRef= 16777818, gNodeRef= 16777819.
Sep 28 15:33:13 lookupd: -- DS: 381: mapNetInfoRecToDSType: ***
category: 0
Sep 28 15:33:13 lookupd: -- DS: 328: canWeWork: ap= 37326512,
gDirRef= 16777818, gNodeRef= 16777819.
Sep 28 15:33:13 lookupd: -- DS: 611: DS_query: ap= 37326512 search on
attr type = name.
Sep 28 15:33:13 lookupd: -- DS: 628: DS_query: ap= 37326512 search on
attr type value = s0568154.
Sep 28 15:33:13 lookupd: -- DS: 780: DS_query: ap= 37326512
dsGetRecordList.
Sep 28 15:33:14 lookupd: getpwuid_A 0
<-----------------------------------------------------------------------
---------------------------------------------Thread 1 crashed here
and lookupd stopped responding.
Sep 28 15:33:38 lookupd: getpwuid_A 0
Sep 28 15:33:41 lookupd: getprotobynumber 17
Sep 28 15:33:53 lookupd: Allocated LUServer 0x00310cf0
Sep 28 15:33:53 lookupd: gethostbyname xenakis.caad.ed.ac.uk
Sep 28 15:33:53 lookupd: LUServer 0x00310cf0 added agent 0x00302110
(CacheAgent)
Sep 28 15:34:49 lookupd: Allocated LUServer 0x015f01a0
Sep 28 15:34:49 lookupd: getpwuid_A 0
lookupd.crash.log:
Command: lookupd
Path: /usr/sbin/lookupd
Parent: launchd [1]
Version: ??? (???)
PID: 584
Thread: 1
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x6f6e0065
Thread 0:
0 libSystem.B.dylib 0x9000a778 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000a6bc mach_msg + 60
2 lookupd 0x00006b28 -[Controller serverLoop] + 116
3 lookupd 0x00021f2c main + 2132
4 lookupd 0x000027c4 _start + 348
5 lookupd 0x00002664 start + 60
Thread 1 Crashed:
0 com.apple.NetInfo 0x9499c424 cache_insert_ttl_time + 96
1 lookupd 0x00003c44 -[CacheAgent
addObject:category:key:] + 568
2 lookupd 0x00003fd0 -[CacheAgent
addObject:key:category:] + 220
3 lookupd 0x00010ce8 -[LUServer
stamp:key:agent:category:] + 480
4 lookupd 0x00013020 -[LUServer
findItemWithKey:value:category:] + 1424
5 lookupd 0x00013304 -[LUServer
itemWithKey:value:category:] + 248
6 lookupd 0x0001793c -[MachRPC
process:inData:inLength:outData:outLength: ] + 624
7 lookupd 0x0001feec __lookup_all + 208
8 lookupd 0x00022b74 _X_lookup_all_secure + 152
9 lookupd 0x00022a08 lookup_server + 168
10 lookupd 0x0001758c -[MachRPC process] + 92
11 lookupd 0x00006c58 -[Controller serverLoop] + 420
12 lookupd 0x0001ae34 launchpad + 132
13 libSystem.B.dylib 0x9002c3d4 _pthread_body + 96
Thread 1 crashed with PPC Thread State 64:
srr0: 0x000000009499c424 srr1:
0x100000000200f030 vrsave: 0x0000000000000000
cr: 0x44000224 xer: 0x0000000020000000 lr:
0x000000009499c438 ctr: 0x0000000000000024
r0: 0x0000000000000008 r1: 0x00000000f00fd5e0 r2:
0x000000000004d000 r3: 0x0000000000000045
r4: 0x0000000000011f6b r5: 0xfffffffffefefeff r6:
0xffffffff80808080 r7: 0x0000000000000075
r8: 0x0000000000000030 r9: 0x0000000000000000 r10:
0x00000000746d3972 r11: 0x0000000045fe6273
r12: 0x0000000045fe6273 r13: 0x0000000000032a90 r14:
0x0000000000000001 r15: 0x0000000000000000
r16: 0x0000000000000003 r17: 0x0000000000032a90 r18:
0x0000000000000000 r19: 0x0000000000000002
r20: 0x000000000002513c r21: 0x0000000000000000 r22:
0x00000000433aa9a9 r23: 0x000000000000a8c0
r24: 0x00000000015f1e60 r25: 0x000000000237ab80 r26:
0x0000000000316700 r27: 0x000000000000050b
r28: 0x000000000000142c r29: 0x0000000000302500 r30:
0x000000006f6e0065 r31: 0x0000000000003a0c
Binary Images Description:
0x1000 - 0x2afff lookupd /usr/sbin/lookupd
0x60000 - 0x62fff com.apple.NetInfo.agent.NI 1.1.0 (???) /
System/Library/PrivateFrameworks/NetInfo.framework/Resources/lookupd/
Agen
ts/NI.bundle/NI
0x65000 - 0x68fff com.apple.NetInfo.agent.DS 1.1.1 /
System/Library/PrivateFrameworks/NetInfo.framework/Resources/lookupd/
Agen
ts/DS.bundle/DS
0xdb000 - 0xddfff com.apple.NetInfo.agent.FF 1.1.0 (???) /
System/Library/PrivateFrameworks/NetInfo.framework/Resources/lookupd/
Agen
ts/FF.bundle/FF
0x8fe00000 - 0x8fe51fff dyld 43.1 /usr/lib/dyld
0x90000000 - 0x901a6fff libSystem.B.dylib /usr/lib/
libSystem.B.dylib
0x901fe000 - 0x90202fff libmathCommon.A.dylib /usr/lib/system/
libmathCommon.A.dylib
0x90728000 - 0x90801fff com.apple.CoreFoundation 6.4.3 (368.12) /
System/Library/Frameworks/CoreFoundation.framework/Versions/A/
CoreFoundat
ion
0x9084c000 - 0x9094efff libicucore.A.dylib /usr/lib/
libicucore.A.dylib
0x909a8000 - 0x90a2cfff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90ae4000 - 0x90af6fff libauto.dylib /usr/lib/libauto.dylib
0x91077000 - 0x91239fff com.apple.security 4.0.1 (223) /System/
Library/Frameworks/Security.framework/Versions/A/Security
0x9134b000 - 0x91372fff com.apple.SystemConfiguration 1.8.0 /
System/Library/Frameworks/SystemConfiguration.framework/Versions/A/
System
Configuration
0x9358d000 - 0x935affff com.apple.DirectoryService.Framework
2.0 /System/Library/Frameworks/DirectoryService.framework/
Versions/A/D
irectoryService
0x94995000 - 0x949b5fff com.apple.NetInfo 1.0.0 (???) /System/
Library/PrivateFrameworks/NetInfo.framework/Versions/A/NetInfo
0x94ceb000 - 0x94d08fff libresolv.9.dylib /usr/lib/libresolv.
9.dylib
______________________________________
Geoff Lee <email@hidden>
Computing Support, Architecture
School of Arts, Culture and Environment
University of Edinburgh
20 Chambers St,
Edinburgh, Scotland,
EH1 1JZ
Tel: +44 (0)131 650 2341
______________________________________
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.