Skip to content
New issue

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

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

Already on GitHub? # to your account

internal error: _native_handle_tap_input #2664

Closed
cgundogan opened this issue Mar 20, 2015 · 7 comments
Closed

internal error: _native_handle_tap_input #2664

cgundogan opened this issue Mar 20, 2015 · 7 comments
Assignees
Labels
Platform: native Platform: This PR/issue effects the native platform Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Type: question The issue poses a question regarding usage of RIOT

Comments

@cgundogan
Copy link
Member

I am facing this error when using the rpl_udp example in native.
I guess it might be due to my system upgrade.. I upgraded linux (3.18.6-1 -> 3.19.2-1).
When I start a node it crashes (somewhat randomly).
Is anyone else seeing this?

@cgundogan cgundogan added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Type: question The issue poses a question regarding usage of RIOT Platform: native Platform: This PR/issue effects the native platform labels Mar 20, 2015
@jnohlgard
Copy link
Member

Did you try running it in gdb?

@cgundogan
Copy link
Member Author

Not that much, I can say that real_read() is returning 0 bytes, which in case results in the mentioned error message.
https://github.com/RIOT-OS/RIOT/blob/master/cpu/native/net/tap.c#L81

@LudwigKnuepfer
Copy link
Member

My up-to-date arch does not have these problems.

@jnohlgard
Copy link
Member

I'm using a 3.19.0 kernel on Gentoo and I have not seen this problem.

@LudwigKnuepfer
Copy link
Member

@cgundogan Maybe you have some network manager or conflicting network tool (e.g. vpn tunnel) or permission management tool installed?

@cgundogan
Copy link
Member Author

@LudwigOrtmann I am not that sure about this as real_read() only returns sporadically 0, so the read operation does work actually.
When I remove the check for the 0 case, native works for me again. See #2686

@cgundogan
Copy link
Member Author

fixed by #2686 , so I am closing this issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Platform: native Platform: This PR/issue effects the native platform Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Type: question The issue poses a question regarding usage of RIOT
Projects
None yet
Development

No branches or pull requests

3 participants