From owner-freebsd-questions Sun May 3 09:01:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13528 for freebsd-questions-outgoing; Sun, 3 May 1998 09:01:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from r.scl.ameslab.gov (r.scl.ameslab.gov [147.155.137.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13377 for ; Sun, 3 May 1998 09:00:15 -0700 (PDT) (envelope-from ghelmer@scl.ameslab.gov) Received: from demios.scl.ameslab.gov (demios.ether.scl.ameslab.gov [147.155.137.54]) by r.scl.ameslab.gov (8.8.5/8.8.3) with SMTP id LAA25613; Sun, 3 May 1998 11:00:00 -0500 (CDT) Date: Sun, 3 May 1998 11:00:00 -0500 (CDT) From: Guy Helmer Reply-To: Guy Helmer To: Sue Blake cc: freebsd-questions@FreeBSD.ORG Subject: Re: Answer to: junk pointer, too low to make sense In-Reply-To: <19980503194311.10910@welearn.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 3 May 1998, Sue Blake wrote: > Since last July there have been questions about the message > inetd in realloc(): warning: junk pointer, too low to make sense. > appearing to users who try to telnet, ftp, or rlogin to a FreeBSD machine. > ... > If swap ever fills up, inetd does naughty things with stuff called > "pointers" and "realloc()" and after that it just can't ever get back on the > rails again. > ... We need to get a core dump or attach gdb to a running inetd process to find out where this realloc() is occuring, which (we hope) would lead us to discover & fix the actual corruption problem. The command "ln -s A /etc/malloc.conf" will create a link that sets configuration options for malloc (see malloc(3)'s man page) that will cause the malloc library routines to dump the process' core upon warnings or errors. If someone can get this core image, then they can use gdb to get a stack trace and find out what routine had called realloc. This stack trace would at least be a good clue, if not a smoking gun. Guy Helmer, Graduate Student, Iowa State University Dept. of Computer Science Research Assistant, Ames Laboratory --- ghelmer@scl.ameslab.gov http://www.cs.iastate.edu/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message