From owner-freebsd-isp@FreeBSD.ORG Wed Apr 21 21:05:35 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF49C16A4CE for ; Wed, 21 Apr 2004 21:05:34 -0700 (PDT) Received: from smtp4.wlink.com.np (smtp4.wlink.com.np [202.79.32.87]) by mx1.FreeBSD.org (Postfix) with SMTP id 3CB4243D54 for ; Wed, 21 Apr 2004 21:05:31 -0700 (PDT) (envelope-from bikrant_ml@wlink.com.np) Received: (qmail 94190 invoked from network); 22 Apr 2004 04:05:26 -0000 Received: from unknown (HELO qmail-scanner.wlink.com.np) (202.79.32.74) by 0 with SMTP; 22 Apr 2004 04:05:26 -0000 Received: (qmail 23830 invoked by uid 1008); 22 Apr 2004 04:05:26 -0000 Received: from bikrant_ml@wlink.com.np by qmail-scanner.wlink.com.np by uid 1002 with qmail-scanner-1.20 (clamscan: 0.60. Clear:RC:1(202.79.32.76):. Processed in 0.021969 secs); 22 Apr 2004 04:05:26 -0000 Received: from smtp1.wlink.com.np (202.79.32.76) by qmail-scanner.wlink.com.np with SMTP; 22 Apr 2004 04:05:25 -0000 Received: (qmail 23389 invoked by uid 508); 22 Apr 2004 04:05:25 -0000 Received: from [202.79.36.168] (HELO bikrant.org.np) by smtp1.wlink.com.np (qmail-smtpd) with SMTP; 22 Apr 2004 04:05:25 -0000 (Thu, 22 Apr 2004 09:50:25 +0545) From: Bikrant To: Matthew Seaman Date: Thu, 22 Apr 2004 09:50:22 +0545 User-Agent: KMail/1.5 References: <200404191156.29962.bikrant_ml@wlink.com.np> <200404191613.51606.bikrant_ml@wlink.com.np> <20040419130916.GA54580@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040419130916.GA54580@happy-idiot-talk.infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404220950.22293.bikrant_ml@wlink.com.np> X-Spam-Check-By: smtp1.wlink.com.np Spam: No ; 0.0 / 5.0 X-Spam-Status: No, hits=0.0 required=5.0 cc: freebsd-isp@freebsd.org Subject: Re: PPPoed crashed!! X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 04:05:35 -0000 On Monday 19 April 2004 18:54, Matthew Seaman wrote: > On Mon, Apr 19, 2004 at 04:13:51PM +0545, Bikrant wrote: > > Here is the output of back trace > > This GDB was configured as "i386-unknown-freebsd". > > Core was generated by `pppoed'. > > Program terminated with signal 11, Segmentation fault. > > #0 0x280e461f in ?? () > > (gdb) bt > > #0 0x280e461f in ?? () > > #1 0x280e48c1 in ?? () > > #2 0x280e46af in ?? () > > #3 0x280e48c1 in ?? () > > #4 0x280e4fd9 in ?? () > > #5 0x280e34dc in ?? () > > #6 0x280e3470 in ?? () > > #7 0x280dda10 in ?? () > > #8 0x280dd66d in ?? () > > #9 0x280c4cc9 in ?? () > > #10 0x280c4be5 in ?? () > > #11 0x8049640 in ?? () > > #12 0x804a22b in ?? () > > #13 0x8048dba in ?? () > > (gdb) > > Hmmm... Verb Sap. gdb backtraces tend to be a lot more useful if > there's a copy of the executable with debugging symbols involved > somewhere. If you've built world recently, there should be one in > /usr/obj/usr/src/libexec/pppoed/pppoed -- and the gdb command line: > > # gdb /usr/obj/usr/src/libexec/pppoed/pppoed -c pppoed.core > > will load those symbols for you. (It doesn't matter if that core dump > comes from a stripped version of the executable, only that they're > both from the same build.) > Hi Matthew, Sorry for late response. I'm running the same binary that came with the os. I have not done any upgrades yet. I hope this one gives the clear picture. Thanks for helping me use gdb :) Here is the back trace result pppoe# gdb -c pppoed.core-2004-04-13 /usr/libexec/pppoed Core was generated by `pppoed'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libnetgraph.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done. #0 0x280e461f in isatty () from /usr/lib/libc.so.4 (gdb) bt #0 0x280e461f in isatty () from /usr/lib/libc.so.4 #1 0x280e48c1 in isatty () from /usr/lib/libc.so.4 #2 0x280e46af in isatty () from /usr/lib/libc.so.4 #3 0x280e48c1 in isatty () from /usr/lib/libc.so.4 #4 0x280e4fd9 in malloc () from /usr/lib/libc.so.4 #5 0x280e34dc in __smakebuf () from /usr/lib/libc.so.4 #6 0x280e3470 in __swsetup () from /usr/lib/libc.so.4 #7 0x280dda10 in vfprintf () from /usr/lib/libc.so.4 #8 0x280dd66d in fprintf () from /usr/lib/libc.so.4 #9 0x280c4cc9 in vsyslog () from /usr/lib/libc.so.4 #10 0x280c4be5 in syslog () from /usr/lib/libc.so.4 #11 0x8049640 in NgRecvData () #12 0x804a22b in NgRecvData () #13 0x8048dba in NgRecvData () (gdb) with regards, Bikrant > Cheers, > > Matthew