Re: Unable to handle kernel paging request

Johnny Stenback (jst@UWasa.Fi)
Tue, 25 Feb 1997 02:03:50 +0200 (EET)


[snip]
>
> Odd. I figured I should give it a file to play with, so all my tests were
> run with a test file that is a copy of /etc/hosts. It's owned by me and
> rw.

One thing came to mind, the file test should probably be >200 bytes
since the program mmaps 200 bytes from that file. I could be wrong
though...

>
> > Kernel 2.0.29 with minimal modifications, libc 5.4.23.
>
> libc 5.4.17 here. I compiled the program with debugging, got a core dump,
> and gdb says the program segfaulted trying to access a bad memory location
> during the strncpy (buf, p, 100).

libc-5.4.22 here, oopses and hangs...

>
>
> ------------------------------------------------------------------
> Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
> Network Administrator | be proof-read for $199/hr.
> ________Finger jlewis@inorganic5.fdt.net for PGP public key_______
>

-- 
Johnny Stenback, programmer / University of Vaasa, Computer Centre 
E-Mail jst@uwasa.fi, Phone +358 50 5575 094