Subject: Re: bug#35003: 27.0.50; SIGTERM in dconf worker

From: Michael Welsh Duggan <[email-masked]>
Date: Mon, 01 Apr 2019 10:37:18 -0400

As it happened again, I'll attach the backtrace from the emacs thread at
the time.  Then I'll restart with an empty DISPLAY and see what happens.

#0  set_buffer_internal_2 (b=b@entry=0x1e66880) at ../../src/src/buffer.c:2132
2132		  if (sym->u.s.redirect == SYMBOL_LOCALIZED /* Just to be sure.  */
#0  0x00000000004f86a3 in set_buffer_internal_2 (b=b@entry=0x1e66880)
    at ../../src/src/buffer.c:2132
#1  0x00000000004f8c36 in set_buffer_internal_1 (b=0x1e66880)
    at ../../src/src/buffer.c:2085
#2  0x00000000004f8c36 in set_buffer_internal (b=0x1e66880)
    at ../../src/src/buffer.h:1137
#3  0x00000000004f8c36 in Fset_buffer (buffer_or_name=XIL(0x1e66885))
    at ../../src/src/buffer.c:2182
#4  0x000000000058afa6 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, args=<optimized out>, 
    args@entry=0x10) at ../../src/src/bytecode.c:1137
#5  0x0000000000556230 in funcall_lambda
    (fun=XIL(0x7fffffffbe80), nargs=nargs@entry=1, arg_vector=0x10, 
    arg_vector@entry=0x7fffffffc048) at ../../src/src/lisp.h:1840
#6  0x000000000055381f in Ffuncall
    (nargs=nargs@entry=2, args=args@entry=0x7fffffffc040)
    at ../../src/src/eval.c:2861
#7  0x000000000055395a in call1
    (fn=fn@entry=XIL(0x1cbd185), arg1=<optimized out>)
    at ../../src/src/eval.c:2698
#8  0x000000000055c487 in mapcar1
    (leni=leni@entry=25, vals=vals@entry=0x7fffffffc0c0, fn=fn@entry=XIL(0x1cbd185), seq=seq@entry=XIL(0x20546a3)) at ../../src/src/lisp.h:1431
#9  0x000000000055f0b6 in Fmapcar
    (function=XIL(0x1cbd185), sequence=XIL(0x20546a3))
    at ../../src/src/fns.c:2709
#10 0x00000000005538a3 in Ffuncall (nargs=3, args=args@entry=0x7fffffffc268)
    at ../../src/src/lisp.h:2097
#11 0x00000000005896d0 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, 
    args@entry=0xd) at ../../src/src/bytecode.c:633
#12 0x0000000000556230 in funcall_lambda
    (fun=XIL(0x7fffffffc280), nargs=nargs@entry=0, arg_vector=0xd, 
    arg_vector@entry=0x7fffffffc5e0) at ../../src/src/lisp.h:1840
#13 0x000000000055381f in Ffuncall
    (nargs=nargs@entry=1, args=args@entry=0x7fffffffc5d8)
    at ../../src/src/eval.c:2861
#14 0x0000000000553bbc in Fapply (nargs=2, args=0x7fffffffc5d8)
    at ../../src/src/eval.c:2420
#15 0x00000000005538a3 in Ffuncall (nargs=3, args=args@entry=0x7fffffffc5d0)
    at ../../src/src/lisp.h:2097
#16 0x00000000005896d0 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0, args=<optimized out>, 
    args@entry=0xb) at ../../src/src/bytecode.c:633
#17 0x0000000000556230 in funcall_lambda
    (fun=XIL(0x7fffffffc5e8), nargs=nargs@entry=0, arg_vector=0xb, 
    arg_vector@entry=0x7fffffffc890) at ../../src/src/lisp.h:1840
#18 0x000000000055381f in Ffuncall
    (nargs=nargs@entry=1, args=args@entry=0x7fffffffc888)
    at ../../src/src/eval.c:2861
#19 0x0000000000553bbc in Fapply (nargs=2, args=0x7fffffffc888)
    at ../../src/src/eval.c:2420
