bugGNU Screen - Bugs: bug #20660, crash when setting scrollback to 0...

 
 

bug #20660: crash when setting scrollback to 0 while in scrollback mode

Submitted by:  None
Submitted on:  Thu 02 Aug 2007 08:40:25 AM UTC  
 
Category: Crash/Freeze/InfloopSeverity: 4 - Important
Priority: 6Status: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.0.3
Fixed Release: 4.1.0Planned Release: 4.1.0
Work Required: 0 - Hours

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 13 Jul 2008 12:05:37 AM UTC, comment #3:

Fixed in b672551b1da8095f2f76e5718fbc05ed5f80e6ef

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Wed 09 Jul 2008 05:04:46 AM UTC, comment #2:

What would be a good fix for this bug? The attached patch adds a check that disables resizing the scrollback buffer when in copy mode. An alternative fix could be to automatically abort the copy mode first, and then resize the scrollback. But I think between these two fixes, the first one is better.

(file #16038)

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Mon 23 Jun 2008 10:17:05 PM UTC, comment #1:

Reproduced.

I used "bindkey -m 0 scrollback 0", and in order to produce the problem, had to additionally attempt to move around in the buffer before exiting copy mode.

Micah Cowan <micahcowan>
 Spam posted by an anonymous
Thu 02 Aug 2007 08:40:25 AM UTC, original submission:

My screen session died when I pressed my key for setting the scrollback to 0 (bindkey -k F1 scrollback 0) while I was some lines up in scrollback mode (C-A Esc).

Well, it might not be a good idea to cut away the buffer one is viewing, but it should not crash the session anyway.

Observed in "Screen version 4.00.03 (FAU) 23-Oct-06".

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sadrul (Updated the item)
  • -unavailable- added by micahcowan (Updated 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 0 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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Jul 2008 12:05:37 AM UTCsadrulStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1.0
    Wed 09 Jul 2008 05:04:46 AM UTCsadrulAttached File-=>Added screen_scrollback_in_copy_mode.patch, #16038
    Mon 23 Jun 2008 10:17:05 PM UTCmicahcowanWork RequiredNone=>0 - Hours
    Mon 23 Jun 2008 10:17:04 PM UTCmicahcowanCategoryNone=>Crash/Freeze/Infloop
      Severity3 - Normal=>4 - Important
      StatusNeed Investigation=>Confirmed
      ReleaseNone=>4.0.3
      Planned ReleaseNone=>4.1.0
    Sun 15 Jun 2008 08:24:49 AM UTCmicahcowanPriority5 - Normal=>6
      StatusNone=>Need Investigation

    Back to the top


    Powered by Savane 3.1-cleanup1