Skip to contentSkip to conversation

OOPs in do_select()

DISCUSSION Padraig Brady 1 participant 2 messages Mar 25, 2002

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

feck..
kernel was 2.4.16

Padraig.

Quoted 21 lines · Padraig Brady

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.