I compiled screen-3.9.8-3.srpm with the -DDEBUG option,
by changing the line in screen.spec :
<make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
>make CFLAGS="$RPM_OPT_FLAGS -DDEBUG -D_GNU_SOURCE"
Then I added the line "debug on" in /home/root/.screenrc
and run screen. It showed the splash page and after I
pressed return it crashed. Last line in /tmp/debug/SCREEN.19784 was :
ASSERT(new >=0 && new <= 9) failed file display.c line 1836
I attach all three files from /tmp/debug and the used spec file.
The contents of ~root/.screenrc are :
Created attachment 13643 [details]
The spec file used to compile and make the rpm
Created attachment 13644 [details]
Created attachment 13645 [details]
Created attachment 13663 [details]
this doesnt seem to happen in 3.9.9
screen-3.9.9-1 recompiled with -DDEBUG
Crashes at the same point if /etc/screenrc contains a single line :
( actually you must use /usr/etc/screenrc , due to a packaging bug,
see bug #49535 )
I forgot to mention that this time no assertion failure is reported, it just
Umm this is an unsupported change.
I don't see this behaviour in 3.9.11-8
Try rawhide (ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS)