URL: <http://savannah.gnu.org/bugs/?47826>
Summary: screen process crashes when parsing 'logfile' parameter Project: GNU Screen Submitted by: yoshikaw Submitted on: 2016年05月02日 14時36分29秒 Category: Crash/Freeze/Infloop Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 4.3.1 Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: 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 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47826> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/