bugGNU Screen - Bugs: bug #43054, the command "windowlist"...


bug #43054: the command "windowlist" freezes the program

Submitted by:  rawle <rollo>
Submitted on:  Sat 23 Aug 2014 05:10:00 AM UTC  
Votes:  10  
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.2.1
Fixed Release: 4.6.2Planned Release: None
Work Required: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Mon 23 Oct 2017 12:35:49 PM UTC, comment #8:

Should be fixed in 4.6.2 release.

Amadeusz Sławiński <amade>
Project Administrator
Sat 22 Jul 2017 06:11:58 PM UTC, comment #7:

This feels related to bug #51500

Steve <ssducf>
Thu 09 Feb 2017 02:05:14 PM UTC, comment #6:

Also can't reproduce.
Can you provide steps you use to compile screen?

And also /etc/screenrc from those systems (for whatever legacy reason screen loads it before loading users .screenrc and some distributions like to do their own modifications to this file)

Also seeing as you can identify two versions it broke between any change you could bisect it? (Use screen-v4 branch)

One more thing, what terminal emulator do you run screen in?

Amadeusz Sławiński <amade>
Project Administrator
Tue 23 Aug 2016 10:41:06 PM UTC, comment #5:

Further tested screen 4.0.3 on Slackware 14.1 (32-bit) and screen 4.4.0 on Slackware 14.2 (32-bit).

The 4.0.3 version did NOT manifest the freezing problem but the 4.4.0 version froze using the same step-to-reproduce procedures mentioned in previous messages.

cychoi <cychoi>
Mon 22 Aug 2016 07:47:30 PM UTC, comment #4:

I compiled 4.3.1 & 4.4.0 and tested again on the same system. The same issue still happens.

BTW, it's a 64-bit Debian, in case that matters.

Some console output below for your reference:

cychoi:~/tmp/screen/screen-4.4.0$ cat screenrc
vbell on
termcapinfo * vb@
defmonitor on
cychoi:~/tmp/screen/screen-4.4.0$ SCREENDIR=. SCREENRC=./screenrc ./screen


(inside the screen session)

cychoi:~/tmp/screen/screen-4.4.0$ echo $STY^G



cychoi:~$ ps xf | grep screen
18536 pts/12 S+ 0:00 \_ grep screen
18360 pts/11 S+ 0:00 \_ ./screen
18361 ? Zs 0:00 \_ [screen] <defunct>

cychoi <cychoi>
Mon 22 Aug 2016 12:58:20 PM UTC, comment #3:

Screen version 4.01.00devel (GNU) 2-May-06... more than 10 years ago.

In case we will find this bug and will fix it, you will need to update anyway. So, before report bugreport(s) please be sure that this bug is still there, i.e. try to reproduce it in the last stable version of GNU screen. At this moment this is 4.4.0.

I can't reproduce this problem in openSUSE (x86_64) git-version and also in gentoo (x86_64) v4.3.0.

Axel, can you check it please? If Debian community have patch already, I think we can add/commit it.

Alexander Naumov <anaumov>
Project Administrator
Thu 18 Aug 2016 09:55:54 PM UTC, comment #2:

Steps to reproduce:

1. put the following in $HOME/.screenrc
vbell on
termcapinfo xterm|putty vb@
defmonitor on

2. run screen

3. trigger a bell in screen, e.g.: echo ^G

3. execute :windowlist

4. done

System info:

Screen version 4.01.00devel (GNU) 2-May-06

Distributor ID: Debian
Description: Debian GNU/Linux 7.11 (wheezy)
Release: 7.11
Codename: wheezy

cychoi <cychoi>
Sat 05 Sep 2015 03:31:42 PM UTC, comment #1:

Can you check with newer version? Does it still freeze?
Anyway I need more information some backtrace or something.

Amadeusz Sławiński <amade>
Project Administrator
Sat 23 Aug 2014 05:10:00 AM UTC, original submission:

running latest version of gnu screen 4.2.1 compiled on centos 6.5. when i invoke screen i use the command "windowlist" and the program freezes. Sometimes the window says unable to find the main process.

rawle <rollo>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by ssducf (Posted a comment)
  • -unavailable- added by ssducf (Voted in favor of this item)
  • -unavailable- added by anaumov (Posted a comment)
  • -unavailable- added by cychoi (Posted a comment)
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by rollo (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 10 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Oct 2017 12:35:49 PM UTCamadeStatusWorks For Me=>Fixed
      Fixed ReleaseNone=>4.6.2
    Sat 22 Jul 2017 06:11:58 PM UTCssducfCarbon-Copy-=>Added ssducf
    Mon 22 Aug 2016 12:58:20 PM UTCanaumovStatusNeed Investigation=>Works For Me
    Sat 05 Sep 2015 03:31:42 PM UTCamadeStatusNone=>Need Investigation

    Back to the top

    Powered by Savane 3.1-cleanup1