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

Segfaults on search #202

Closed
ojensen5115 opened this issue Feb 19, 2023 · 7 comments
Closed

Segfaults on search #202

ojensen5115 opened this issue Feb 19, 2023 · 7 comments

Comments

@ojensen5115
Copy link

I've just installed this via AUR, by performing a makepkg followed by sudo pacman -U rua-0.19.3-2-x86_64.pkg.tar.zst

Attempting to perform any search simply dumps core with a segmentation fault:

[ojensen@framework ~/aur/rua (master)]$ rua search mkinitcpio-firmware
Segmentation fault (core dumped)
[ojensen@framework ~/aur/rua (master)]$ rua search mkinitcpio
Segmentation fault (core dumped)
[ojensen@framework ~/aur/rua (master)]$ rua search foo
Segmentation fault (core dumped)

Running rua 0.19.3-2 (2ac1d1ea298df2896dd568526d6b5087c36ada5b) on Arch, compiled with the latest rust stable (1.67.1)

@morngrar
Copy link

Encountering this as well, same rua version, and is a problem both on search and upgrade subcommands.

@Tobitaube
Copy link

Same here

@pernu
Copy link

pernu commented Mar 4, 2023

With my 0.19.1 package I built back in Oct 2022, no issues. But when I build either 0.19.3, 0.19.2 or 0.19.1 (fresh build), all of them segfault. So it's not a change in the rua code, more likely some change on the rust build side (maybe one of the many dependencies).

@VSpike
Copy link

VSpike commented Mar 4, 2023

Same for me too ... it's a shame as I don't have an older package saved to roll back to!

@NarinderS
Copy link

NarinderS commented Mar 4, 2023

This seems to be caused by the prettytable-rs dependency. Bumping the version to 0.10.0 fixes the issue: #198

@morngrar
Copy link

morngrar commented Mar 9, 2023

v0.19.4 updates the relevant dependencies, and the problem is solved for me. This issue can probably be closed 👍

@vn971
Copy link
Owner

vn971 commented Jul 31, 2023

Oh darn, I had email notifications broken and I've primarily used GitLab at work for some months 🙈

Very sorry about this!

The issue is indeed likely solved, so closing

@vn971 vn971 closed this as completed Jul 31, 2023
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

7 participants