Sorry for self reply. Patch isn't good enougth:-) becouse linker_file_unload() deallocates lf structure's memory... so lf->userrefs-- may cause page fault or whatever else. (I wonder how that didn't happened)
Look at this one: *** kern_linker.c.orig Mon Jan 18 17:22:39 1999 --- kern_linker.c Mon Jan 18 18:14:28 1999 *************** *** 655,660 **** --- 655,662 ---- } lf->userrefs--; error = linker_file_unload(lf); + if(error) + lf->userrefs++; } else error = ENOENT; To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message