From: Joseph Mingrone <jrm@ftfl.ca>
To: Po Lu <luangruo@yahoo.com>
Cc: 22214@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>,
Eli Zaretskii <eliz@gnu.org>, Brian Burns <bburns.km@gmail.com>
Subject: bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode
Date: Sun, 29 May 2022 12:51:51 -0300 [thread overview]
Message-ID: <868rqk1gmg.fsf@phe.ftfl.ca> (raw)
In-Reply-To: <87v8tvlqqf.fsf@yahoo.com> (Po Lu's message of "Tue, 24 May 2022 08:27:20 +0800")
On Tue, 2022-05-24 at 08:27, Po Lu <luangruo@yahoo.com> wrote:
> Could you attach a debugger to Emacs and show a backtrace?
Here is /a/ backtrace. Is it helpful?
Joe
jrm@phe /usr/src/etc [main|✔] % gdb -x ~/scm/nm/emacs.git/src/.gdbinit /usr/local/bin/emacs
GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD]
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd14.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/emacs...
Warning: /usr/src/etc/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0.0
TERM = screen-256color
Breakpoint 1 at 0x48ab8e: file emacs.c, line 421.
Breakpoint 2 at 0x4451c4: file xterm.c, line 21297.
(gdb) r -Q
Starting program: /usr/local/bin/emacs -Q
warning: Could not load shared library symbols for [vdso].
Do you need "set solib-search-path" or "set sysroot"?
[This is where I ran the recipe describe earlier in the thread.]
[New LWP 185279 of process 68421]
[New LWP 185280 of process 68421]
[New LWP 185281 of process 68421]
[New LWP 185282 of process 68421]
[LWP 185282 of process 68421 exited]
[New LWP 185283 of process 68421]
[New LWP 185284 of process 68421]
[LWP 185283 of process 68421 exited]
[New LWP 185285 of process 68421]
[New LWP 185286 of process 68421]
[LWP 185284 of process 68421 exited]
[LWP 185285 of process 68421 exited]
[LWP 185286 of process 68421 exited]
[LWP 185281 of process 68421 exited]
[New LWP 185314 of process 68421]
[New LWP 185315 of process 68421]
[LWP 185314 of process 68421 exited]
[New LWP 185317 of process 68421]
[New LWP 185318 of process 68421]
[LWP 185315 of process 68421 exited]
[LWP 185317 of process 68421 exited]
[LWP 185318 of process 68421 exited]
[New LWP 185319 of process 68421]
[New LWP 185320 of process 68421]
[LWP 185319 of process 68421 exited]
[New LWP 185321 of process 68421]
[New LWP 185322 of process 68421]
[LWP 185321 of process 68421 exited]
[LWP 185320 of process 68421 exited]
[LWP 185322 of process 68421 exited]
[New LWP 185323 of process 68421]
[New LWP 185324 of process 68421]
[LWP 185323 of process 68421 exited]
[New LWP 185325 of process 68421]
[New LWP 185326 of process 68421]
[LWP 185324 of process 68421 exited]
[LWP 185325 of process 68421 exited]
[LWP 185326 of process 68421 exited]
[New LWP 185327 of process 68421]
[New LWP 185328 of process 68421]
[LWP 185327 of process 68421 exited]
[New LWP 185329 of process 68421]
[New LWP 185330 of process 68421]
[LWP 185329 of process 68421 exited]
[LWP 185328 of process 68421 exited]
[New LWP 185331 of process 68421]
[New LWP 185332 of process 68421]
[LWP 185331 of process 68421 exited]
[LWP 185330 of process 68421 exited]
[New LWP 185333 of process 68421]
[New LWP 185334 of process 68421]
[LWP 185333 of process 68421 exited]
[LWP 185332 of process 68421 exited]
[New LWP 185335 of process 68421]
[New LWP 185336 of process 68421]
[LWP 185335 of process 68421 exited]
[New LWP 185337 of process 68421]
[LWP 185334 of process 68421 exited]
[New LWP 185338 of process 68421]
[LWP 185336 of process 68421 exited]
[LWP 185337 of process 68421 exited]
[LWP 185338 of process 68421 exited]
[New LWP 185339 of process 68421]
[New LWP 185340 of process 68421]
[LWP 185339 of process 68421 exited]
[New LWP 185341 of process 68421]
[New LWP 185342 of process 68421]
[LWP 185340 of process 68421 exited]
[LWP 185341 of process 68421 exited]
[New LWP 185343 of process 68421]
[New LWP 185344 of process 68421]
[LWP 185343 of process 68421 exited]
[New LWP 185345 of process 68421]
[LWP 185342 of process 68421 exited]
[New LWP 185346 of process 68421]
[LWP 185344 of process 68421 exited]
[LWP 185345 of process 68421 exited]
[New LWP 185347 of process 68421]
[New LWP 185348 of process 68421]
[LWP 185346 of process 68421 exited]
[LWP 185347 of process 68421 exited]
[New LWP 185349 of process 68421]
[New LWP 185350 of process 68421]
[LWP 185348 of process 68421 exited]
[LWP 185349 of process 68421 exited]
[New LWP 185351 of process 68421]
[New LWP 185352 of process 68421]
[LWP 185350 of process 68421 exited]
[LWP 185351 of process 68421 exited]
[LWP 185352 of process 68421 exited]
[ Here is where I tried to close the font selection menu, but could not
interact with that window. I xkilled the window and this also closed
the main emacs frame.]
Thread 1 received signal SIGTERM, Terminated.
Sent by kill() from pid 68852 and user 1001.
_sigprocmask () at _sigprocmask.S:4
4 PSEUDO(sigprocmask)
[The gdb prompt didn't return and an emacs process remained running in
the background using 100% CPU. I sent that process a SIGQUIT.]
(gdb) bt
#0 _sigprocmask () at _sigprocmask.S:4
#1 0x0000000802b7b18e in __thr_sigprocmask (how=1, set=<optimized out>, oset=<optimized out>) at /usr/src/lib/libthr/thread/thr_sig.c:656
#2 _thr_sigmask (how=1, set=<optimized out>, oset=0x7fffffff98e8) at /usr/src/lib/libthr/thread/thr_sig.c:666
#3 0x000000000065b4fe in block_atimers (oldset=0x7fffffff98e8) at atimer.c:77
#4 0x000000000065bc2b in do_pending_atimers () at atimer.c:456
#5 0x000000000049e666 in process_pending_signals () at keyboard.c:7546
#6 0x00000000005983cc in probably_quit () at eval.c:1630
#7 0x00000000006321af in maybe_quit () at ./../lwlib/../src/lisp.h:3666
#8 0x00000000006350f0 in wait_reading_process_output (time_limit=5, nsecs=0, read_kbd=0, do_display=false, wait_for_cell=XIL(0x806d2e1bb), wait_proc=0x0, just_wait_proc=0) at process.c:5234
#9 0x000000000046eb74 in x_get_foreign_selection (selection_symbol=XIL(0x2370), target_type=XIL(0x24f0), time_stamp=XIL(0), frame=XIL(0x813b144cd)) at xselect.c:1259
#10 0x000000000046e25a in Fx_get_selection_internal (selection_symbol=XIL(0x2370), target_type=XIL(0x24f0), time_stamp=XIL(0), terminal=XIL(0)) at xselect.c:2074
#11 0x000000000059f875 in funcall_subr (subr=0xa239a8 <Sx_get_selection_internal>, numargs=4, args=0x812f1f7d8) at eval.c:2961
#12 0x000000000060fe32 in exec_byte_code (fun=XIL(0x80672c165), args_template=1026, nargs=2, args=0x7fffffffad98) at bytecode.c:809
#13 0x00000000005a32a7 in fetch_and_exec_byte_code (fun=XIL(0x80672c165), args_template=1026, nargs=2, args=0x7fffffffad88) at eval.c:3004
#14 0x000000000059fc11 in funcall_lambda (fun=XIL(0x80672c165), nargs=2, arg_vector=0x7fffffffad88) at eval.c:3076
#15 0x000000000059f547 in funcall_general (fun=XIL(0x80672c165), numargs=2, args=0x7fffffffad88) at eval.c:2867
#16 0x0000000000596d54 in Ffuncall (nargs=3, args=0x7fffffffad80) at eval.c:2917
#17 0x000000000059ea8e in Fapply (nargs=2, args=0x812f1f738) at eval.c:2588
#18 0x000000000059f9cb in funcall_subr (subr=0xa2f240 <Sapply>, numargs=2, args=0x812f1f738) at eval.c:2982
#19 0x000000000060fe32 in exec_byte_code (fun=XIL(0x80672bfe5), args_template=128, nargs=2, args=0x7fffffffba28) at bytecode.c:809
#20 0x00000000005a32a7 in fetch_and_exec_byte_code (fun=XIL(0x80672bfe5), args_template=128, nargs=2, args=0x7fffffffba28) at eval.c:3004
#21 0x000000000059fc11 in funcall_lambda (fun=XIL(0x80672bfe5), nargs=2, arg_vector=0x7fffffffba28) at eval.c:3076
#22 0x000000000059f547 in funcall_general (fun=XIL(0x80672bfe5), numargs=2, args=0x7fffffffba28) at eval.c:2867
#23 0x0000000000596d54 in Ffuncall (nargs=3, args=0x7fffffffba20) at eval.c:2917
#24 0x000000080efe0a49 in F6775692d6765742d73656c656374696f6e_gui_get_selection_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/select-784d9bb7-95975f21.eln
#25 0x000000000059f819 in funcall_subr (subr=0x806728b18, numargs=2, args=0x7fffffffbc40) at eval.c:2957
#26 0x000000000059f4f5 in funcall_general (fun=XIL(0x806728b1d), numargs=2, args=0x7fffffffbc40) at eval.c:2863
#27 0x0000000000596d54 in Ffuncall (nargs=3, args=0x7fffffffbc38) at eval.c:2917
#28 0x000000080efe050a in F6775692d2d73656c656374696f6e2d76616c75652d696e7465726e616c_gui__selection_value_internal_0 ()
at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/select-784d9bb7-95975f21.eln
#29 0x000000000059f7f7 in funcall_subr (subr=0x8067334b8, numargs=1, args=0x7fffffffbe28) at eval.c:2955
#30 0x000000000059f4f5 in funcall_general (fun=XIL(0x8067334bd), numargs=1, args=0x7fffffffbe28) at eval.c:2863
#31 0x0000000000596d54 in Ffuncall (nargs=2, args=0x7fffffffbe20) at eval.c:2917
#32 0x000000080efe08c1 in F6775692d6765742d7072696d6172792d73656c656374696f6e_gui_get_primary_selection_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/select-784d9bb7-95975f21.eln
#33 0x0000000000592dae in eval_sub (form=XIL(0x813cdc543)) at eval.c:2417
#34 0x00000000005935ab in Fprogn (body=XIL(0)) at eval.c:451
#35 0x00000000005a0016 in funcall_lambda (fun=XIL(0x813cdc713), nargs=0, arg_vector=0x7fffffffc4a8) at eval.c:3156
#36 0x000000000059f647 in funcall_general (fun=XIL(0x813cdc723), numargs=0, args=0x7fffffffc4a8) at eval.c:2879
#37 0x0000000000596d54 in Ffuncall (nargs=1, args=0x7fffffffc4a0) at eval.c:2917
#38 0x000000000059b73b in Fapply (nargs=2, args=0x7fffffffc4a0) at eval.c:2541
#39 0x000000000059f9cb in funcall_subr (subr=0xa2f240 <Sapply>, numargs=2, args=0x7fffffffc4a0) at eval.c:2982
#40 0x000000000059f4f5 in funcall_general (fun=XIL(0xa2f245), numargs=2, args=0x7fffffffc4a0) at eval.c:2863
#41 0x0000000000596d54 in Ffuncall (nargs=3, args=0x7fffffffc498) at eval.c:2917
#42 0x000000080ab29c27 in F74696d65722d6576656e742d68616e646c6572_timer_event_handler_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/timer-3ee7cfd9-76499eee.eln
#43 0x000000000059f7f7 in funcall_subr (subr=0x806f05a70, numargs=1, args=0x7fffffffc6b0) at eval.c:2955
#44 0x000000000059f4f5 in funcall_general (fun=XIL(0x806f05a75), numargs=1, args=0x7fffffffc6b0) at eval.c:2863
#45 0x0000000000596d54 in Ffuncall (nargs=2, args=0x7fffffffc6a8) at eval.c:2917
#46 0x0000000000495089 in call1 (fn=XIL(0xeb50), arg1=XIL(0x813a66d3d)) at ./../lwlib/../src/lisp.h:3228
#47 0x000000000049c5a2 in timer_check_2 (timers=XIL(0x8153908b3), idle_timers=XIL(0)) at keyboard.c:4612
#48 0x000000000049bde9 in timer_check () at keyboard.c:4678
#49 0x0000000000487059 in xg_maybe_add_timer (data=0x7fffffffca98) at gtkutil.c:2434
#50 0x00000008018d79d4 in () at /usr/local/lib/libglib-2.0.so.0
#51 0x00000008018dbbb4 in g_main_context_dispatch () at /usr/local/lib/libglib-2.0.so.0
#52 0x00000008018dbf44 in () at /usr/local/lib/libglib-2.0.so.0
#53 0x00000008018dc2aa in g_main_loop_run () at /usr/local/lib/libglib-2.0.so.0
#54 0x000000000047ff08 in xg_dialog_run (f=0x813b144c8, w=0x813a20440) at gtkutil.c:2482
#55 0x000000000048010c in xg_get_font (f=0x813b144c8, default_name=0x813e31fa0 "monospace 10") at gtkutil.c:2885
#56 0x0000000000465db0 in Fx_select_font (frame=XIL(0), ignored=XIL(0)) at xfns.c:9068
#57 0x000000080fa434fc in F6d656e752d7365742d666f6e74_menu_set_font_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/menu-bar-4f46ea94-fe1b0a07.eln
#58 0x0000000000592dae in eval_sub (form=XIL(0x8153911a3)) at eval.c:2417
#59 0x00000000005935ab in Fprogn (body=XIL(0)) at eval.c:451
#60 0x0000000000591585 in eval_sub (form=XIL(0x8153911c3)) at eval.c:2373
#61 0x0000000000599cf6 in Feval (form=XIL(0x8153911c3), lexical=XIL(0x30)) at eval.c:2278
#62 0x000000080b59b735 in F656c6973702d2d6576616c2d6c6173742d73657870_elisp__eval_last_sexp_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/elisp-mode-90dbfe40-b5ded1c4.eln
#63 0x000000000059f7f7 in funcall_subr (subr=0x806c0ff68, numargs=1, args=0x7fffffffd318) at eval.c:2955
#64 0x000000000059f4f5 in funcall_general (fun=XIL(0x806c0ff6d), numargs=1, args=0x7fffffffd318) at eval.c:2863
#65 0x0000000000596d54 in Ffuncall (nargs=2, args=0x7fffffffd310) at eval.c:2917
#66 0x000000080b59bc27 in F6576616c2d6c6173742d73657870_eval_last_sexp_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/elisp-mode-90dbfe40-b5ded1c4.eln
#67 0x000000000059f7f7 in funcall_subr (subr=0x806938050, numargs=1, args=0x7fffffffd6c0) at eval.c:2955
#68 0x000000000059f4f5 in funcall_general (fun=XIL(0x806938055), numargs=1, args=0x7fffffffd6c0) at eval.c:2863
#69 0x0000000000596d54 in Ffuncall (nargs=2, args=0x7fffffffd6b8) at eval.c:2917
#70 0x000000000058c3cf in Ffuncall_interactively (nargs=2, args=0x7fffffffd6b8) at callint.c:260
#71 0x000000000059f9cb in funcall_subr (subr=0xa2e740 <Sfuncall_interactively>, numargs=2, args=0x7fffffffd6b8) at eval.c:2982
#72 0x000000000059f4f5 in funcall_general (fun=XIL(0xa2e745), numargs=2, args=0x7fffffffd6b8) at eval.c:2863
#73 0x0000000000596d54 in Ffuncall (nargs=3, args=0x7fffffffd6b0) at eval.c:2917
#74 0x000000000058eb72 in Fcall_interactively (function=XIL(0x805e899d0), record_flag=XIL(0), keys=XIL(0x806efd4cd)) at callint.c:798
#75 0x00000008093bb9ff in F636f6d6d616e642d65786563757465_command_execute_0 () at /usr/local/libexec/emacs/29.0.50/amd64-portbld-freebsd14.0/../../../../bin/../lib/emacs/29.0.50/native-lisp/29.0.50-1944ab15/preloaded/simple-fab5b0cf-723c10c1.eln
#76 0x000000000059f875 in funcall_subr (subr=0x8067453e8, numargs=1, args=0x7fffffffdff0) at eval.c:2961
#77 0x000000000059f4f5 in funcall_general (fun=XIL(0x8067453ed), numargs=1, args=0x7fffffffdff0) at eval.c:2863
#78 0x0000000000596d54 in Ffuncall (nargs=2, args=0x7fffffffdfe8) at eval.c:2917
#79 0x0000000000495089 in call1 (fn=XIL(0x4440), arg1=XIL(0x805e899d0)) at ./../lwlib/../src/lisp.h:3228
#80 0x000000000049133e in command_loop_1 () at keyboard.c:1512
#81 0x0000000000597e52 in internal_condition_case (bfun=0x4909a0 <command_loop_1>, handlers=XIL(0x90), hfun=0x491b70 <cmd_error>) at eval.c:1452
#82 0x0000000000490969 in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1140
#83 0x0000000000597403 in internal_catch (tag=XIL(0xee50), func=0x490940 <command_loop_2>, arg=XIL(0x90)) at eval.c:1182
#84 0x000000000048fd06 in command_loop () at keyboard.c:1118
#85 0x000000000048fb0e in recursive_edit_1 () at keyboard.c:727
#86 0x000000000049009d in Frecursive_edit () at keyboard.c:810
#87 0x000000000048cc00 in main (argc=2, argv=0x7fffffffe6d0) at emacs.c:2488
Thread 1 received signal SIGTERM, Terminated.
Sent by kill() from pid 71434 and user 0.
backtrace_top () at eval.c:163
163 eval.c: No such file or directory.
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(backtrace_top) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb)
next prev parent reply other threads:[~2022-05-29 15:51 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-20 6:26 bug#22214: 25.0.50; lock up with gui dialogs and clipmon-mode Joseph Mingrone
2015-12-20 15:54 ` Eli Zaretskii
2015-12-21 2:31 ` Joseph Mingrone
2015-12-21 15:24 ` Eli Zaretskii
2015-12-21 16:41 ` Joseph Mingrone
2015-12-21 17:50 ` Eli Zaretskii
2015-12-21 19:42 ` Joseph Mingrone
2015-12-21 0:21 ` Brian Burns
2015-12-21 0:45 ` Joseph Mingrone
2015-12-22 7:56 ` Brian Burns
2015-12-21 15:26 ` Eli Zaretskii
2015-12-22 5:21 ` Joseph Mingrone
2015-12-22 16:06 ` Eli Zaretskii
2015-12-23 17:00 ` Joseph Mingrone
2015-12-23 17:12 ` Eli Zaretskii
2015-12-23 18:18 ` Joseph Mingrone
2015-12-23 18:22 ` Eli Zaretskii
2015-12-23 20:16 ` Brian Burns
2015-12-23 21:21 ` Joseph Mingrone
2015-12-24 7:43 ` Brian Burns
2015-12-24 16:20 ` Eli Zaretskii
2015-12-27 7:29 ` Brian Burns
2022-04-23 14:06 ` Lars Ingebrigtsen
2022-04-24 13:23 ` Joseph Mingrone
2022-04-25 0:50 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-23 8:02 ` Lars Ingebrigtsen
2022-05-23 19:02 ` Joseph Mingrone
2022-05-24 0:27 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-29 15:51 ` Joseph Mingrone [this message]
2022-05-29 23:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-30 6:05 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-30 13:00 ` Joseph Mingrone
2022-05-30 13:34 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=868rqk1gmg.fsf@phe.ftfl.ca \
--to=jrm@ftfl.ca \
--cc=22214@debbugs.gnu.org \
--cc=bburns.km@gmail.com \
--cc=eliz@gnu.org \
--cc=larsi@gnus.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).