bugGNU Screen - Bugs: bug #13249, pasting in nano crashes screen


bug #13249: pasting in nano crashes screen

Submitter:  kaneda shotaro <akirabakabaka>
Submitted:  Tue 31 May 2005 09:52:36 PM UTC
Category:  Crash/Freeze/Infloop Severity:  2 - Minor
Priority:  * 3 - Low Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None
Fixed Release:  None Planned Release:  Later
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup

Mon 09 Jan 2017 08:17:38 PM UTC, comment #5: 

If you can provide any details then please do.

screen version
terminal emulator (and version of it) you use
how big selection are we talking about? (xclip -o |wc -c)
does string you paste contain any special characters?
how are you performing paste? (middle mouse button, ctrl+v, something else?)

Amadeusz Sławiński <amade>
Group administrator
Fri 09 Dec 2016 11:13:54 PM UTC, comment #4: 

Can confirm, this happens in a session with nano open pasting a large selection. Freezes screen and session is not recoverable.

Sat 05 Sep 2015 04:00:37 PM UTC, comment #3: 

Original bug report is 10 years old.
Not enough details provided and pasting seems to work fine.

Amadeusz Sławiński <amade>
Group administrator
Mon 23 Jun 2008 09:20:11 PM UTC, comment #2: 

It would be terrific if we could get either or both of:
 1. A backtrace from the crash
 2. Sample content whose paste would sometimes crash screen.

Micah Cowan <micahcowan>
  Spam posted by anonymous
Tue 31 May 2005 09:52:36 PM UTC, original submission:  

While pasting into nano within a screen session, the results are highly unstable. It seems as if the pasted selection is too large, nano and screen will lock up, after which the session becomes impossible to restore:

[kaneda@kaneda]<~> screen -list
Your inventory:
        29450.pts-0.kaneda      (Attached)
1 Socket in /var/run/screen/S-kaneda.
[kaneda@kaneda]<~> screen -d 29450
  (nothing happens, ctrl+c)
[kaneda@kaneda]<~> screen -x 29450
  (nothing happens, ctrl+c)
[kaneda@kaneda]<~> top
29450 kaneda    25   0 10044 9324 9056 R 97.1  1.8  62:13.32 screen

I have duplicated this on several Gentoo systems (from 2004.2 to 2005.0), and two Slackware systems (9 and 10), and many versions of both screen and nano including latest. However the crash is sporadic, with the only contigious factors being pasting a large buffer into nano within a screen session.

kaneda shotaro <akirabakabaka>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by amade (Posted a comment)
  • -email is unavailable- added by micahcowan (Updated the item)

    There are 0 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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-05 amade Open/ClosedOpen Closed
    2008-06-23 micahcowan CategoryNone Crash/Freeze/Infloop
        StatusNeed Investigation Need Info
        Planned ReleaseNone Later
    2008-06-15 micahcowan Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        StatusNone Need Investigation

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code