yubioath-flutter
yubioath-flutter copied to clipboard
Segmentation fault when launching Snap package
- Yubico Authenticator version: 5.0.4 (Snap package)
- Operating system and version: GNU/Linux Debian 10 (Buster) 4.19.0-11-amd64
- YubiKey model and version: YubiKey 5 NFC
- Bug description summary: Segmentation fault on launch
Steps to reproduce
/snap/bin/yubioath-desktop
Expected result
Yubico Authenticator launches
Actual results
Yubico Authenticator displays for a split second before disappearing, with terminal printing errors found below. If launched with sudo
privileges, a different error message is printed, and reattempting to launch without sudo
displays a GUI warning message reading: "Yubico Authenticator is already running." but the application is not visible anywhere.
Other info
Errors
-
$ /snap/bin/yubioath-desktop
Segmentation fault
-
$ sudo /snap/bin/yubioath-desktop
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Segmentation fault
Related
See related issue: #573
Same issue for me.
Hi, Thanks for the report. Does this always happen when you try running Yubico Authenticator?
Hi @fdennis, yes, as of 1/2 days ago, every time I try to launch I get the same errors.
Yeah same here on Ubuntu 20.10 beta, assumed it was related that.
Yeah same here on Ubuntu 20.10 beta, assumed it was related that.
I'm on Ubuntu 18.0.4, so presumably not an issue there.
Same issue for me, using the snap package on Ubuntu 18.04.5 LTS
Same on 20.04.1
Thanks everyone! While we are looking into this, could you try the AppImage instead? Available here
The app image opens up for me, yet my keys are not recognised. Although on opening the settings I can see them there, yet they flicked in and out of the selection menu :thinking:
See this gif:
If I plug in multiple keys at once they are each in the selection menu, yet hitting select does nothing.
@ohare93 Does this always happen? Could you try taking out the key and reinserting it again.
@ohare93 Does this always happen? Could you try taking out the key and reinserting it again.
Always happens.
I had exactly the same behavior with the AppImage as @ohare93, but after rebooting Ubuntu the AppImage does work for me.
@ohare93 This usually happens if the pcscd service is not installed or not running.
I had earlier problems with yubioath-desktop that it didn't recognize any of my two keys 3-4 weeks ago or something (don't remembember the version), I haven't used it for a while until this week when it didn't even start (version 5.0.4, I guess its a newer version due to snap auto updates).
I installed ykman
yesterday and it works fine though.
I confirm same segfault when launching snap package on Ubuntu 20.10 Interestingly, I get the same behavior with yubioath-desktop-5.0.1-linux.AppImage Hoewever, yubioath-desktop-5.0.4-linux.AppImage works as expected
Currently experiencing the exact same issue, on both a Yubikey NEO and a 5 NFC.
Getting a segfault in the snap package and the same behaviour as described by Ohare earlier in this issue for the AppImage version (5.0.4).
Edit: can actually confirm that @fdennis was right about pcscd not running. After installing that using apt install pcscd
the AppImage started working normally.
I have been having a similar issue ever since I updated to Fedora 33, and have experienced it with both the RPM package and the AppImage. I can confirm that pcscd
is installed and running, yet I am experiencing the same issue with the key flickering in and out of existence. It also occasionally will show my list of credentials and the timer indicator, but the area where the OTP would be is blank.
Same issue here, after installing from snap on Ubuntu, I get:
➜ ~ yubioath-desktop
Qt: Session management error: None of the authentication protocols specified are supported
[1] 13361 segmentation fault yubioath-desktop
@bquartier Could you try using the AppImage and see if that works for you instead.
Hi @fdennis, it works with the AppImage.
Just to mention I haven't retested the Snap in a while as I'm now using ykman
in the terminal and much prefer it.
I am also having this issue, as well as a similar issue with the AppImage
Hi everyone, Today we released a fix in our beta channel for this issue. We would appreciate it if you could try it out and let us know your feedback. Is it working better?
You can get the latest version by running snap install --beta yubioath-desktop
. If you have any problems with pcscd, please read through the information available here https://snapcraft.io/yubioath-desktop
Hi everyone, Today we released a fix in our beta channel for this issue. We would appreciate it if you could try it out and let us know your feedback. Is it working better?
You can get the latest version by running
snap install --beta yubioath-desktop
. If you have any problems with pcscd, please read through the information available here https://snapcraft.io/yubioath-desktop
It works! :+1: Had to remove the old version first though.
Yubico Authenticator 6.0 has now been released and uses a new codebase. As such, this issue has been marked with the legacy
label, and will be automatically closed in 7 days. If this issue is still relevant to Yubico Authenticator 6, please comment on the issue saying so, and it will be kept open (or be re-opened). Sorry for the inconvenience!