Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68177 - [zerotier-one] version 1.5.0 dumps a core

Attached to Project: Community Packages
Opened by Oscar Garcia (ogarcia) - Saturday, 10 October 2020, 11:38 GMT
Last edited by Felix Yan (felixonmars) - Monday, 16 November 2020, 21:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
version 1.5.0 that is [considered BETA, has multiples issues][1] and (IMHO) must be in testing repository, dumps a core


Steps to reproduce:
Simply run 1.5.0 and dump a core

$ /usr/bin/zerotier-one
illegal hardware instruction (core dumped) /usr/bin/zerotier-one

[1]: https://github.com/zerotier/ZeroTierOne/releases/tag/1.5.0
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 16 November 2020, 21:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.5.0-2
Comment by Oscar Garcia (ogarcia) - Tuesday, 13 October 2020, 10:24 GMT Comment by Oscar Garcia (ogarcia) - Tuesday, 13 October 2020, 16:30 GMT Comment by Michael Schmitz (Mikesco3) - Tuesday, 20 October 2020, 15:44 GMT
Same here
Comment by Michael Schmitz (Mikesco3) - Tuesday, 20 October 2020, 15:50 GMT
I noticed that If I remove it

# pacman -R zerotier-one
# rm -rf /var/lib/systemd/coredump/core.zerotier-one*
# rm -rf /var/lib/zerotier-one


then reinstall

# pacman -S zerotier-one
# systemct start zerotier-one.service

it runs until I reboot
Comment by Michael Schmitz (Mikesco3) - Tuesday, 20 October 2020, 16:21 GMT
Update ...
Downloaded the zerotier-one git, recompiled, replaced the version pacman had installed and now works
$ git clone https://github.com/zerotier/ZeroTierOne
$ make
$ sudo pacman -S zerotier-one
$ sudo mv ./ZeroTierOne/zerotier-one /usr/bin/zerotier-one
$ sudo systemctl enable zerotier-one.service
$ sudo systemctl start zerotier-one.service

Comment by Michael Schmitz (Mikesco3) - Tuesday, 20 October 2020, 16:38 GMT
Never mind :(
crashed when I joined network
Comment by Jakub Smulski (hgonomeg) - Wednesday, 04 November 2020, 14:39 GMT
I also experience the bug but only on older hardware.
SIGILL happens on Intel Core2 T7200 but not on i-4470K.
This is likely a bug in their CPU-capabilities detection.

Version 1.5.0 is a beta-release as they say it on their GitHub.
Arch repos should stick to 1.4.6
Comment by Oscar Garcia (ogarcia) - Tuesday, 10 November 2020, 09:01 GMT
Fixed in upstream in [dev brach][1]. See [this issue][2] for more info.

[1]: https://github.com/zerotier/ZeroTierOne/tree/dev
[2]: https://github.com/zerotier/ZeroTierOne/issues/1275

To fix by hand:
$ git clone https://github.com/zerotier/ZeroTierOne
$ cd ZeroTierOne
$ git checkout dev
$ make
$ sudo pacman -S zerotier-one
$ sudo cp zerotier-one /usr/bin/zerotier-one
$ sudo systemctl restart zerotier-one.service
Comment by Michael Schmitz (Mikesco3) - Saturday, 14 November 2020, 17:55 GMT
Yeap, that worked for me ...
Comment by loqs (loqs) - Saturday, 14 November 2020, 20:12 GMT
If you rebuild the package with the attached diff applied can you still reproduce the issue?
Comment by Oscar Garcia (ogarcia) - Sunday, 15 November 2020, 11:03 GMT
@loqs The diff fixes and it works like a charm! (at least in my case)

As sidenote I think that `ruby-ronn` is not needed to make package. I make without it in several different machines without problems.
Comment by Felix Yan (felixonmars) - Monday, 16 November 2020, 21:13 GMT
Thanks a lot and sorry for the delay. Both implemented.

Loading...