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

 
 

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

Submitter:  None
Submitted:  Tue 18 Jul 2017 08:25:30 PM UTC
Votes: 5
 
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.6.1
Fixed Release:  4.6.2 Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Should be fixed in 4.6.2 release.

Amadeusz Sławiński <amade>
Group 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>
Group 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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by ssducf (Voted in favor of this item)
  • -email is unavailable- added by amade (Posted a comment)
  •  

    There are 5 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-10-23 amade StatusConfirmed Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.6.2
    2017-07-22 ssducf Carbon-Copy- Added ssducf
    2017-07-21 amade StatusNone Confirmed
    2017-07-18 None Attached File- Added screen-crash.txt, #41236

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code