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

 
 

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

Submitted by:  Axel Beckert <abe>
Submitted on:  Wed 03 Aug 2016 06:13:12 PM UTC  
 
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.4.0
Fixed Release: 4.5.0Planned 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.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by abe (Submitted the item)
  • -unavailable- added by abe
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 Jan 2017 09:43:38 PM UTCamadeOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.5.0
    Sun 07 Aug 2016 12:19:19 PM UTCamadeStatusNone=>Fixed
    Thu 04 Aug 2016 11:06:24 PM UTCabeAttached File-=>Added 62-fix-RC_DIGRAPH-handling.patch, #38114
    Wed 03 Aug 2016 06:13:12 PM UTCabeCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1