Description of problem: tilix will finish with segfault when running with latest ldc-1.30 library. Discovered when running tilix-1.9.5-1.el9 from epel. After update from ldc-1.25 to ldc-libs-1.30, tilix starts to segfault. Fabian (cc) mentioned that it builds (no error) but produced tilix binary just segfaults... Steps to Reproduce: 1. start tilix on system with ldc-1.30 Actual results: segfault Expected results: terminal is started
Just small correction, tilix is not in epel, it's from Fabians repo [1]. It was rebuild using epel. 1. https://copr.fedorainfracloud.org/coprs/arrfab/not-in-epel9/
Weird. It works just fine for me in F37 and F37 also uses ldc 1.30.
FEDORA-EPEL-2022-e6dfec10b8 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e6dfec10b8
I got gtkd and tilix branched and built for EPEL 9 proper now. Could you test and see if the packages linked above work correctly? Thanks!
FEDORA-EPEL-2022-e6dfec10b8 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-e6dfec10b8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
(In reply to Kalev Lember from comment #4) > I got gtkd and tilix branched and built for EPEL 9 proper now. Could you > test and see if the packages linked above work correctly? Thanks! Hi, thanks for the effort. Unfortunately, still segfaulting. I've also updated my machine from rhel-9 nighlty compose to get the most recent packages but result is the same. $ rpm -q tilix gtkd ldc-libs tilix-1.9.5-5.el9.x86_64 gtkd-3.10.0-1.el9.x86_64 ldc-libs-1.30.0-2.el9 0 [bnater@localhost ~ ]$ tilix Segmentation fault (core dumped) 139 [bnater@localhost ~ ]$
Ah, bummer. I'll investigate this a bit but no promises as I am not really familiar with the D language or the compiler. Weird that the exact same versions work just fine in Fedora though.
yeah, as a workaround (I need it on my RHEL 9 professional laptop) I rebuilt it against previous version and that's the one I use for now : https://people.centos.org/arrfab/CentOS9/ Can't use copr as it's automatically pulling from epel9 and so back with the issue for ldc
OK, I think I got this figured out. Before ldc 1.29, ldc was using ld.gold for linking but switched to just plain ld in 1.29, which is by default ld.bfd (using alternatives). It turns out that the older ld.bfd version in RHEL 8 and 9 somehow ends up linking gtkd wrong, which in turn leads to tilix crashing. I've done some local tests and it looks like switching back to ld.gold for RHEL fixes this nicely.
(In reply to Kalev Lember from comment #9) > OK, I think I got this figured out. Before ldc 1.29, ldc was using ld.gold > for linking but switched to just plain ld in 1.29, which is by default > ld.bfd (using alternatives). It turns out that the older ld.bfd version in > RHEL 8 and 9 somehow ends up linking gtkd wrong, which in turn leads to > tilix crashing. > > I've done some local tests and it looks like switching back to ld.gold for > RHEL fixes this nicely. Thanks for looking into this. Does that mean that new fixed build of "something" have to be done or some system configuration change? Thanks.
Have there been any updates on this? If not, would it be possible to at minimum, please share the configuration required to build and operate Tilix from source on RHEL 9.1 using current ldc or instructions for how to revert to ldc.gold? If I understand correctly this should be possible using alternatives? Thanks!
My colleague J.A. Norrid above asked me if I had any thoughts on this. Thanks to the earlier pointer that the issue was resolved when using ld.gold, and that the issue was in gtkd, I used this procedure to build a working package: update-alternatives --set ld /usr/bin/ld.gold dnf download --enablerepo epel-testing-source --source gtkd dnf builddep --enablerepo crb,epel-testing ./gtkd-3.10.0-1.el9.src.rpm rpmbuild --rebuild ./gtkd-3.10.0-1.el9.src.rpm dnf reinstall ~/rpmbuild/RPMS/aarch64/gtkd-3.10.0-1.el9.aarch64.rpm rpmbuild --rebuild https://kojipkgs.fedoraproject.org//packages/tilix/1.9.5/8.fc38/src/tilix-1.9.5-8.fc38.src.rpm dnf install ~/rpmbuild/RPMS/aarch64/tilix-1.9.5-8.el9.aarch64.rpm
Sorry for the delay here. I think I got this sorted out now and fixed the EPEL9 ldc package to use ld.gold, and rebuilt gtkd and tilix against the new version, which should hopefully resolve this.
FEDORA-EPEL-2023-9502c4b907 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-9502c4b907
FEDORA-EPEL-2023-9502c4b907 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-9502c4b907 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
(In reply to Kalev Lember from comment #13) > Sorry for the delay here. > > I think I got this sorted out now and fixed the EPEL9 ldc package to use > ld.gold, and rebuilt gtkd and tilix against the new version, which should > hopefully resolve this. # rpm -q tilix gtkd ldc-libs tilix-1.9.5-9.el9.x86_64 gtkd-3.10.0-4.el9.x86_64 ldc-libs-1.32.0-1.el9.x86_64 Works for me, many thanks!
Great!
FEDORA-EPEL-2023-9502c4b907 has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.