#20 0x00000000005538a3 in Ffuncall (nargs=3, args=args@entry=0x7fffffffc880)
    at ../../src/src/lisp.h:2097
#21 0x00000000005896d0 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=1, args=<optimized out>, 
    args@entry=0x7) at ../../src/src/bytecode.c:633
#22 0x0000000000556230 in funcall_lambda
    (fun=XIL(0x7fffffffc8b8), nargs=nargs@entry=1, arg_vector=0x7, 
    arg_vector@entry=0x7fffffffcb18) at ../../src/src/lisp.h:1840
#23 0x000000000055381f in Ffuncall
    (nargs=nargs@entry=2, args=args@entry=0x7fffffffcb10)
    at ../../src/src/eval.c:2861
#24 0x000000000055395a in call1
    (fn=fn@entry=XIL(0xc300), arg1=arg1@entry=XIL(0x2561ea5))
    at ../../src/src/eval.c:2698
#25 0x00000000004df9ac in timer_check_2 (idle_timers=XIL(0), timers=XIL(0x3584033)) at ../../src/src/lisp.h:1057
#26 0x00000000004df9ac in timer_check () at ../../src/src/keyboard.c:4367
#27 0x00000000004dfc55 in readable_events (flags=1) at ../../src/src/keyboard.c:3368
#28 0x00000000004e05e8 in get_input_pending (flags=flags@entry=1) at ../../src/src/keyboard.c:6771
#29 0x00000000004e2ce8 in detect_input_pending_run_timers (do_display=do_display@entry=true) at ../../src/src/keyboard.c:9915
#30 0x0000000000593ee3 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=XIL(0), wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at ../../src/src/process.c:5560
#31 0x000000000041a22e in sit_for (timeout=timeout@entry=make_number(30), reading=reading@entry=true, display_option=display_option@entry=1) at ../../src/src/lisp.h:1057
#32 0x00000000004e57f2 in read_char (commandflag=commandflag@entry=1, map=map@entry=XIL(0x35841b3), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x7fffffffd6bb, end_time=end_time@entry=0x0) at ../../src/src/lisp.h:1154
#33 0x00000000004e5e7e in read_key_sequence (keybuf=keybuf@entry=0x7fffffffd7b0, prompt=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, prevent_redisplay=prevent_redisplay@entry=false) at ../../src/src/keyboard.c:9110
#34 0x00000000004e762e in command_loop_1 () at ../../src/src/lisp.h:1057
#35 0x0000000000552a9e in internal_condition_case (bfun=bfun@entry=0x4e7460 <command_loop_1>, handlers=handlers@entry=XIL(0x5010), hfun=hfun@entry=0x4ded90 <cmd_error>) at ../../src/src/eval.c:1369
#36 0x00000000004d9c8c in command_loop_2 (ignore=ignore@entry=XIL(0)) at ../../src/src/lisp.h:1057
#37 0x0000000000552a0d in internal_catch (tag=tag@entry=XIL(0xc5d0), func=func@entry=0x4d9c70 <command_loop_2>, arg=arg@entry=XIL(0)) at ../../src/src/eval.c:1132
#38 0x00000000004d9c34 in command_loop () at ../../src/src/lisp.h:1057
#39 0x00000000004de996 in recursive_edit_1 () at ../../src/src/keyboard.c:714
#40 0x00000000004decb7 in Frecursive_edit () at ../../src/src/keyboard.c:785
#41 0x0000000000410732 in main (argc=2, argv=0x7fffffffdb38) at ../../src/src/emacs.c:1958

Thread 1 "emacs-27.0.50" received signal SIGTERM, Terminated.
backtrace_p (pdl=0xd7af40) at ../../src/src/eval.c:182
182	{ return specpdl ? pdl >= specpdl : false; }
The program being debugged was signaled while in a function called from GDB.
GDB has restored the context to what it was before the call.
To change this behavior use "set unwindonsignal off".
Evaluation of the expression containing the function
(backtrace_p) will be abandoned.

-- 
Michael Welsh Duggan
([email-masked])