[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66978: 30.0.50; crashed when closing one of two frames
From: |
Gregor Zattler |
Subject: |
bug#66978: 30.0.50; crashed when closing one of two frames |
Date: |
Tue, 07 Nov 2023 13:20:31 +0100 |
* Po Lu <luangruo@yahoo.com> [2023-11-07; 17:50 +08]:
> Gregor Zattler <grfz@gmx.de> writes:
>
>> This (see below) is a backtrace from a crash after I
>> closed one of two graphical frames associated with the
>> same Emacs daemon.
>>
>> Tried to reproduce it, but couldn't, so don't know if
>> this is helpful, if so I'm happy to answer questions,
>> but the process is already killed.
>
> If the core dump still remains, type:
>
> (gdb) p *(XErrorEvent *) 0x7fffffffbb70
>
> and reply with the text thus printed.
see below for a new gdb output including this info.
I worked in a graphical Emacs frame, then I called
"edit-and-execute-command (C-x C-e)" in bash, which in
turn opened another Emacs frame, although when invoking
$VISUAL in the end of a rather convoluted configuration
the real thing called is
/home/grfz/bin/emacsclient -s server --alternate-editor'' --reuse-frame
--frame-parameters='()'
so I'm surprised it opened a new frame instead of a
window in the existing one.
When I was done with the bash command line I closed the
new Emacs frame with C-x 5 2 and Emacs crashed.
I let stay the gdb process around for a while, in case
further questions arise. This is a laptop, though and
so it's probably only a matter of hours.
Thanks for looking into this, Gregor
Starting program:
/home/grfz/src/emacs-master--078cfe807295038fa321c9297e24de5145065622--2023-11-02T00-38+01-00/src/emacs
--init-directory=/home/grfz/.config/emacs --fg-daemon=server
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 4314]
[Detaching after vfork from child process 4392]
[Detaching after vfork from child process 4393]
[Detaching after vfork from child process 4417]
[Detaching after vfork from child process 5643]
[Detaching after vfork from child process 5644]
[Detaching after vfork from child process 5645]
[Detaching after vfork from child process 5646]
[Detaching after vfork from child process 5647]
[Detaching after vfork from child process 46956]
[Detaching after vfork from child process 46957]
[Detaching after vfork from child process 46958]
[Detaching after vfork from child process 46959]
[Detaching after vfork from child process 48824]
[Detaching after vfork from child process 48825]
[Detaching after vfork from child process 48826]
[Detaching after vfork from child process 48827]
[Detaching after vfork from child process 48883]
[Detaching after vfork from child process 48884]
[Detaching after vfork from child process 48901]
[Detaching after vfork from child process 48918]
[Detaching after vfork from child process 72624]
[Detaching after vfork from child process 72654]
[Detaching after vfork from child process 72655]
[Detaching after vfork from child process 72656]
[Detaching after vfork from child process 72657]
[Detaching after vfork from child process 72660]
[Detaching after vfork from child process 89454]
[Detaching after vfork from child process 89789]
Breakpoint 2, x_error_quitter (display=0x555557774660, event=0x0) at
./src/xterm.c:26956
26956 {
#0 x_error_quitter (display=0x555557774660, event=0x0) at ./src/xterm.c:26956
#1 0x0000555555701446 in x_error_handler (display=0x555557774660,
event=0x7fffffffbb70) at ./src/xterm.c:26944
#2 0x00007ffff7c999eb in _XError () at /lib/x86_64-linux-gnu/libX11.so.6
#3 0x00007ffff7c96657 in () at /lib/x86_64-linux-gnu/libX11.so.6
#4 0x00007ffff7c966f5 in () at /lib/x86_64-linux-gnu/libX11.so.6
#5 0x00007ffff7c971a2 in _XEventsQueued () at /lib/x86_64-linux-gnu/libX11.so.6
#6 0x00007ffff7c88897 in XPending () at /lib/x86_64-linux-gnu/libX11.so.6
#7 0x0000555555719ccb in XTread_socket (terminal=<optimized out>,
hold_quit=0x7fffffffbe10) at ./src/xterm.c:25577
#8 0x0000555555754871 in gobble_input () at ./src/keyboard.c:7862
#9 0x0000555555757875 in handle_async_input () at ./src/keyboard.c:8101
#10 process_pending_signals () at ./src/keyboard.c:8115
#11 unblock_input_to (level=0) at ./src/keyboard.c:8130
#12 unblock_input_to (level=<optimized out>) at ./src/keyboard.c:8124
#13 unblock_input () at ./src/keyboard.c:8149
#14 0x0000555555905fb9 in xg_select (fds_lim=<optimized out>,
rfds=0x7fffffffc530, wfds=<optimized out>, efds=0x0, timeout=<optimized out>,
sigmask=0x0) at ./src/xgselect.c:282
#15 0x0000555555891198 in wait_reading_process_output
(time_limit=time_limit@entry=5, nsecs=nsecs@entry=0,
read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true,
wait_for_cell=Python Exception <class 'gdb.error'>: value has been optimized out
, wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at ./src/process.c:5716
#16 0x00005555555db6d4 in sit_for (timeout=Python Exception <class
'gdb.error'>: value has been optimized out
, reading=<optimized out>, display_option=<optimized out>) at
./src/dispnew.c:6318
#17 0x000055555575f56a in read_char (commandflag=commandflag@entry=1,
map=Python Exception <class 'gdb.error'>: value has been optimized out
, map@entry=XIL(0x7fffee69ae33), prev_event=Python Exception <class
'gdb.error'>: value has been optimized out
, used_mouse_menu=used_mouse_menu@entry=0x7fffffffcd7b,
end_time=end_time@entry=0x0) at ./src/lisp.h:773
#18 0x0000555555761109 in read_key_sequence
(keybuf=keybuf@entry=0x7fffffffcea0, prompt=XIL(0x555556232d95),
prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false,
can_return_switch_frame=can_return_switch_frame@entry=true,
fix_current_buffer=fix_current_buffer@entry=true,
disable_text_conversion_p=disable_text_conversion_p@entry=false,
prevent_redisplay=<optimized out>) at ./src/keyboard.c:10681
#19 0x0000555555763b1e in command_loop_1 () at ./src/keyboard.c:1408
#20 0x000055555580c687 in internal_condition_case
(bfun=bfun@entry=0x5555557638e0 <command_loop_1>, handlers=Python Exception
<class 'gdb.error'>: value has been optimized out
, handlers@entry=XIL(0x90), hfun=hfun@entry=0x5555557523c0 <cmd_error>) at
./src/eval.c:1486
#21 0x0000555555743d56 in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at
./src/keyboard.c:1157
#22 0x000055555580c5cc in internal_catch (tag=Python Exception <class
'gdb.error'>: value has been optimized out
, func=func@entry=0x555555743d30 <command_loop_2>, arg=Python Exception <class
'gdb.error'>: value has been optimized out
) at ./src/eval.c:1209
#23 0x000055555574704c in command_loop () at ./src/keyboard.c:1135
#24 0x0000555555751aea in recursive_edit_1 () at ./src/keyboard.c:744
#25 0x0000555555752114 in Frecursive_edit () at ./src/keyboard.c:827
#26 0x00005555555cb9c7 in main (argc=3, argv=0x7fffffffd358) at
./src/emacs.c:2625
$1 = {
type = 0,
display = 0x555557774660,
resourceid = 1103,
serial = 363431,
error_code = 146 '\222',
request_code = 139 '\213',
minor_code = 22 '\026'
}
- bug#66978: 30.0.50; crashed when closing one of two frames, Gregor Zattler, 2023/11/06
- bug#66978: 30.0.50; crashed when closing one of two frames, Po Lu, 2023/11/07
- bug#66978: 30.0.50; crashed when closing one of two frames,
Gregor Zattler <=
- bug#66978: 30.0.50; crashed when closing one of two frames, Po Lu, 2023/11/07
- bug#66978: 30.0.50; crashed when closing one of two frames, Gregor Zattler, 2023/11/07
- bug#66978: 30.0.50; crashed when closing one of two frames, Po Lu, 2023/11/07
- bug#66978: 30.0.50; crashed when closing one of two frames, Gregor Zattler, 2023/11/08
- bug#66978: 30.0.50; crashed when closing one of two frames, Po Lu, 2023/11/08
bug#66978: 30.0.50; crashed when closing one of two frames, Gregor Zattler, 2023/11/10