lkml.org 
[lkml]   [1999]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bug tracking question (VFS crash)
Alexander Viro wrote:
> Nope, just that something called fput() on the file in question
> when it shouldn't.
I've attached Koles Sandors last email.
He has several messages
"VFS: Close: file count is 0"
in his message log, but there is no message
"get_unused_fd: slot # not NULL",
I think that we can exclude bad ram:
the system was perfectly stable with 2.0.
the only possible hardware related source
is an AMI Megaraid controller.

I've checked fput()/ fget() calls, and I found the
following problems:
(I don't think that they are related to this crash):

1) binfmt_elf.c: line 819:
do_load_elf_library():
> fget(fd)
> if(!file || !file->f_op)
> goto out;
...
> out: return

possible memory leak: file != NULL, file->f_op == NULL

2) exec,c line 194:
sys_uselib()
> fput(file).
if the fget() call about 15 lines above fails,
then fput() will cause a NULL pointer access.

But I think that the fget() call will never fail.

> What .config do you have? What kind of stuff ran on the box when (and
> before) it happened?
I'll ask him for his .config file.

The server is a quad processor PPro, many processes,
inode_limit 32000, files_max 8000.
more details attached.

Regards,
Manfred[unhandled content-type:application/octet-stream][unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog