From owner-freebsd-bugs Wed Jan 16 8:10:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DE0A737B419 for ; Wed, 16 Jan 2002 08:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0GGA1K68438; Wed, 16 Jan 2002 08:10:01 -0800 (PST) (envelope-from gnats) Date: Wed, 16 Jan 2002 08:10:01 -0800 (PST) Message-Id: <200201161610.g0GGA1K68438@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: bin/33941: /usr/sbin/dev_mkdb dumps core Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/33941; it has been noted by GNATS. From: Ruslan Ermilov To: Ryan Dooley Cc: bug-followup@FreeBSD.org Subject: Re: bin/33941: /usr/sbin/dev_mkdb dumps core Date: Wed, 16 Jan 2002 18:04:04 +0200 On Wed, Jan 16, 2002 at 08:52:41AM -0600, Ryan Dooley wrote: > > >From GDB: dev_mkdb was compiled with -g here. > > Program received signal SIGSEGV, Segmentation fault. > 0x280cc8df in __free_ovflpage () from /usr/lib/libc.so.4 > (gdb) where > #0 0x280cc8df in __free_ovflpage () from /usr/lib/libc.so.4 > #1 0x280ccf9f in __big_delete () from /usr/lib/libc.so.4 > #2 0x280cb8e5 in __delpair () from /usr/lib/libc.so.4 > #3 0x280ce5c8 in __hash_open () from /usr/lib/libc.so.4 > #4 0x280ce284 in __hash_open () from /usr/lib/libc.so.4 > #5 0x8048a10 in main (argc=1, argv=0xbfbffc28) > at /usr/src/usr.sbin/dev_mkdb/dev_mkdb.c:153 > #6 0x8048739 in _start () > Try compiling a debugging version of libc and linking dev_mkdb statically with it. You can run a stripped down version of it, and the dump could still be used with the unstripped version for post mortem analysis. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message