bugGNU Screen - Bugs: bug #48691, segfault if a digraph is bound to...

 
 

bug #48691: segfault if a digraph is bound to some key combination

Submitter:  Axel Beckert <abe>
Submitted:  Wed 03 Aug 2016 06:13:12 PM UTC
   
 
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.4.0
Fixed Release:  4.5.0 Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 07 Aug 2016 12:19:19 PM UTC, comment #2: 

Thanks for patch, applied both to
screen-v4 and master (with small modification)

Amadeusz Sławiński <amade>
Group administrator
Wed 03 Aug 2016 07:16:07 PM UTC, comment #1: 

Actually not a digraph but a digraph præfix.

I regularily use it like this:

^Au20AC (inserts an Euro sign), for example

Anonymous
Wed 03 Aug 2016 06:13:12 PM UTC, original submission:  

This issue has been submitted originally in Debian by Thorsten Glaser <tg@mirbsd.de> under https://bugs.debian.org/831672 -- citing from there:

-----------------------------------------------------------------
cat >.screenrc
bind u digraph U+
^D
screen
^Au

… leads to…

[screen caught signal 11. (core dumped)]

Getting a backtrace is unfortunately not as easy, but
with sudo gdb screen I can at least get it interactively.

(gdb) bt
#0  0x00007fe709acde10 in __pause_nocancel () at ../sysdeps/unix/syscall-template.S:84
#1  0x0000556d56004524 in Attacher () at ../attacher.c:628
#2  0x0000556d55fdf2d0 in main (ac=0, av=<optimized out>) at ../screen.c:1275
-----------------------------------------------------------------

The crash seems to be architecture dependent and I can reproduce it on x86_64 (aka amd64) with:

  • 4.4.0 as packaged by Debian
  • built from git's HEAD of the screen-v4 branch
  • 4.3.1 built from git's v.4.3.1 tag
Axel Beckert <abe>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #38114:  62-fix-RC_DIGRAPH-handling.patch added by abe (1KiB - text/x-patch - Fix posted to Debian bug report by Jan C. Nordholz <jnordholz@sec.t-labs.tu-berlin.de>)

 

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 abe (Submitted the item)
  • -email is unavailable- added by abe
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-18 amade Open/ClosedOpen Closed
        Fixed ReleaseNone 4.5.0
    2016-08-07 amade StatusNone Fixed
    2016-08-04 abe Attached File- Added 62-fix-RC_DIGRAPH-handling.patch, #38114
    2016-08-03 abe Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code