Bug 1894917
Summary: | urxvt-unicode crashes while exit. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | olegon.ru <olegon> |
Component: | rxvt-unicode | Assignee: | Robbie Harwood <rharwood> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | amurdaca, andreas.bierfert, caillon+fedoraproject, dcantrell, iarnell, jplesnik, kasal, mmaslano, muks, olegon, perl-devel, ppisar, psabata, rharwood, rhughes, sandmann, spotrh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-03 13:46:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
olegon.ru
2020-11-05 12:33:54 UTC
Hmm, calling getenv() below exit() doesn't seem like a great idea. Handing to the perl folks to take a look, but maybe we'll need input from libc folks too. What's wrong with getenv() in an atexit() callback? Shouldn't rather urxwt properly desctruct perl interpreter before calling exit()? I have: # rpm -q rxvt-unicode perl-libs glibc rxvt-unicode-9.22-25.fc33.x86_64 perl-libs-5.32.0-463.fc33.x86_64 glibc-2.32-1.fc33.x86_64 I cannot reproduce with executing "rxvt -e /bin/true" from an interactive shell. I can reproduce it when executing it from a non-interactive SSH session. It's a known bug in rxvt-unicode <http://lists.schmorp.de/pipermail/rxvt-unicode/2020q2/002583.html>. It initializes perl interpreter (PERL_SYS_INIT3() call) with a private environment copy (localise_env set_environ() call) in rxvt_perl_interp::init(), but then the private copy is deallocated before perl interpreter, which calls getenv() by accident, is destructed (perl_destruct() call in rxvt_perl_interp::~rxvt_perl_interp()). rxvt-unicode upstream is going to remove perl_destruct() call because any library, not only perl interpretr, can call getenv() at exit. Thanks Petr. Apologies for the noise. FEDORA-2020-6a8efe1256 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6a8efe1256 FEDORA-2020-6a8efe1256 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-6a8efe1256` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6a8efe1256 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Please can you push the package to stable now? It appears to be ready. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6a8efe1256 FEDORA-2020-6a8efe1256 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |