emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminal locked when spawning a new tty frame


From: Alex Bennée
Subject: Re: Terminal locked when spawning a new tty frame
Date: Wed, 23 Oct 2019 17:43:44 +0100
User-agent: mu4e 1.3.5; emacs 27.0.50

Andreas Schwab <address@hidden> writes:

> On Okt 23 2019, Alex Bennée wrote:
>
>> It's reproduced for me but so far nothing obvious sticks out:
>>
>> (gdb) p kboard_stack
>> $1 = (struct kboard_stack *) 0x0
>> (gdb) p single_kboard
>> $2 = true
>
> What do you get as backtrace?

(gdb) bt
#0  0x00007f26b2234151 in __pselect (nfds=36, readfds=0x7ffd0aca0820, 
writefds=0x7ffd0aca08a0, exceptfds=0x0, timeout=<optimized out>, 
sigmask=<optimized out>) at ../sysdeps/unix/sysv/linux/pselect.c:69
#1  0x000055ed55deb2c6 in really_call_select (arg=0x7ffd0aca0750) at 
thread.c:586
#2  0x000055ed55debda9 in thread_select (func=<optimized out>, 
max_fds=max_fds@entry=36, rfds=rfds@entry=0x7ffd0aca0820, 
wfds=wfds@entry=0x7ffd0aca08a0, efds=efds@entry=0x0, 
timeout=timeout@entry=0x7ffd0aca0e50, sigmask=0x0) at thread.c:616
#3  0x000055ed55e0a46b in xg_select (fds_lim=36, 
rfds=rfds@entry=0x7ffd0aca0f80, wfds=wfds@entry=0x7ffd0aca1000, 
efds=efds@entry=0x0, timeout=timeout@entry=0x7ffd0aca0e50, 
sigmask=sigmask@entry=0x0) at xgselect.c:117
#4  0x000055ed55dcb974 in wait_reading_process_output 
(time_limit=time_limit@entry=30, nsecs=nsecs@entry=0, 
read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, 
wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, 
just_wait_proc=0) at process.c:5519
#5  0x000055ed55c522ee in sit_for (timeout=timeout@entry=0x7a, 
reading=reading@entry=true, display_option=display_option@entry=1) at 
lisp.h:1032
#6  0x000055ed55d26bf7 in read_char (commandflag=1, map=0x55ed60446f23, 
prev_event=0x0, used_mouse_menu=0x7ffd0aca185b, end_time=0x0) at lisp.h:1147
#7  0x000055ed55d2723e in read_key_sequence (keybuf=0x7ffd0aca1970, prompt=0x0, 
dont_downcase_last=<optimized out>, can_return_switch_frame=true, 
fix_current_buffer=true, prevent_redisplay=<optimized out>) at keyboard.c:9543
#8  0x000055ed55d2886c in command_loop_1 () at lisp.h:1032
#9  0x000055ed55d8d5a2 in internal_condition_case 
(bfun=bfun@entry=0x55ed55d28690 <command_loop_1>, handlers=handlers@entry=0x90, 
hfun=hfun@entry=0x55ed55d1f9f0 <cmd_error>) at eval.c:1355
#10 0x000055ed55d1a8a4 in command_loop_2 (ignore=ignore@entry=0x0) at 
lisp.h:1032
#11 0x000055ed55d8d521 in internal_catch (tag=tag@entry=0x5b50, 
func=func@entry=0x55ed55d1a880 <command_loop_2>, arg=arg@entry=0x0) at 
eval.c:1116
#12 0x000055ed55d1a805 in command_loop () at lisp.h:1032
#13 0x000055ed55d1f5f6 in recursive_edit_1 () at keyboard.c:714
#14 0x000055ed55d1f915 in Frecursive_edit () at keyboard.c:786
#15 0x000055ed55d8e2a3 in Ffuncall (nargs=1, args=args@entry=0x7ffd0aca1ca8) at 
lisp.h:2109
#16 0x000055ed55dc1d51 in exec_byte_code (bytestr=<optimized out>, 
vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized 
out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:633
#17 0x000055ed55d8e1ff in Ffuncall (nargs=3, args=0x7ffd0aca2060) at eval.c:2808
#18 0x000055ed55d8e532 in Fapply (nargs=nargs@entry=2, 
args=args@entry=0x7ffd0aca20f0) at eval.c:2424
#19 0x000055ed55d8e66c in apply1 (fn=<optimized out>, 
arg=arg@entry=0x55ed5d981de3) at lisp.h:1399
#20 0x000055ed55d8e858 in call_debugger (arg=0x55ed5d981de3) at eval.c:339
#21 0x000055ed55d8ef01 in maybe_call_debugger (data=0x55ed5d1a9ec3, sig=0xe520, 
conditions=0x7f26ae4ed72b) at lisp.h:1032
#22 0x000055ed55d8ef01 in signal_or_quit (error_symbol=0xe520, 
data=0x55ed5d1a9ec3, keyboard_quit=<optimized out>) at eval.c:1666
#23 0x000055ed55c44214 in Fsignal (error_symbol=<optimized out>, 
error_symbol@entry=0xe520, data=<optimized out>) at eval.c:1568
#24 0x000055ed55c4423e in xsignal (data=<optimized out>, error_symbol=0xe520) 
at lisp.h:4138
#25 0x000055ed55c4423e in xsignal1 (error_symbol=error_symbol@entry=0xe520, 
arg=arg@entry=0x38e2370) at eval.c:1707
#26 0x000055ed55c43b43 in Fsymbol_value (symbol=0x38e2370) at lisp.h:1032
#27 0x000055ed55dc1cad in exec_byte_code (bytestr=<optimized out>, 
vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized 
out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:498
#28 0x000055ed55d8e1ff in Ffuncall (nargs=1, args=args@entry=0x7ffd0aca2738) at 
eval.c:2808
#29 0x000055ed55dc1d51 in exec_byte_code (bytestr=<optimized out>, 
vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized 
out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:633
#30 0x000055ed55d90317 in eval_sub (form=<optimized out>) at lisp.h:2109
#31 0x000055ed55db30f8 in readevalloop (readcharfun=0x7020, 
infile0=0x7ffd0aca2b50, sourcename=0x55ed5d5b0054, printflag=false, 
unibyte=<optimized out>, readfun=0x0, start=0x0, end=0x0) at lread.c:2112
#32 0x000055ed55db3a31 in Fload (file=0x55ed5773b044, noerror=<optimized out>, 
nomessage=0x30, nosuffix=<optimized out>, must_suffix=<optimized out>) at 
lisp.h:1032
#33 0x000055ed55db3d1a in save_match_data_load (file=0x55ed5773b044, 
noerror=noerror@entry=0x0, nomessage=nomessage@entry=0x30, 
nosuffix=nosuffix@entry=0x0, must_suffix=must_suffix@entry=0x30) at lread.c:1529
#34 0x000055ed55d8df90 in Fautoload_do_load (fundef=0x55ed5865d9b3, 
funname=0x26e0650, macro_only=0x0) at lisp.h:1032
#35 0x000055ed55d8e1b6 in Ffuncall (nargs=1, args=args@entry=0x7ffd0aca2d08) at 
lisp.h:1032
#36 0x000055ed55dc1d51 in exec_byte_code (bytestr=<optimized out>, 
vector=<optimized out>, maxdepth=<optimized out>, 
args_template=args_template@entry=0x0, nargs=nargs@entry=0, args=<optimized 
out>, args@entry=0x0) at bytecode.c:633
#37 0x000055ed55d9085a in funcall_lambda (fun=0x55ed597ce625, nargs=0, 
arg_vector=0x7ffd0aca2f30) at lisp.h:1852
#38 0x000055ed55d8e1ff in Ffuncall (nargs=1, args=args@entry=0x7ffd0aca2f28) at 
eval.c:2808
#39 0x000055ed55dc1d51 in exec_byte_code (bytestr=<optimized out>, 
vector=<optimized out>, maxdepth=<optimized out>, 
args_template=args_template@entry=0x0, nargs=nargs@entry=0, args=<optimized 
out>, args@entry=0x0) at bytecode.c:633
#40 0x000055ed55d9085a in funcall_lambda (fun=0x55ed59866cb5, nargs=2, 
arg_vector=0x7ffd0aca31c0) at lisp.h:1852
#41 0x000055ed55d8e1ff in Ffuncall (nargs=3, args=args@entry=0x7ffd0aca31b8) at 
eval.c:2808
#42 0x000055ed55dc1d51 in exec_byte_code (bytestr=<optimized out>, 
vector=<optimized out>, maxdepth=<optimized out>, 
args_template=args_template@entry=0x0, nargs=nargs@entry=0, args=<optimized 
out>, args@entry=0x0) at bytecode.c:633
#43 0x000055ed55d9085a in funcall_lambda (fun=0x55ed597f3495, nargs=2, 
arg_vector=0x7ffd0aca34d8) at lisp.h:1852
#44 0x000055ed55d8e1ff in Ffuncall (nargs=3, args=0x7ffd0aca34d0) at eval.c:2808
#45 0x000055ed55d8e532 in Fapply (nargs=nargs@entry=2, 
args=args@entry=0x7ffd0aca3560) at eval.c:2424
#46 0x000055ed55d8e66c in apply1 (fn=<optimized out>, arg=<optimized out>) at 
lisp.h:1399
#47 0x000055ed55d8d63a in internal_condition_case_1 
(bfun=bfun@entry=0x55ed55dc4400 <read_process_output_call>, arg=0x55ed5c8383b3, 
handlers=handlers@entry=0x0, hfun=hfun@entry=0x55ed55dc4360 
<read_process_output_error_handler>) at eval.c:1379
#48 0x000055ed55dc46a9 in read_and_dispose_of_process_output (coding=<optimized 
out>, nbytes=2233, chars=0x7ffd0aca35f0 "POST /edit HTTP/1.1\r\nHost: 
127.0.0.1:9292\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) 
Gecko/20100101 Firefox/69.0\r\nAccept: */*\r\nAccept-Language: 
en-GB,en;q=0.5\r\nAccept-Encoding: gzip, deflat"..., p=0xfffffffffffffffb) at 
lisp.h:1286
#49 0x000055ed55dc46a9 in read_process_output (proc=proc@entry=0x55ed5c7063d5, 
channel=channel@entry=10) at process.c:6062
#50 0x000055ed55dcbd28 in wait_reading_process_output 
(time_limit=time_limit@entry=30, nsecs=nsecs@entry=0, 
read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, 
wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, 
just_wait_proc=0) at process.c:5755
#51 0x000055ed55c522ee in sit_for (timeout=timeout@entry=0x7a, 
reading=reading@entry=true, display_option=display_option@entry=1) at 
lisp.h:1032
#52 0x000055ed55d26bf7 in read_char (commandflag=1, map=0x55ed5bcd8e23, 
prev_event=0x0, used_mouse_menu=0x7ffd0aca516b, end_time=0x0) at lisp.h:1147
#53 0x000055ed55d2723e in read_key_sequence (keybuf=0x7ffd0aca5280, prompt=0x0, 
dont_downcase_last=<optimized out>, can_return_switch_frame=true, 
fix_current_buffer=true, prevent_redisplay=<optimized out>) at keyboard.c:9543
#54 0x000055ed55d2886c in command_loop_1 () at lisp.h:1032
#55 0x000055ed55d8d5a2 in internal_condition_case 
(bfun=bfun@entry=0x55ed55d28690 <command_loop_1>, handlers=handlers@entry=0x90, 
hfun=hfun@entry=0x55ed55d1f9f0 <cmd_error>) at eval.c:1355
#56 0x000055ed55d1a8a4 in command_loop_2 (ignore=ignore@entry=0x0) at 
lisp.h:1032
#57 0x000055ed55d8d521 in internal_catch (tag=tag@entry=0xd4d0, 
func=func@entry=0x55ed55d1a880 <command_loop_2>, arg=arg@entry=0x0) at 
eval.c:1116
#58 0x000055ed55d1a84b in command_loop () at lisp.h:1032
#59 0x000055ed55d1f5f6 in recursive_edit_1 () at keyboard.c:714
#60 0x000055ed55d1f915 in Frecursive_edit () at keyboard.c:786
#61 0x000055ed55c483ba in main (argc=2, argv=<optimized out>) at emacs.c:2055
(gdb) p kboard_stack
$1 = (struct kboard_stack *) 0x0
(gdb) p single_kboard
$2 = true
(gdb) c

Hmm is that a nested command_loop?

--
Alex Bennée



reply via email to

[Prev in Thread] Current Thread [Next in Thread]