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

FRR fails to run on FreeBSD (NS initialisation failure) #1907

Closed
mwinter-osr opened this issue Mar 16, 2018 · 9 comments
Closed

FRR fails to run on FreeBSD (NS initialisation failure) #1907

mwinter-osr opened this issue Mar 16, 2018 · 9 comments
Assignees
Labels
Milestone

Comments

@mwinter-osr
Copy link
Member

This is with FRR master, git sha 6ca96cc (March 14, 2018)

Compiling works, but trying to run aborts zebra, ospfd etc immediatly with:

dut:~# zebra -d
2018/03/16 06:10:02 errors: ZEBRA: NS initialisation failure (No error: 0)
core_handler: showing active allocations in memory group libfrr
core_handler: memstats:  Host config                   :      1 *         10
core_handler: memstats:  Command Argument Name         :    101 * (variably sized)
[...]
@mwinter-osr mwinter-osr added this to the next milestone Mar 16, 2018
@mwinter-osr mwinter-osr changed the title FRR fails to run on FreeBSD FRR fails to run on FreeBSD (NS initialisation failure) Mar 18, 2018
@pguibert6WIND
Copy link
Member

@mwinter-osr , I would be happy to contribute if you could allocate me a freebsd access with the frr compilation folder installed, please.
thanks in advance,

@pguibert6WIND
Copy link
Member

Hi @mwinter-osr , any news on freebsd availability?

1 similar comment
@pguibert6WIND
Copy link
Member

Hi @mwinter-osr , any news on freebsd availability?

@mwinter-osr
Copy link
Member Author

Sorry, missed this earlier. Will get you a system online in the next hours

@justinatsk1llzdotnet
Copy link

Was having a similar issue with zebra crashing and core handler dumping - turns out when I removed the three gif interfaces on the box it loaded up fine.

@ocochard
Copy link
Contributor

Very easy to reproduce on a fresh FreeBSD system with a "pkg add frr" and default empty FRR configuration files:

[root@router]~# ifconfig gif create
gif0
[root@router]~# ifconfig gif0 up
[root@router]~# gdb zebra
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
(gdb) run
Starting program: /usr/local/sbin/zebra
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no
 debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...2018/05/31 18:23:28 warnings: ZEBRA:
ifam_read() doesn't read all socket data
2018/05/31 18:23:28 errors: ZEBRA: if_ioctl(SIOCGIFMEDIA) failed: Invalid argument
2018/05/31 18:23:28 warnings: ZEBRA: ifam_read() doesn't read all socket data
2018/05/31 18:23:28 errors: ZEBRA: if_ioctl(SIOCGIFMEDIA) failed: Invalid argument
2018/05/31 18:23:28 warnings: ZEBRA: ifam_read() doesn't read all socket data
2018/05/31 18:23:28 errors: ZEBRA: if_ioctl(SIOCGIFMEDIA) failed: Invalid argument
2018/05/31 18:23:28 warnings: ZEBRA: ifam_read() doesn't read all socket data

Program received signal SIGSEGV, Segmentation fault.
0x000000000040e8f5 in connected_up ()
(gdb)

@ocochard
Copy link
Contributor

Same problem with tun, gre, gif interfaces.

@mdtancsa
Copy link
Contributor

Probably related to
#2338

@qlyoung qlyoung modified the milestones: next, 7.0 Oct 17, 2018
@rzalamena
Copy link
Member

I think this is already fixed... Will autoclose in 1 week if no responses.

@polychaeta autoclose in 1 week

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

No branches or pull requests

8 participants