page fault:no entry in region list

View: New views
2 Messages — Rating Filter:   Alert me  

page fault:no entry in region list

by fangzhengshu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all,
I have write a simple example in the server side:
 
struct node{
l4_threadid_t sender;
unsigned short flags;
struct node* next;
}THREADNODE, *PTHREADNODE;
 
typedef struct node{
char buffer[4096];
PTHREADNODE head;
}FF, *PFF;
 
int sender_is_in_queue(PFF ff, l4_threadid_t sender)
{
PTHREADNODE p;
p = ff->head;
while(p != NULL && !thread_equal(p->sender, sender))
{
 p = p->next;
}
if (p == NULL) return -1;
else return 0;
}
......
 
there not error when I compile the server source file, but when I run them:
__handle_pf(): L4RM: page fault: no entry in region list
 
I use objdump  command to find the error and find it was in the place:
p = ff->head;
could someone give me some advice?
 
thank you and bestwishes!
--
fang,

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers

Re: page fault:no entry in region list

by Björn Döbel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

if you seek help on your code, please provide

* working source code of your example
  * output of your compile run
* your Fiasco kernel configuration
* full log output
* menu.lst and if necessary loader config

Cheers,
Bjoern
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqnYIIACgkQP5ijxgQLUNkN8gCgmVQtXkNGJD3/WJcTxo761qtL
tZAAnAlzO2Df58PKt83rN5yWvgBqu/Oi
=focg
-----END PGP SIGNATURE-----

_______________________________________________
l4-hackers mailing list
l4-hackers@...
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers