2002-03-25 20:08:34

by Padraig Brady

[permalink] [raw]
Subject: OOPs in do_select()

This happened on an embedded system so
I haven't got a standard OOPs, but anyway
the message was:

"Unable to handle kernel NULL pointer dereference at 00000000"

looking at the trace and doing a little poking around
the error was definitely in do_select, and maybe on the
following line:

if (!(bit & BITS(fds, off)))

The cause was there was a client talking to a server
over a socket and the server SEGFAULTED. The OOPs was
associated with the client process.

Note the client was often seen to crash when the server
did, suggesting it received bad data from the kernel?

cheers,
Padraig.


2002-03-25 20:15:18

by Padraig Brady

[permalink] [raw]
Subject: Re: OOPs in do_select()

feck..
kernel was 2.4.16

Padraig.

Padraig Brady wrote:
> This happened on an embedded system so
> I haven't got a standard OOPs, but anyway
> the message was:
>
> "Unable to handle kernel NULL pointer dereference at 00000000"
>
> looking at the trace and doing a little poking around
> the error was definitely in do_select, and maybe on the
> following line:
>
> if (!(bit & BITS(fds, off)))
>
> The cause was there was a client talking to a server
> over a socket and the server SEGFAULTED. The OOPs was
> associated with the client process.
>
> Note the client was often seen to crash when the server
> did, suggesting it received bad data from the kernel?
>
> cheers,
> Padraig.