size bugs

2004-02-19 Thread Ted Unangst
A few final bugs from Coverity. Most of these are off by one, the RF bug is malloc'ing the wrong type. Thanks for looking. # New errors. # - [UNINSPECTED] X [BUG] X [FALSE] X [UNK

NULL pointer dereferences

2004-02-19 Thread Ted Unangst
Some more. There are bugs where the code checks for NULL after using the pointer. Usually means the check should be earlier, or is unnecessary. # New errors. # - [UNINSPECTED] X [

redundant code bugs

2004-02-19 Thread Ted Unangst
These are some more bugs from Coverity. Most look like typos. # New errors. # - [UNINSPECTED] X [BUG] X [FALSE] X [UNKNOWN] X [BROKE] X [SKIP] /home/tedu/sys/cam/cam_xpt.c|1885|xpt

use after free bugs

2004-02-19 Thread Ted Unangst
Hi. These are some bugs found by Coverity in a static analysis run on the FreeBSD kernel. All these are use after free bugs. # New errors. # - [UNINSPECTED] X [BUG] X [FALSE] X

Re: locking against myself

2004-02-19 Thread Jerry Toung
Thanks a lot Andrey. On Thursday 19 February 2004 12:05 am, Andrey Simonenko wrote: > On Wed, Feb 18, 2004 at 11:52:26AM -0800, Jerry Toung wrote: > > Hello hackers, > > I am constantly getting the following message when I run my KLD: > > > > panic: lockmgr: locking against myself > > Debugger("pa

Re: FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3 v/s gcc2.9.5)

2004-02-19 Thread Wes Peters
On Monday 16 February 2004 10:11 am, Dag-Erling Smørgrav wrote: > Kris Kennaway <[EMAIL PROTECTED]> writes: > > On Mon, Feb 16, 2004 at 03:52:16AM -0800, Wes Peters wrote: > > > Should I commit this? > > > > What effect does it have on non-i386 architectures? > > It can't possibly hurt. If the sta

Re: locking against myself

2004-02-19 Thread Andrey Simonenko
On Wed, Feb 18, 2004 at 11:52:26AM -0800, Jerry Toung wrote: > Hello hackers, > I am constantly getting the following message when I run my KLD: > > panic: lockmgr: locking against myself > Debugger("panic") > Stopped atDebugger+0x54: xchgl %ebx,in_Debugger.0 > db> >