Please check now. 
Thread 1 "emacs" hit Breakpoint 1, delete_frame (frame=0x55555c1e73f5, force=0x0) at frame.c:1932
1932 {
(gdb) bt
#0  delete_frame (frame=0x55555c1e73f5, force=0x0) at frame.c:1932
#1  0x0000555555765ba3 in eval_sub (form=<optimized out>) at eval.c:2501
#2  0x0000555555765dcd in Fprogn (body=0x55555b086633) at eval.c:436
#3  0x0000555555765a68 in eval_sub (form=<optimized out>) at eval.c:2449
#4  0x0000555555765a68 in eval_sub (form=<optimized out>) at eval.c:2449
#5  0x0000555555766c6d in Fprogn (body=0x55555b086c43) at eval.c:436
#6  funcall_lambda (fun=0x55555b0860b3, nargs=0, arg_vector=0x7fffffffce00) at eval.c:3233
#7  0x000055555576721f in apply_lambda (fun=<optimized out>, args=<optimized out>, count=...) at eval.c:3103
#8  0x000055555576538b in eval_sub (form=<optimized out>) at eval.c:2588
#9  0x0000555555766c6d in Fprogn (body=0x55555b087343) at eval.c:436
#10 funcall_lambda (fun=0x55555b087023, nargs=0, arg_vector=0x7fffe7d00048) at eval.c:3233
#11 0x0000555555761c13 in Ffuncall (nargs=1, args=0x7fffe7d00040) at eval.c:2995
#12 0x0000555555762028 in Fapply (nargs=2, args=0x7fffe7d00040) at eval.c:2619
#13 0x00005555557aac77 in exec_byte_code (fun=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:809
#14 0x0000555555761c13 in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffd2b8) at eval.c:2995
#15 0x000055555575d8d3 in Ffuncall_interactively (nargs=1, args=0x7fffffffd2b8) at callint.c:248
#16 0x0000555555761c13 in Ffuncall (nargs=2, args=0x7fffffffd2b0) at eval.c:2995
#17 0x0000555555762028 in Fapply (nargs=nargs@entry=3, args=args@entry=0x7fffffffd2b0) at eval.c:2619
#18 0x000055555575f287 in Fcall_interactively (function=0x39269e0, record_flag=0x0, keys=0x55555dad1525) at callint.c:340
#19 0x00007fffe909f795 in F636f6d6d616e642d65786563757465_command_execute_0 ()
    at /home/zhangyunfeng@pudu.com/github.com/emacs/src/../native-lisp/29.0.60-2dd24eb2/preloaded/simple-fab5b0cf-b9ebea66.eln
#20 0x0000555555761c13 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffd460) at eval.c:2995
#21 0x00005555556e4f10 in call1 (arg1=<optimized out>, fn=0x49b0) at /home/zhangyunfeng@pudu.com/github.com/emacs/src/lisp.h:3247
#22 command_loop_1 () at keyboard.c:1495
#23 0x0000555555760217 in internal_condition_case (bfun=bfun@entry=0x5555556e4af0 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x5555556d7c30 <cmd_error>) at eval.c:1474
#24 0x00005555556d02de in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1125
#25 0x0000555555760159 in internal_catch (tag=tag@entry=0xfba0, func=func@entry=0x5555556d02b0 <command_loop_2>, arg=arg@entry=0x90) at eval.c:1197
#26 0x00005555556d0279 in command_loop () at keyboard.c:1103
#27 0x00005555556d7788 in recursive_edit_1 () at keyboard.c:712
#28 0x00005555556d7b30 in Frecursive_edit () at keyboard.c:795
#29 0x00005555555e8df5 in main (argc=<optimized out>, argv=<optimized out>) at emacs.c:2529

Po Lu <luangruo@yahoo.com> 于2022年12月20日周二 09:40写道:
张云峰 <zhangyunfeng0101@gmail.com> writes:

> Done.
>
> [Detaching after vfork from child process 650535]
> [Detaching after vfork from child process 650536]
> [Detaching after vfork from child process 650537]
> [Detaching after vfork from child process 650538]
> [Detaching after vfork from child process 650539]
> [Detaching after vfork from child process 650540]
> [Detaching after vfork from child process 650541]
> [Detaching after vfork from child process 650542]
> [Detaching after vfork from child process 650543]
> [Detaching after vfork from child process 650544]
> [Detaching after vfork from child process 650545]
> [Detaching after vfork from child process 650546]
> [Detaching after vfork from child process 650547]
> [Detaching after vfork from child process 650729]
> [Detaching after vfork from child process 650730]
> [Detaching after vfork from child process 650731]
> [Detaching after vfork from child process 650732]
>
> Thread 1 "emacs" hit Breakpoint 1, delete_frame (frame=0x555558c02e05, force=0x0) at frame.c:1932
> 1932 {
> (gdb) l
> 1927 * unconditionally.  x_connection_closed and delete_terminal use this.
> 1928 * Any other value of FORCE implements the semantics described for
> 1929 * Fdelete_frame.  */
> 1930 Lisp_Object
> 1931 delete_frame (Lisp_Object frame, Lisp_Object force)
> 1932 {
> 1933 struct frame *f = decode_any_frame (frame);
> 1934 struct frame *sf;
> 1935 struct kboard *kb;
> 1936 Lisp_Object frames, frame1;
> (gdb) c
> Continuing.         
> [Detaching after vfork from child process 650742]
> [Detaching after vfork from child process 650964]
>
>  ==================================================> here emacs can't edit, no cursor( cursor in edit area just disappeared), but
> mouse pointer can select text in emacs and hover event also can trigger.
>
> What should I do next ?

Please type "bt" instead of "c", to display what led to delete_frame
being called.  Thanks.