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

A non-existing interface causes a segfault #133

Open
maximk opened this issue Sep 4, 2015 · 2 comments
Open

A non-existing interface causes a segfault #133

maximk opened this issue Sep 4, 2015 · 2 comments

Comments

@maximk
Copy link
Contributor

maximk commented Sep 4, 2015

Opening a non-existing raw interface in POSIX version results in a segfault.

@EarlGray
Copy link
Contributor

EarlGray commented Sep 4, 2015

Do you mean *** CRASH: assertion iflen + 1 < sizeof(iface.ifr_name) failed at core/ol_udp.c:333 when trying to open an interface with name length more than 14 symbols?

I could not reproduce the segfault:

> gen_udp:open(4333, [{udp_module, raw_link}, {ip, ["dockerN"]}]).  
{error, einval}

Could you provide more details?

@maximk
Copy link
Contributor Author

maximk commented Sep 4, 2015

There was a segfault upon LINCX startup right after the shell prompt. It was gone after interface names were fixed in lincx.yml. This suggests that the segfault was related to names of interfaces.

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

2 participants