[Bug 1070450] New: GNU screen occasionally crashes with SIGABRT on re-attaching
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450
Bug ID: 1070450
Summary: GNU screen occasionally crashes with SIGABRT on
re-attaching
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: x86-64
OS: openSUSE Factory
Status: NEW
Severity: Major
Priority: P5 - None
Component: Other
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: mjambor@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
In the recent months, GNU screen in Tumbleweed occasionally crashes
after getting SIGABRT when I re-attach to it. It always dumps core,
the backtraces are always different but usually in memory allocation
routines. A few examples are below. My TERM is rxvt-unicode
The backtraces:
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fde3ede10d0 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007fde3ede10d0 in raise () from /lib64/libc.so.6
#1 0x00007fde3ede26b1 in abort () from /lib64/libc.so.6
#2 0x00007fde3ee24427 in __libc_message () from /lib64/libc.so.6
#3 0x00007fde3ee2ab83 in malloc_printerr () from /lib64/libc.so.6
#4 0x00007fde3ee2aff2 in malloc_consolidate () from /lib64/libc.so.6
#5 0x00007fde3ee2cc20 in _int_free () from /lib64/libc.so.6
#6 0x00005561cf173281 in freetty () at display.c:3075
#7 0x00005561cf179748 in FreeDisplay () at display.c:343
#8 0x00005561cf13bc0a in Detach (mode=mode@entry=0) at screen.c:1999
#9 0x00005561cf165b53 in DoAction (act=0x5561cf3aa720
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450#c4
Dr. Werner Fink
Note that there may be a different thing that needs to be changed: the failing tgetent for "notfound" puts the wrong data in LAST_TRM which leads to the tgetent on b2 freeing stuff for buffer b1. So I think the line
LAST_TRM = TerminalOf(SP_PARM);
should really read
LAST_TRM = rc == 1 ? TerminalOf(SP_PARM) : 0;
But you'll need to re-check with Thomas Dickey about this...
Yep ... just added Thomas to Caron Copy list -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450#c5
Thomas Dickey
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450#c6
--- Comment #6 from Dr. Werner Fink
I'm puzzled because the patch affects the no-leaks code (which is used only for analysis).
Hmmm .. I'm not aware that libraries which are compiled with no-leak support do cause trouble ... in fact I'm using --disable-leaks at configure time [ 49s] checking if you want to perform memory-leak testing... yes -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450
http://bugzilla.opensuse.org/show_bug.cgi?id=1070450#c7
--- Comment #7 from Thomas Dickey
participants (1)
-
bugzilla_noreply@novell.com