bugGNU Screen - Bugs: bug #51500, windowlist -m crashes with...

 
 

bug #51500: windowlist -m crashes with simultaneously created windows

Submitted by:  None
Submitted on:  Tue 18 Jul 2017 08:25:30 PM UTC  
Votes:  5  
 
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.6.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.

 

Mon 23 Oct 2017 12:36:46 PM UTC, comment #5:

Should be fixed in 4.6.2 release.

Amadeusz Sławiński <amade>
Project Administrator
Fri 21 Jul 2017 08:49:18 AM UTC, comment #4:

Thanks for investigating, I can confirm that it crashes when 'defmonitor on' is in config.

Amadeusz Sławiński <amade>
Project Administrator
Thu 20 Jul 2017 05:37:50 AM UTC, comment #3:

Ok, after compiling screen on another system and being unable to reproduce the problem, I narrowed it down to this line in my .screenrc:

defmonitor on

I have gone back to the CentOS systems and commented out this line and confirmed that it no longer crashes.

So, apparently that, combined with windowlist -m breaks screen between versions 4.01 and 4.6.

Anonymous
Thu 20 Jul 2017 04:15:09 AM UTC, comment #2:

I tried it with the screen distributed with CentOS 7 (4.001.00) and with 4.6 hand compiled in CentOS 6.

I could not reproduce it in Ubuntu 14.

Anonymous
Wed 19 Jul 2017 08:45:19 AM UTC, comment #1:

I need more details, because I can't reproduce.

On what distribution does this happen, is it packaged screen or did you compile from source yourself?

I assume the for loop is run in already existing screen session, because just running this from shell, will start one screen after another.

Amadeusz Sławiński <amade>
Project Administrator
Tue 18 Jul 2017 08:25:30 PM UTC, original submission:

Repeat with:

$ for i in one two three ; do

> screen -t $i
> done

^a:windowlist -m

Results:
Screen crashes / hangs

Work-around:
cycle through all newly created windows before trying to get a time sorted windowlist

Similarly, windowlist -g seems to crash if there are no window groups.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #41236:  screen-crash.txt added by None (1KiB - text/plain - segfault from secondary process)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 5 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:36:46 PM UTCamadeStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.6.2
    Sat 22 Jul 2017 05:50:52 PM UTCssducfCarbon-Copy-=>Added ssducf
    Fri 21 Jul 2017 08:49:18 AM UTCamadeStatusNone=>Confirmed
    Tue 18 Jul 2017 08:38:56 PM UTCNoneAttached File-=>Added screen-crash.txt, #41236

    Back to the top


    Powered by Savane 3.1-cleanup1