Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 1996 19:09:16 -0800
From:      "Jin Guojun[ITG]" <jin@george.lbl.gov>
To:        bugs@freebsd.org, robert@nanguo.chalmers.com.au
Subject:   Re: Malloc bug report
Message-ID:  <199612140309.TAA09399@portnoy.lbl.gov>

next in thread | raw e-mail | index | archive | help
>The following is being reported in an attempt to track a Malloc problem.
>
>uname -a
>FreeBSD nanguo.chalmers.com.au 2.2-961014-SNAP 
>FreeBSD 2.2-961014-SNAP #0: Wed Dec  4 19:45:06 EST 1996     
>root@myname.my.domain:/usr/src/sys/compile/MYKERNEL  i386
>
>
>problems
>The malloc warnings I have found are 
>
>1) in the httpd's error.log.  Both Apache, and NSCA httpd procuce the 
>   same warning, which is
>   Malloc warning: free():page already free.
>   This warning is produced each time the file called 'index.html'
>    is accessed. It may be produced by others, but certainly this
>    file produces the warning in the error.log file.
>
>2) in the 'tin' newsreader, when it _first_ starts, and is setting up 
>    its files; it produces,
>   Malloc warning: free():junk pointer, to high to make sense.
>
>   it then carries on and completes the process.
>   
>
>to reporduce;
>
>problem 1. Access index.html on the server root
>
>problem 2. do a fresh, new start up of tin. 
>            If already run, remove the files .newnewsrc, .oldnewsrc,
>            and the directory .tin
>
>thanks
>Robert Chalmers
>
>robert@chalmers.com.au
>http://www.chalmers.com.au

This is not a bug. It just warns that the program(s) try to free a pointer
which has been freed or is not allocated by malloc/calloc.

In 2.1.x or earlier, it was ignored or panic (I believe if in device driver).

-Jin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612140309.TAA09399>