Are you positive that the pointer, S->StructChild, has a good value?  If
it's uninitialized, it could be pointing anywhere (even to the computer on
my desk) and that could give you the paging error.

Norman Dresner
Systems Engineer
Radar Systems Engineering Department
Electronic Systems and Sensors Segment
Northrop Grumman Corporation
Baltimore-Washington International Airport
7323 Aviation Boulevard
Baltimore Maryland 21240

Voice:  (410) 993 - 2096        Mornings; all-day voice-mail
        (410) 969 - 8068        Afternoons with answering machine
FAX:    (410) 993 - 8084        On-site
        (410) 969 - 8068        Afternoons; call first to arrange
E-Mail:Mornings:        [EMAIL PROTECTED]
        Afternoons:     [EMAIL PROTECTED]

> -----Original Message-----
> From: Raul [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, December 12, 2000 12:04 PM
> To:   Real Time Linux
> Subject:      [rtl] unable to handle kernel paging request (2)
> 
> I just checked the size of the structure, 460 bytes,
> which as far as I could say shouldn't be much of a
> problem.
> The structure inherits itself. That is:
> 
> typedef struct MyStructure_tag MyStructure;
> struct MyStructure_tag{
>    int var1;
>    char var2;
>    MyStructure  *structChild;
>    long var3
>    ...
> }
> MyStructure  *S
> 
> the error comes up when I try to acces var2 from
> within structChild, that is:
> 
> S->structChild->var1=3
> 
> then is when the error
>     "unable to handle kernel paging request"
> comes up
> 
> I don't know whether this helps at all. I'll check
> with rt debugger, though.
> Raul
> 
> 
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to