vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
421 stars 38 forks source link

Segfaults on search #202

Closed ojensen5115 closed 11 months ago

ojensen5115 commented 1 year ago

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 commented 1 year ago

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

Tobitaube commented 1 year ago

Same here

pernu commented 1 year ago

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 commented 1 year ago

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

NarinderS commented 1 year ago

This seems to be caused by the prettytable-rs dependency. Bumping the version to 0.10.0 fixes the issue: https://github.com/vn971/rua/pull/198

morngrar commented 1 year ago

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

vn971 commented 11 months ago

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

Very sorry about this!

The issue is indeed likely solved, so closing