Bug 948617
Summary: | Segfault in alternate screen handling | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eskild Hustvedt <user> | ||||
Component: | screen | Assignee: | Petr Hracek <phracek> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 18 | CC: | lnykryn, phracek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | screen-4.1.0-0.16.20120314git3c2946.fc19 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-06-27 01:52:35 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: | |||||||
Attachments: |
|
I have tried that patch: http://savannah.gnu.org/bugs/?35757 And it seems to be working. But problem occurs sporadically. Here is patched scren SRPM http://phracek.fedorapeople.org/screen/screen-4.1.0-0.14.20120314git3c2946.fc18.src.rpm Sorry I meant that problem occurs sporadically. Patch after applying patch I was not able to reproduce it. Patch was applied. scm-commit (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130617/1041521.html) -> MODIFIED screen-4.1.0-0.15.20120314git3c2946.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/screen-4.1.0-0.15.20120314git3c2946.fc18 screen-4.1.0-0.16.20120314git3c2946.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/screen-4.1.0-0.16.20120314git3c2946.fc19 Package screen-4.1.0-0.16.20120314git3c2946.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing screen-4.1.0-0.16.20120314git3c2946.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-11154/screen-4.1.0-0.16.20120314git3c2946.fc19 then log in and leave karma (feedback). screen-4.1.0-0.15.20120314git3c2946.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. screen-4.1.0-0.16.20120314git3c2946.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 731717 [details] My .screenrc Description of problem: Occasionally screen will segfault. It appears to happen when alternate screen support is on ("altscreen on") and an application that is using the alternate screen does "something" (ie. exits). Version-Release number of selected component (if applicable): [0 zerodogg@firefly ~]$ rpm -qv screen screen-4.1.0-0.14.20120314git3c2946.fc18.x86_64 How reproducible: I've been unable to reliably reproduce it. It has happened several times, on two different boxes - both running F18. Additional info: The last time it crashed I had a gdb attached to the screen process, so I was able to get a backtrace: Program received signal SIGSEGV, Segmentation fault. 0x00007f158483c3cc in ChangeWindowSize () (gdb) bt #0 0x00007f158483c3cc in ChangeWindowSize () #1 0x00007f158483cbd4 in LeaveAltScreen () #2 0x00007f1584832818 in DoCSI () #3 0x00007f1584835138 in WriteString () #4 0x00007f1584844d0b in win_readev_fn () #5 0x00007f158487131a in sched () #6 0x00007f158482986a in main () I also have a coredump, but I am a bit wary of uploading that publicly since I had programs with personal information (ie. mutt, which was the one that triggered the segfault this time). I'll be happy to share it privately, however.