bugGNU Screen - Bugs: bug #47826, screen process crashes when...

 
 

bug #47826: screen process crashes when parsing 'logfile' parameter

Submitter:  Kazuhiro YOSHIKAWA <yoshikaw>
Submitted:  Mon 02 May 2016 02:36:29 PM UTC
   
 
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.3.1
Fixed Release:  4.4.0 Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 02 May 2016 05:27:13 PM UTC, comment #1: 

Thanks for report.
Fix pushed to screen-v4 and master branch.

Amadeusz Sławiński <amade>
Group administrator
Mon 02 May 2016 02:36:29 PM UTC, original submission:  

after 23c7d0e in screen-v4 branch, a screen process crashes when parsing 'logfile' parameter.

reproduce procedure:

  • compile screen (latest git screen-v4 branch)
  • create simple .screenrc (e.g. echo 'logfile screen.log' > .screenrc)
  • start a screen using simple .screenrc (e.g. /path/to/screen-4.3.1 -c .screenrc)



(gdb) bt
#0  0x00007fa480311067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fa480312448 in __GI_abort () at abort.c:89
#2  0x000000000040669a in CoreDump (sigsig=<optimized out>) at screen.c:1717
#3  <signal handler called>
#4  0x000000000042e163 in DoAction (act=act@entry=0x7fffe9f71a50, key=key@entry=-1) at process.c:2628
#5  0x0000000000438963 in DoCommand (argv=argv@entry=0x7fffe9f71b90, argl=argl@entry=0x7fffe9f71a90) at process.c:4668
#6  0x0000000000411171 in RcLine (ubuf=ubuf@entry=0x7fffe9f71da0 "logfile", ubufl=ubufl@entry=2048) at fileio.c:385
#7  0x0000000000411f4d in FinishRc (rcfilename=0x7fffe9f74936 "./.screenrc") at fileio.c:330
#8  0x0000000000405019 in main (ac=0, av=<optimized out>) at screen.c:1440


Kazuhiro YOSHIKAWA <yoshikaw>

 

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

Attach Files:
   
   
Comment:
   

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 yoshikaw (Submitted 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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-19 amade Open/ClosedOpen Closed
        Fixed ReleaseNone 4.4.0
    2016-05-02 amade StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code