From owner-freebsd-current Sat Nov 14 14:08:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA19722 for freebsd-current-outgoing; Sat, 14 Nov 1998 14:08:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA19714; Sat, 14 Nov 1998 14:08:34 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.Awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id FAA16825; Sat, 14 Nov 1998 05:48:44 GMT (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id AAA12862; Sat, 14 Nov 1998 00:22:03 GMT (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199811140022.AAA12862@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Dmitry Valdov cc: Brian Somers , current@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/ppp ip.c (fwd) In-reply-to: Your message of "Thu, 12 Nov 1998 23:03:10 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 14 Nov 1998 00:22:03 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi! > > > There is gdb's output: > > 0x280d7ea4 in _poll () > (gdb) bt > #0 0x280d7ea4 in _poll () > #1 0x280f4f11 in res_send () > #2 0x280f1c57 in res_query () > #3 0x280f2101 in __res_querydomain () > #4 0x280f1e55 in res_search () > #5 0x280eb5c8 in _gethostbydnsname () > #6 0x280ea23f in gethostbyname2 () > #7 0x280ea1c3 in gethostbyname () > #8 0x805cd4e in ipcp_Init (ipcp=0x8078714, bundle=0x80785f0, l=0x80a3000, > parent=0x8078648) at ipcp.c:359 > #9 0x804c1d1 in bundle_Create (prefix=0x807366d "/dev/tun", type=1, > argv=0xefbfdc44) at bundle.c:858 > #10 0x8061df5 in main (argc=1, argv=0xefbfdc44) at main.c:324 > #11 0x804a34d in _start () The gethostbyname() is the only thing I know in ppp that causes ppp to hang - hence my previous message: [.....] > ---------- Forwarded message ---------- > Date: Thu, 12 Nov 1998 01:08:05 +0000 > From: Brian Somers > To: Dmitry Valdov > Cc: Brian Somers , current@FreeBSD.ORG > Subject: Re: cvs commit: src/usr.sbin/ppp ip.c (fwd) > > Are you doing anything funny with ``hostname'' on your machine ? > The only reports I've heard where ppp hangs at startup is when your > ``hostname'' won't resolve (see http://www.FreeBSD.org/FAQ/userppp.html). > > If this isn't the problem, I'd appreciate if you could build ppp with > -g and when it hangs, run ``gdb -p whatever'' and do a ``bt''. [.....] This is what's causing the problem here. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message