Follow-up Comment #4, bug #25291 (group screen): 15 yrs later, screen still crash...
ubuntu 22.04 screen 4.09.00
Program received signal SIGSEGV, Segmentation fault.
0x0000557986023a6e in zmodem_parse (len=<optimized out>, bp=<optimized out>,
p=<optimized out>) at ../window.c:2177
2177 ../window.c: Directory not empty.
(gdb) bt
#0 0x0000557986023a6e in zmodem_parse (len=<optimized out>, bp=<optimized
out>, p=<optimized out>) at ../window.c:2177
#1 win_readev_fn (ev=<optimized out>, data=0x557987fc2f80 "") at
../window.c:1947
#2 0x0000557986007a67 in sched () at ../sched.c:222
#3 main (ac=<optimized out>, av=<optimized out>) at ../screen.c:1486
I've debugged this. When using zmodem pass mode, a overlay page "Zmodem
active" showed by InitOverlayPage, which set w_layer.l_cvlist to NULL causing
global display NULL. In zmodem_abort, through ExitOverlayPage is called for
restoring canvas but will take affect in next win_readev_fn call. So nearly
after zmodem_abort, display is accessed and oops.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?25291>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
