Hello Harsha Sharma,
On Mon, Jun 11, 2018 at 02:29:01PM +0200, Harsha Sharma wrote:
I get this error with "make run" in my genode and L4 fiasco kernel project. no RM attachment (READ pf_addr=0 pf_ip=102f56c from 2e3000) Warning: invalid signal-context capability Warning: could not resolve pf=0x0 ip=0x102f56c
What can be the reason of this kind of error ? What are pf_addr and pf_ip here (I tried looking in genode book but couln't find anything) ?
The information logged are the page-fault address (pf_addr, pf) and the instruction pointer resp. program counter (pf_ip, ip) of the component when the actual page-fault CPU exception happens. The potential reasons are manifold, but in the end your component tried to read an invalid virtual-memory address, i.e. caused a so-called segmentation fault. Please inspect your binary at address 0x102f56c for further investigation.
If 0x102f56c is not in your binary it is part of a dynamically-loaded library. In this case add
<config ld_verbose="yes"...>
to the components init configuration start node and investigate the logged link map. From this map and your IP value you may calculate the offset into the shared object and inspect its binary at the offset.
Greets