Page Fault

Frank Mehnert fm3 at os.inf.tu-dresden.de
Wed Mar 16 15:08:01 CET 2005


On Wednesday 16 March 2005 14:41, Tiago Jorge wrote:
> >> 01d00244        add    $0xc,%esp
> >> 01d00247        push   $0x0
> >> 01d00249        push   $0x2
> >> 01d0024b        push   $0x2
> >> 01d0024d        call   0x1d01300 <socket>
> >> 01d00252        add    $0x10,%esp
> >> 01d00255        test   %eax,%eax
> >> 01d00257        mov    %eax,(%ebx) <--- ERROR HERE!!!!!!
> >> 01d00259        js     0x1d00344
> >>/home/tiago/l4/pkg/failuredetector/server/src/FailureDetector.cc:38
> >
> >That means that the return value of the socket() call is stored somewhere
> >(in sock_fd). What ist sock_fd -- an object variable, a local variable or
> >a global variable?
>
> thats true. sock_fd is an object variable. the definition of the class
> is the following:

Where is the related object initialized? Add a printf()-statement to the
constructor of FailureDetector and see if the output of that statement
occurs _before_ the error.

Frank
-- 
## Dept. of Computer Science, Dresden University of Technology, Germany ##
## http://os.inf.tu-dresden.de/~fm3                                     ##
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050316/6bac5a53/attachment.sig>


More information about the l4-hackers mailing list