On 2004.07.09, Ian Harding <[EMAIL PROTECTED]> wrote:
> Did this ever show up in the mailing list?  I never saw it... I don't want to 
> re-send if it did, though.

No, it didn't.  I'm going to cc: this reply to the list so it makes it.

> Date: Mon, 28 Jun 2004 10:40:43 -0700
> From: Ian Harding <[EMAIL PROTECTED]>
> Subject: nsd Dumps Core if Interface Down at Startup
> To: [EMAIL PROTECTED]
>
> Ns_Tls: invalid key: 0: should be between 1 and 100
> [1]   Abort trap (core dumped) /usr/pkg/bin/nsd...
>
> I get the above error when starting aolserver whenever the network
> interface is down.  Obviously, a server needs a valid interface, but
> this seems like a cryptic error and ungraceful exit.

Absolutely.  This sounds like SF Bug #868362:

http://sourceforge.net/tracker/index.php?func=detail&aid=868362&group_id=3152&atid=103152

I agree: it should give a more meaningful error.  Now, lets see if I can
reproduce your bug ...

> Of course, this could just be me.

Three's now two people who have reproduced this bug.  The original
author didn't mention not having a network interface.

> NetBSD workstation.tpchd.org 2.0_BETA NetBSD 2.0_BETA (iharding) #0: Thu May 13 
> 14:25:35 UTC 2004  iharding@:/usr/src/sys/arch/i386/compile/iharding i386

Are you using PTL on NetBSD, or did they fix NetBSD's pthreads?

> #0  0x48192e1b in kill () from /usr/lib/libc.so.12
> (gdb) bt
> #0  0x48192e1b in kill () from /usr/lib/libc.so.12
> #1  0x482073db in abort () from /usr/lib/libc.so.12
> #2  0x48114c76 in Tcl_PanicVA () from /usr/pkg/lib/libtcl84.so.1
> #3  0x48114c95 in Tcl_Panic () from /usr/pkg/lib/libtcl84.so.1
> #4  0x480acc3c in Ns_TlsGet () from /usr/pkg/lib/libnsthread.so
> #5  0x4807cf8e in NsTclLogObjCmd () from /usr/pkg/lib/libnsd.so
> #6  0x4807cab5 in NsTclLogObjCmd () from /usr/pkg/lib/libnsd.so
> #7  0x4807c621 in Ns_Log () from /usr/pkg/lib/libnsd.so
> #8  0x48075c09 in NsEnableDNSCache () from /usr/pkg/lib/libnsd.so
> #9  0x48075b1e in NsEnableDNSCache () from /usr/pkg/lib/libnsd.so
> #10 0x48075850 in Ns_GetAddrByHost () from /usr/pkg/lib/libnsd.so
> #11 0x480757f5 in Ns_GetAddrByHost () from /usr/pkg/lib/libnsd.so
> #12 0x4807d8eb in NsInitConf () from /usr/pkg/lib/libnsd.so
> #13 0x4807bc49 in _init () from /usr/pkg/lib/libnsd.so
> #14 0x4804bcc0 in _rtld () from /usr/libexec/ld.elf_so

Incredibly helpful.  Thanks.

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to