Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L4 error message codes do not match documentation. #161

Open
ab1aw opened this issue Mar 4, 2019 · 0 comments
Open

L4 error message codes do not match documentation. #161

ab1aw opened this issue Mar 4, 2019 · 0 comments

Comments

@ab1aw
Copy link

ab1aw commented Mar 4, 2019

I am looking at the error codes on page 64 of the L4 eXperimental Kernel Reference Manual
Version X.2 Document Revision 6 November 17, 2006

The error code values and descriptions in that document do not match the F9 implementation in the file user/include/l4/thread.h

I encountered this issue while debugging an IPC timeout failure when invoking L4_Receive_Timeout(). The error use case was that the sending thread did not call L4_Send() prior to the receiving thread timeout duration expiring. The error message in this case was ' ErrorCode = 0x3 l4_error_invalid_space'. In addition, the thread (app) crashed rather than continuing to process the error and recovering to retry the L4_Receive_Timeout().

My questions:
1 - Should the error codes and descriptions match the aforementioned document?
2 - Should a crash/dump occur upon a timeout when calling L4_Receive_Timeout()?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant