Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 1996 23:28:56 -0500 (EST)
From:      Sujal Patel <smpatel@wam.umd.edu>
To:        current@freebsd.org
Subject:   ktrace causes vm_page_free: freeing busy page
Message-ID:  <Pine.BSF.3.91.960113232214.350A-100000@sl-015.sl.cybercomm.net>

next in thread | raw e-mail | index | archive | help

I think this was discussed a few months ago, but I'm pretty sure that 
this was fixed pretty quickly last time...  Well it's back :)

ktrace works for some things, but the following will panic the kernel in 
about 10-15 seconds (for me).  I'm running -current from a few days ago.

[smpatel:sl-015] [0:~]> cat panicme.c 
#include <stdio.h>
#include <fcntl.h>
main () {
        int f = open ("/etc/motd", O_RDONLY);
        while (1)
                lseek (f, 0, SEEK_SET);
}
[smpatel:sl-015] [0:~]> cc panicme.c 
[smpatel:sl-015] [0:~]> ktrace ./a.out

panic: vm_page_free: freeing busy page


Sujal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960113232214.350A-100000>