Package: emacs;
Reported by: Visuwesh <visuweshm <at> gmail.com>
Date: Mon, 28 Apr 2025 11:01:03 UTC
Severity: normal
Found in version 31.0.50
To reply to this bug, email your comments to 78110 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org
:bug#78110
; Package emacs
.
(Mon, 28 Apr 2025 11:01:03 GMT) Full text and rfc822 format available.Visuwesh <visuweshm <at> gmail.com>
:bug-gnu-emacs <at> gnu.org
.
(Mon, 28 Apr 2025 11:01:03 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Visuwesh <visuweshm <at> gmail.com> To: bug-gnu-emacs <at> gnu.org Subject: 31.0.50; Segfault in XFindContext Date: Mon, 28 Apr 2025 16:30:08 +0530
I am not sure how I managed to trigger this segfault since I was trying to copy some text to the kill-ring so it shouldn't have triggered the popup menu but...here we are. The vz/ispell-at-click command presents a popup menu of suggestions for the misspelt word: (defun vz/ispell-at-click (click) "Check the spelling of the word at mouse click CLICK." (interactive "@e") (save-excursion (mouse-set-point click) (ispell-set-spellchecker-params) ; Initialize variables and dicts alists (ispell-accept-buffer-local-defs) ; use the correct dictionary. (pcase-let* ((`(,word ,beg ,end) (ispell-get-word ispell-following-word)) (poss (ispell--run-on-word word))) (if (or (eq poss t) (stringp poss)) (message "%s is correct" (funcall ispell-format-word-function word)) (let ((corr (x-popup-menu click (list (concat "Correction for " (funcall ispell-format-word-function word)) (cons "" (mapcar (lambda (x) (cons x x)) (nth 2 poss))))))) (replace-region-contents beg end corr)))))) The build details in the bug report is the same as that for the segfaulted Emacs. I generated the core file for the crashed Emacs so hopefully I can provide more value out of the backtrace this time around. For posterity, I am using Xfce. (gdb) bt #0 0x00007ffff78d9474 in XFindContext () at /lib/x86_64-linux-gnu/libX11.so.6 #1 0x00007ffff7bb29da in _XmRCColorHook () at /lib/x86_64-linux-gnu/libXm.so.4 #2 0x00007ffff7d645e3 in ??? () at /lib/x86_64-linux-gnu/libXt.so.6 #3 0x00007ffff7d6508d in ??? () at /lib/x86_64-linux-gnu/libXt.so.6 #4 0x00007ffff7d654a0 in _XtCreateWidget () at /lib/x86_64-linux-gnu/libXt.so.6 #5 0x00007ffff7d6574a in XtCreateWidget () at /lib/x86_64-linux-gnu/libXt.so.6 #6 0x00007ffff7af8e6b in ??? () at /lib/x86_64-linux-gnu/libXm.so.4 #7 0x00007ffff7afbd32 in XmCreatePopupMenu () at /lib/x86_64-linux-gnu/libXm.so.4 #8 0x00005555557e3077 in make_popup_menu (instance=<optimized out>) at lwlib-Xm.c:1521 #9 0x00005555557e084e in instantiate_widget_instance (instance=0x555556014f80) at lwlib.c:720 #10 allocate_widget_instance (pop_up_p=<optimized out>, parent=0x55555b0ce240, info=<optimized out>) at lwlib.c:217 #11 lw_make_widget (id=id <at> entry=65563, parent=parent <at> entry=0x55555b0ce240, pop_up_p=pop_up_p <at> entry=1 '\001') at lwlib.c:764 #12 0x00005555557e0946 in lw_create_widget (type=type <at> entry=0x5555557f1a08 "popup", name=<optimized out>, id=id <at> entry=65563, val=val <at> entry=0x555560517f50, parent=0x55555b0ce240, pop_up_p=pop_up_p <at> entry=1 '\001', pre_activate_cb=0x0, selection_cb=0x555555607414 <popup_selection_callback>, post_activate_cb=0x555555607409 <popup_deactivate_callback>, highlight_cb=0x55555560747a <menu_highlight_callback>) at lwlib.c:780 #13 0x0000555555607ede in create_and_show_popup_menu (f=f <at> entry=0x555561123070, first_wv=first_wv <at> entry=0x555560517f50, x=<optimized out>, x <at> entry=264, y=<optimized out>, y <at> entry=299, for_click=for_click <at> entry=true) at xmenu.c:1766 #14 0x00005555556099a3 in x_menu_show (f=0x555561123070, x=264, y=299, menuflags=2, title=0x555562678c64, error_name=<optimized out>) at xmenu.c:2092 #15 0x0000555555606e24 in x_popup_menu_1 (position=position <at> entry=0x55556643be63, menu=<optimized out>, menu <at> entry=0x55556643a633) at menu.c:1415 #16 0x0000555555606fca in Fx_popup_menu (position=0x55556643be63, menu=0x55556643a633) at menu.c:1481 #17 0x000055555573d0e1 in eval_sub (form=<optimized out>) at eval.c:2595 #18 0x000055555573e4f1 in Flet (args=0x555560d66f73) at eval.c:1094 #19 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #20 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #21 0x000055555573ddad in Fif (args=<optimized out>) at eval.c:395 #22 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #23 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #24 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 #25 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #26 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #27 0x000055555573e5df in Flet (args=0x555560d66f03) at /home/viz/lib/ports/emacs/src/lisp.h:1510 #28 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #29 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #30 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #31 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #32 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 #33 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #34 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #35 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #36 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #37 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 #38 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #39 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #40 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #41 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #42 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 #43 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #44 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #45 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #46 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #47 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 #48 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #49 0x000055555573d6f8 in Fprogn (body=<optimized out>, body <at> entry=0x555560d66d53) at eval.c:439 #50 0x000055555572be81 in Fsave_excursion (args=0x555560d66d53) at editfns.c:839 #51 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 #52 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 #53 0x000055555573da1b in funcall_lambda (fun=<optimized out>, nargs=nargs <at> entry=1, arg_vector=arg_vector <at> entry=0x7fffffffddb0) at eval.c:3344 #54 0x000055555573db5f in funcall_general (fun=<optimized out>, numargs=numargs <at> entry=1, args=args <at> entry=0x7fffffffddb0) at eval.c:3038 #55 0x000055555573a0b7 in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0x7fffffffdda8) at eval.c:3087 #56 0x00005555557363c0 in Ffuncall_interactively (nargs=2, args=0x7fffffffdda8) at callint.c:250 #57 0x000055555573bf1f in funcall_subr (subr=<optimized out>, numargs=numargs <at> entry=2, args=args <at> entry=0x7fffffffdda8) at eval.c:3178 #58 0x000055555573db50 in funcall_general (fun=<optimized out>, numargs=numargs <at> entry=2, args=args <at> entry=0x7fffffffdda8) at /home/viz/lib/ports/emacs/src/lisp.h:2230 #59 0x000055555573a0b7 in Ffuncall (nargs=nargs <at> entry=3, args=args <at> entry=0x7fffffffdda0) at eval.c:3087 #60 0x0000555555737cfe in Fcall_interactively (function=<optimized out>, record_flag=<optimized out>, keys=<optimized out>) at callint.c:789 #61 0x000055555573be5b in funcall_subr (subr=<optimized out>, numargs=numargs <at> entry=3, args=args <at> entry=0x7ffff37ff070) at eval.c:3159 #62 0x000055555577a979 in exec_byte_code (fun=<optimized out>, fun <at> entry=0x7ffff49dfe65, args_template=<optimized out>, args_template <at> entry=1025, nargs=<optimized out>, nargs <at> entry=1, args=<optimized out>, args <at> entry=0x7fffffffe2d8) at /home/viz/lib/ports/emacs/src/lisp.h:2230 #63 0x000055555573d827 in funcall_lambda (fun=0x7ffff49dfe65, nargs=nargs <at> entry=1, arg_vector=arg_vector <at> entry=0x7fffffffe2d8) at eval.c:3246 #64 0x000055555573db5f in funcall_general (fun=<optimized out>, numargs=numargs <at> entry=1, args=args <at> entry=0x7fffffffe2d8) at eval.c:3038 #65 0x000055555573a0b7 in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0x7fffffffe2d0) at eval.c:3087 #66 0x00005555556cbd9f in command_loop_1 () at keyboard.c:1545 #67 0x0000555555738bc7 in internal_condition_case (bfun=bfun <at> entry=0x5555556cb6a8 <command_loop_1>, handlers=handlers <at> entry=0x90, hfun=hfun <at> entry=0x5555556bcc05 <cmd_error>) at eval.c:1620 #68 0x00005555556b7be3 in command_loop_2 (handlers=handlers <at> entry=0x90) at keyboard.c:1163 #69 0x0000555555738b05 in internal_catch (tag=tag <at> entry=0x124b0, func=func <at> entry=0x5555556b7bc0 <command_loop_2>, arg=arg <at> entry=0x90) at eval.c:1300 #70 0x00005555556b7b9d in command_loop () at keyboard.c:1141 #71 0x00005555556bc814 in recursive_edit_1 () at keyboard.c:749 #72 0x00005555556bcb50 in Frecursive_edit () at keyboard.c:832 #73 0x00005555556b6fa9 in main (argc=4, argv=<optimized out>) at emacs.c:2582 Lisp Backtrace: "x-popup-menu" (0xffffce70) "let" (0xffffcfd8) "if" (0xffffd098) "let*" (0xffffd1c8) "let" (0xffffd308) "progn" (0xffffd3b8) "let*" (0xffffd4e8) "progn" (0xffffd598) "let*" (0xffffd6c8) "progn" (0xffffd778) "let*" (0xffffd8a8) "progn" (0xffffd958) "let*" (0xffffda88) "save-excursion" (0xffffdb58) "vz/ispell-at-click" (0xffffddb0) "funcall-interactively" (0xffffdda8) "call-interactively" (0xf37ff070) "command-execute" (0xffffe2d8) (gdb) bt full #0 0x00007ffff78d9474 in XFindContext () at /lib/x86_64-linux-gnu/libX11.so.6 #1 0x00007ffff7bb29da in _XmRCColorHook () at /lib/x86_64-linux-gnu/libXm.so.4 #2 0x00007ffff7d645e3 in ??? () at /lib/x86_64-linux-gnu/libXt.so.6 #3 0x00007ffff7d6508d in ??? () at /lib/x86_64-linux-gnu/libXt.so.6 #4 0x00007ffff7d654a0 in _XtCreateWidget () at /lib/x86_64-linux-gnu/libXt.so.6 #5 0x00007ffff7d6574a in XtCreateWidget () at /lib/x86_64-linux-gnu/libXt.so.6 #6 0x00007ffff7af8e6b in ??? () at /lib/x86_64-linux-gnu/libXm.so.4 #7 0x00007ffff7afbd32 in XmCreatePopupMenu () at /lib/x86_64-linux-gnu/libXm.so.4 #8 0x00005555557e3077 in make_popup_menu (instance=<optimized out>) at lwlib-Xm.c:1521 parent = 0x55555b0ce240 parent_window = 33568340 result = <optimized out> #9 0x00005555557e084e in instantiate_widget_instance (instance=0x555556014f80) at lwlib.c:720 function = <optimized out> function = <optimized out> #10 allocate_widget_instance (pop_up_p=<optimized out>, parent=0x55555b0ce240, info=<optimized out>) at lwlib.c:217 instance = 0x555556014f80 instance = <optimized out> #11 lw_make_widget (id=id <at> entry=65563, parent=parent <at> entry=0x55555b0ce240, pop_up_p=pop_up_p <at> entry=1 '\001') at lwlib.c:764 instance = <optimized out> info = <optimized out> #12 0x00005555557e0946 in lw_create_widget (type=type <at> entry=0x5555557f1a08 "popup", name=<optimized out>, id=id <at> entry=65563, val=val <at> entry=0x555560517f50, parent=0x55555b0ce240, pop_up_p=pop_up_p <at> entry=1 '\001', pre_activate_cb=0x0, selection_cb=0x555555607414 <popup_selection_callback>, post_activate_cb=0x555555607409 <popup_deactivate_callback>, highlight_cb=0x55555560747a <menu_highlight_callback>) at lwlib.c:780 #13 0x0000555555607ede in create_and_show_popup_menu (f=f <at> entry=0x555561123070, first_wv=first_wv <at> entry=0x555560517f50, x=<optimized out>, x <at> entry=264, y=<optimized out>, y <at> entry=299, for_click=for_click <at> entry=true) at xmenu.c:1766 i = <optimized out> av = {{ name = 0x5555636f2cb8 "Correction for GEERLINGS", value = 93824994089024 }, { name = 0xa <error: Cannot access memory at address 0xa>, value = 93824993738908 }} ac = 0 dummy = { type = 1434492840, xany = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360 }, xkey = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, root = 140737320263868, subwindow = 93824995426144, time = 93825211535152, x = 0, y = 0, x_root = 1433572591, y_root = 21845, state = 4085248328, keycode = 32767, same_screen = 104 }, xbutton = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, root = 140737320263868, subwindow = 93824995426144, time = 93825211535152, x = 0, y = 0, x_root = 1433572591, y_root = 21845, state = 4085248328, button = 32767, same_screen = 104 }, xmotion = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, root = 140737320263868, subwindow = 93824995426144, time = 93825211535152, x = 0, y = 0, x_root = 1433572591, y_root = 21845, state = 4085248328, is_hint = -1 '\377', same_screen = 104 }, xcrossing = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, root = 140737320263868, subwindow = 93824995426144, time = 93825211535152, x = 0, y = 0, x_root = 1433572591, y_root = 21845, mode = -209718968, detail = 32767, same_screen = 104, focus = 0, state = 4128209600 }, xfocus = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, mode = -168091460, detail = 32767 }, xexpose = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, x = -168091460, y = 32767, width = 1434845024, height = 21845, count = 1650954032 }, xgraphicsexpose = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, drawable = 93824996063360, x = -168091460, y = 32767, width = 1434845024, height = 21845, count = 1650954032, major_code = 21845, minor_code = 0 }, xnoexpose = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, drawable = 93824996063360, major_code = -168091460, minor_code = 32767 }, xvisibility = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, state = -168091460 }, xcreatewindow = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, parent = 93824996063360, window = 140737320263868, x = 1434845024, y = 21845, width = 1650954032, height = 21845, border_width = 0, override_redirect = 0 }, xdestroywindow = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, event = 93824996063360, window = 140737320263868 }, xunmap = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, event = 93824996063360, window = 140737320263868, from_configure = 1434845024 }, xmap = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, event = 93824996063360, window = 140737320263868, override_redirect = 1434845024 }, xmaprequest = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, parent = 93824996063360, window = 140737320263868 }, xreparent = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, event = 93824996063360, window = 140737320263868, parent = 93824995426144, x = 1650954032, y = 21845, override_redirect = 0 }, xconfigure = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, event = 93824996063360, window = 140737320263868, x = 1434845024, y = 21845, width = 1650954032, height = 21845, border_width = 0, above = 93824994153711, override_redirect = -209718968 }, xgravity = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, event = 93824996063360, window = 140737320263868, x = 1434845024, y = 21845 }, xresizerequest = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, width = -168091460, height = 32767 }, xconfigurerequest = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, parent = 93824996063360, window = 140737320263868, x = 1434845024, y = 21845, width = 1650954032, height = 21845, border_width = 0, above = 93824994153711, detail = -209718968, value_mask = 104 }, xcirculate = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, event = 93824996063360, window = 140737320263868, place = 1434845024 }, xcirculaterequest = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, parent = 93824996063360, window = 140737320263868, place = 1434845024 }, xproperty = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, atom = 140737320263868, time = 93824995426144, state = 1650954032 }, xselectionclear = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, selection = 140737320263868, time = 93824995426144 }, xselectionrequest = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, owner = 93824996063360, requestor = 140737320263868, selection = 93824995426144, target = 93825211535152, property = 0, time = 93824994153711 }, xselection = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, requestor = 93824996063360, selection = 140737320263868, target = 93824995426144, property = 93825211535152, time = 0 }, xcolormap = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, colormap = 140737320263868, new = 1434845024, state = 21845 }, xclient = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, message_type = 140737320263868, format = 1434845024, data = { b = "0\217gbUU\000\000\000\000\000\000\000\000\000\000\357\224rU", s = {-28880, 25191, 21845, 0, 0, 0, 0, 0, -27409, 21874}, l = {93825211535152, 0, 93824994153711, 140737278636360, 104} } }, xmapping = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, request = -168091460, first_keycode = 32767, count = 1434845024 }, xerror = { type = 1434492840, display = 0x2, resourceid = 93824995445520, serial = 5, error_code = 128 '\200', request_code = 184 '\270', minor_code = 143 '\217' }, xkeymap = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, window = 93824996063360, key_vector = "\274 \373\365\377\177\000\000`\377\205UUU\000\0000\217gbUU\000\000\000\000\000\000\000\000\000" }, xgeneric = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, extension = 1435482240, evtype = 21845 }, xcookie = { type = 1434492840, serial = 2, send_event = 1434864400, display = 0x5, extension = 1435482240, evtype = 21845, cookie = 4126875836, data = 0x55555585ff60 <o_fwd> }, pad = {93824995073960, 2, 93824995445520, 5, 93824996063360, 140737320263868, 93824995426144, 93825211535152, 0, 93824994153711, 140737278636360, 104, 140737321597632, 2640, 93826512471472, 140737321597632, 93825211534276, 140737320271687, 10, 0, 93825452426128, 104, 1, 0} } event = 0x7fffffffc920 menu_id = 65563 menu = <optimized out> property_dummy = { type = 1024, xany = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3 }, xkey = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, root = 140737488341232, subwindow = 140737294525363, time = 46912293256352, x = 73, y = 0, x_root = 1433512679, y_root = 21845, state = 1643687107, keycode = 21845, same_screen = 1433512918 }, xbutton = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, root = 140737488341232, subwindow = 140737294525363, time = 46912293256352, x = 73, y = 0, x_root = 1433512679, y_root = 21845, state = 1643687107, button = 21845, same_screen = 1433512918 }, xmotion = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, root = 140737488341232, subwindow = 140737294525363, time = 46912293256352, x = 73, y = 0, x_root = 1433512679, y_root = 21845, state = 1643687107, is_hint = 85 'U', same_screen = 1433512918 }, xcrossing = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, root = 140737488341232, subwindow = 140737294525363, time = 46912293256352, x = 73, y = 0, x_root = 1433512679, y_root = 21845, mode = 1643687107, detail = 21845, same_screen = 1433512918, focus = 21845, state = 4085248344 }, xfocus = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, mode = -14096, detail = 32767 }, xexpose = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, x = -14096, y = 32767, width = -193829965, height = 32767, count = -1634517856 }, xgraphicsexpose = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, drawable = 3, x = -14096, y = 32767, width = -193829965, height = 32767, count = -1634517856, major_code = 10922, minor_code = 73 }, xnoexpose = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, drawable = 3, major_code = -14096, minor_code = 32767 }, xvisibility = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, state = -14096 }, xcreatewindow = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, parent = 3, window = 140737488341232, x = -193829965, y = 32767, width = -1634517856, height = 10922, border_width = 73, override_redirect = 0 }, xdestroywindow = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, event = 3, window = 140737488341232 }, xunmap = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, event = 3, window = 140737488341232, from_configure = -193829965 }, xmap = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, event = 3, window = 140737488341232, override_redirect = -193829965 }, xmaprequest = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, parent = 3, window = 140737488341232 }, xreparent = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, event = 3, window = 140737488341232, parent = 140737294525363, x = -1634517856, y = 10922, override_redirect = 73 }, xconfigure = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, event = 3, window = 140737488341232, x = -193829965, y = 32767, width = -1634517856, height = 10922, border_width = 73, above = 93824994093799, override_redirect = 1643687107 }, xgravity = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, event = 3, window = 140737488341232, x = -193829965, y = 32767 }, xresizerequest = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, width = -14096, height = 32767 }, xconfigurerequest = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, parent = 3, window = 140737488341232, x = -193829965, y = 32767, width = -1634517856, height = 10922, border_width = 73, above = 93824994093799, detail = 1643687107, value_mask = 93824994094038 }, xcirculate = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, event = 3, window = 140737488341232, place = -193829965 }, xcirculaterequest = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, parent = 3, window = 140737488341232, place = -193829965 }, xproperty = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, atom = 140737488341232, time = 140737294525363, state = -1634517856 }, xselectionclear = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, selection = 140737488341232, time = 140737294525363 }, xselectionrequest = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, owner = 3, requestor = 140737488341232, selection = 140737294525363, target = 46912293256352, property = 73, time = 93824994093799 }, xselection = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, requestor = 3, selection = 140737488341232, target = 140737294525363, property = 46912293256352, time = 73 }, xcolormap = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, colormap = 140737488341232, new = -193829965, state = 32767 }, xclient = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, message_type = 140737488341232, format = -193829965, data = { b = "\240<\223\236\252*\000\000I\000\000\000\000\000\000\000\347\252qU", s = {15520, -24941, 10922, 0, 73, 0, 0, 0, -21785, 21873}, l = {46912293256352, 73, 93824994093799, 93825204268227, 93824994094038} } }, xmapping = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, request = -14096, first_keycode = 32767, count = -193829965 }, xerror = { type = 1024, display = 0x55555571a5a2 <allocate_vectorlike+121>, resourceid = 3, serial = 3, error_code = 3 '\003', request_code = 0 '\000', minor_code = 0 '\000' }, xkeymap = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, window = 3, key_vector = "\360\310\377\377\377\177\000\000\263cr\364\377\177\000\000\240<\223\236\252*\000\000I\000\000\000\000\000\000" }, xgeneric = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, extension = 3, evtype = 0 }, xcookie = { type = 1024, serial = 93824994092450, send_event = 3, display = 0x3, extension = 3, evtype = 0, cookie = 4294953200, data = 0x7ffff47263b3 }, pad = {1024, 93824994092450, 3, 3, 3, 140737488341232, 140737294525363, 46912293256352, 73, 93824994093799, 93825204268227, 93824994094038, 140737278636376, 93824994094081, 2, 93825276290739, 140737298658507, 84000, 140737488341424, 140737488341464, 2, 2, 1184, 93824994233373} } property_atom = 0 dpyinfo = <optimized out> #14 0x00005555556099a3 in x_menu_show (f=0x555561123070, x=264, y=299, menuflags=2, title=0x555562678c64, error_name=<optimized out>) at xmenu.c:2092 i = <optimized out> wv = <optimized out> save_wv = <optimized out> first_wv = 0x555560517f50 prev_wv = <optimized out> submenu_stack = 0x7fffffffcb60 subprefix_stack = 0x7fffffffca40 submenu_depth = <optimized out> sa_avail = <optimized out> sa_count = { bytes = <optimized out> } specpdl_count = { bytes = <optimized out> } first_pane = <optimized out> #15 0x0000555555606e24 in x_popup_menu_1 (position=position <at> entry=0x55556643be63, menu=<optimized out>, menu <at> entry=0x55556643a633) at menu.c:1415 keymap = <optimized out> tem = <optimized out> tem2 = <optimized out> xpos = 264 ypos = 299 title = 0x555562678bc4 error_name = 0x0 selection = 0x0 f = 0x555561123070 x = 0x402 y = 0x4ae window = <optimized out> menuflags = 2 specpdl_count = { bytes = <optimized out> } #16 0x0000555555606fca in Fx_popup_menu (position=0x55556643be63, menu=0x55556643a633) at menu.c:1481 #17 0x000055555573d0e1 in eval_sub (form=<optimized out>) at eval.c:2595 i = 2 maxargs = 2 args_left = 0x0 numargs = 2 original_fun = <optimized out> original_args = 0x555560d67043 count = { bytes = <optimized out> } fun = 0x555555867505 <Sx_popup_menu+5> val = <optimized out> funcar = <optimized out> argvals = {0x55556643be63, 0x55556643a633, 0xa, 0x5555626789b4, 0x6, 0x2, 0x7ffff37ff190, 0x555561f8ae63} retry = <optimized out> #18 0x000055555573e4f1 in Flet (args=0x555560d66f73) at eval.c:1094 temps = 0x7fffffffcf00 tem = <optimized out> lexenv = <optimized out> elt = 0x555560d67023 count = { bytes = 992 } argnum = 0 sa_avail = <optimized out> sa_count = { bytes = 992 } varlist = 0x0 varlist_len = 1 nvars = 1 #19 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66f73 numargs = 2 original_fun = 0xc1e0 original_args = 0x555560d66f73 count = { bytes = <optimized out> } fun = 0x555555874f05 <Slet+5> val = <optimized out> funcar = <optimized out> argvals = {0x1, 0x555555875440 <Sor>, 0x7ffff43c7b75, 0x0, 0x7fffffffd040, 0x380, 0x1, 0x7fffffffcfe0} retry = <optimized out> #20 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #21 0x000055555573ddad in Fif (args=<optimized out>) at eval.c:395 cond = <optimized out> #22 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d673f3 numargs = 3 original_fun = 0xab30 original_args = 0x555560d673f3 count = { bytes = <optimized out> } fun = 0x5555558753c5 <Sif+5> val = <optimized out> funcar = <optimized out> argvals = {0xb460, 0x5555557294ef <set_internal+906>, 0x1716151413121110, 0x1f1e1d1c1b1a1918, 0x2726252423222120, 0x2f2e2d2c2b2a2928, 0x3736353433323130, 0x5555558fb880 <lispsym+46176>} retry = <optimized out> #23 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #24 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 var = <optimized out> val = <optimized out> elt = <optimized out> lexenv = 0x55556643b8b3 count = { bytes = <optimized out> } varlist = 0x0 #25 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66f33 numargs = 2 original_fun = 0xc210 original_args = 0x555560d66f33 count = { bytes = <optimized out> } fun = 0x555555874f45 <SletX+5> val = <optimized out> funcar = <optimized out> argvals = {0xb460, 0x5555557294ef <set_internal+906>, 0x7fffffffd230, 0x202, 0x7fffffffd2a0, 0x320, 0x7ffff4184b9d, 0x5555558fb880 <lispsym+46176>} retry = <optimized out> #26 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #27 0x000055555573e5df in Flet (args=0x555560d66f03) at /home/viz/lib/ports/emacs/src/lisp.h:1510 temps = 0x7fffffffd220 tem = <optimized out> lexenv = 0x55556643b8b3 elt = <optimized out> count = { bytes = 832 } argnum = <optimized out> sa_avail = <optimized out> sa_count = { bytes = 832 } varlist = <optimized out> varlist_len = <optimized out> nvars = <optimized out> #28 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66f03 numargs = 2 original_fun = 0xc1e0 original_args = 0x555560d66f03 count = { bytes = <optimized out> } fun = 0x555555874f05 <Slet+5> val = <optimized out> funcar = <optimized out> argvals = {0x300, 0x55555573cc1d <eval_sub+114>, 0x7fffffffd420, 0x55555571b666 <Flist+36>, 0xfffffff7ffffffeb, 0x1, 0x7ffff37ff0e8, 0x55555577a36c <exec_byte_code+316>} retry = <optimized out> #29 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #30 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66ed3 numargs = 2 original_fun = 0xf750 original_args = 0x555560d66ed3 count = { bytes = <optimized out> } fun = 0x555555875345 <Sprogn+5> val = <optimized out> funcar = <optimized out> argvals = {0x7fffffffd388, 0x555555872680 <Scdr_safe>, 0x55556643ba53, 0x2c0, 0x7ffff4184b9d, 0x7fffffffd420, 0x2e0, 0x5555558fb880 <lispsym+46176>} retry = <optimized out> #31 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #32 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 var = <optimized out> val = <optimized out> elt = <optimized out> lexenv = 0x55556643b973 count = { bytes = <optimized out> } varlist = 0x0 #33 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66ea3 numargs = 2 original_fun = 0xc210 original_args = 0x555560d66ea3 count = { bytes = <optimized out> } fun = 0x555555874f45 <SletX+5> val = <optimized out> funcar = <optimized out> argvals = {0x2a0, 0x55555573cc1d <eval_sub+114>, 0x7fffffffd600, 0x55555571b666 <Flist+36>, 0x4a, 0x1, 0x7ffff37ff0e8, 0x55555577a36c <exec_byte_code+316>} retry = <optimized out> #34 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #35 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66e73 numargs = 2 original_fun = 0xf750 original_args = 0x555560d66e73 count = { bytes = <optimized out> } fun = 0x555555875345 <Sprogn+5> val = <optimized out> funcar = <optimized out> argvals = {0x7fffffffd568, 0x555555872680 <Scdr_safe>, 0x55556643ba43, 0x260, 0x7ffff4184b9d, 0x7fffffffd600, 0x280, 0x5555558fb880 <lispsym+46176>} retry = <optimized out> #36 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #37 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 var = <optimized out> val = <optimized out> elt = <optimized out> lexenv = 0x55556643b9c3 count = { bytes = <optimized out> } varlist = 0x0 #38 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66e43 numargs = 2 original_fun = 0xc210 original_args = 0x555560d66e43 count = { bytes = <optimized out> } fun = 0x555555874f45 <SletX+5> val = <optimized out> funcar = <optimized out> argvals = {0x240, 0x55555573cc1d <eval_sub+114>, 0x7fffffffd7e0, 0x55555571b666 <Flist+36>, 0x13ae5, 0x1, 0x7ffff37ff0e8, 0x55555577a36c <exec_byte_code+316>} retry = <optimized out> #39 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #40 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66e13 numargs = 2 original_fun = 0xf750 original_args = 0x555560d66e13 count = { bytes = <optimized out> } fun = 0x555555875345 <Sprogn+5> val = <optimized out> funcar = <optimized out> argvals = {0x7fffffffd748, 0x555555872680 <Scdr_safe>, 0x55556643ba33, 0x200, 0x7ffff4184b9d, 0x7fffffffd7e0, 0x220, 0x5555558fb880 <lispsym+46176>} retry = <optimized out> #41 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #42 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 var = <optimized out> val = <optimized out> elt = <optimized out> lexenv = 0x55556643ba13 count = { bytes = <optimized out> } varlist = 0x0 #43 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66de3 numargs = 2 original_fun = 0xc210 original_args = 0x555560d66de3 count = { bytes = <optimized out> } fun = 0x555555874f45 <SletX+5> val = <optimized out> funcar = <optimized out> argvals = {0x7ffff37ff120, 0x0, 0x7fffffffd900, 0x1c0, 0x1, 0x7fffffffd8a0, 0x1e0, 0x55555573e2c9 <apply_lambda+197>} retry = <optimized out> #44 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #45 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66db3 numargs = 2 original_fun = 0xf750 original_args = 0x555560d66db3 count = { bytes = <optimized out> } fun = 0x555555875345 <Sprogn+5> val = <optimized out> funcar = <optimized out> argvals = {0xb460, 0x5555557294ef <set_internal+906>, 0x7fffffffda20, 0x1a0, 0x55555e5da00d, 0x7fffffffd9c0, 0x1c0, 0x5555558fb880 <lispsym+46176>} retry = <optimized out> #46 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #47 0x000055555573e8ae in FletX (args=<optimized out>) at /home/viz/lib/ports/emacs/src/lisp.h:1510 var = <optimized out> val = <optimized out> elt = <optimized out> lexenv = 0x55556643bab3 count = { bytes = <optimized out> } varlist = 0x0 #48 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66d83 numargs = 2 original_fun = 0xc210 original_args = 0x555560d66d83 count = { bytes = <optimized out> } fun = 0x555555874f45 <SletX+5> val = <optimized out> funcar = <optimized out> argvals = {0x0, 0x0, 0x160, 0x55555571a6de <allocate_pseudovector+60>, 0x555561370648, 0x13b0a, 0x13aea, 0xffff} retry = <optimized out> #49 0x000055555573d6f8 in Fprogn (body=<optimized out>, body <at> entry=0x555560d66d53) at eval.c:439 form = <optimized out> val = 0x0 #50 0x000055555572be81 in Fsave_excursion (args=0x555560d66d53) at editfns.c:839 val = <optimized out> count = { bytes = <optimized out> } #51 0x000055555573cef1 in eval_sub (form=<optimized out>) at eval.c:2543 args_left = 0x555560d66d53 numargs = 4 original_fun = 0x10560 original_args = 0x555560d66d53 count = { bytes = <optimized out> } fun = 0x555555874185 <Ssave_excursion+5> val = <optimized out> funcar = <optimized out> argvals = {0xb460, 0x5555557294ef <set_internal+906>, 0x1, 0x555555729160 <set_default_internal+617>, 0x555555809fa8, 0xae90, 0x55556137064d, 0x5555558fb880 <lispsym+46176>} retry = <optimized out> #52 0x000055555573d6f8 in Fprogn (body=<optimized out>) at eval.c:439 form = <optimized out> val = 0x0 #53 0x000055555573da1b in funcall_lambda (fun=<optimized out>, nargs=nargs <at> entry=1, arg_vector=arg_vector <at> entry=0x7fffffffddb0) at eval.c:3344 syms_left = 0x0 lexenv = 0x55556643bab3 count = { bytes = <optimized out> } i = <optimized out> optional = <optimized out> rest = <optimized out> previous_rest = <optimized out> val = <optimized out> #54 0x000055555573db5f in funcall_general (fun=<optimized out>, numargs=numargs <at> entry=1, args=args <at> entry=0x7fffffffddb0) at eval.c:3038 original_fun = 0xd2cc6b0 #55 0x000055555573a0b7 in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0x7fffffffdda8) at eval.c:3087 count = { bytes = <optimized out> } val = <optimized out> #56 0x00005555557363c0 in Ffuncall_interactively (nargs=2, args=0x7fffffffdda8) at callint.c:250 speccount = { bytes = <optimized out> } #57 0x000055555573bf1f in funcall_subr (subr=<optimized out>, numargs=numargs <at> entry=2, args=args <at> entry=0x7fffffffdda8) at eval.c:3178 maxargs = <optimized out> fun = <optimized out> #58 0x000055555573db50 in funcall_general (fun=<optimized out>, numargs=numargs <at> entry=2, args=args <at> entry=0x7fffffffdda8) at /home/viz/lib/ports/emacs/src/lisp.h:2230 original_fun = 0x9600 #59 0x000055555573a0b7 in Ffuncall (nargs=nargs <at> entry=3, args=args <at> entry=0x7fffffffdda0) at eval.c:3087 count = { bytes = <optimized out> } val = <optimized out> #60 0x0000555555737cfe in Fcall_interactively (function=<optimized out>, record_flag=<optimized out>, keys=<optimized out>) at callint.c:789 speccount = { bytes = <optimized out> } arg_from_tty = <optimized out> key_count = <optimized out> record_then_fail = <optimized out> save_this_command = <optimized out> save_this_original_command = <optimized out> save_real_this_command = <optimized out> save_last_command = <optimized out> prefix_arg = <optimized out> enable = <optimized out> up_event = <optimized out> form = <optimized out> specs = <optimized out> sa_avail = <optimized out> sa_count = { bytes = <optimized out> } string_len = <optimized out> string = <optimized out> string_end = <optimized out> next_event = <optimized out> nargs = <optimized out> args = <optimized out> visargs = <optimized out> varies = <optimized out> tem = <optimized out> val = <optimized out> #61 0x000055555573be5b in funcall_subr (subr=<optimized out>, numargs=numargs <at> entry=3, args=args <at> entry=0x7ffff37ff070) at eval.c:3159 argbuf = {0xd2cc6b0, 0x0, 0x7080, 0x0, 0xd2cc6b0, 0x7080, 0x0, 0x5555557495d8 <Fget+173>} a = <optimized out> maxargs = <optimized out> fun = <optimized out> #62 0x000055555577a979 in exec_byte_code (fun=<optimized out>, fun <at> entry=0x7ffff49dfe65, args_template=<optimized out>, args_template <at> entry=1025, nargs=<optimized out>, nargs <at> entry=1, args=<optimized out>, args <at> entry=0x7fffffffe2d8) at /home/viz/lib/ports/emacs/src/lisp.h:2230 call_nargs = 3 call_fun = <optimized out> count1 = { bytes = <optimized out> } val = <optimized out> call_args = 0x7ffff37ff070 original_fun = 0x2aaa9e96fb88 op = 3 type = <optimized out> targets = {0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb4a <exec_byte_code+10522>, 0x55555577cb4c <exec_byte_code+10524>, 0x55555577cb83 <exec_byte_code+10579>, 0x55555577cb85 <exec_byte_code+10581>, 0x55555577cb4c <exec_byte_code+10524>, 0x55555577cb87 <exec_byte_code+10583>, 0x55555577cbc2 <exec_byte_code+10642>, 0x55555577a442 <exec_byte_code+530>, 0x55555577a444 <exec_byte_code+532>, 0x55555577a49c <exec_byte_code+620>, 0x55555577a49e <exec_byte_code+622>, 0x55555577a4a0 <exec_byte_code+624>, 0x55555577a444 <exec_byte_code+532>, 0x55555577a4a2 <exec_byte_code+626>, 0x55555577a42f <exec_byte_code+511>, 0x55555577a6af <exec_byte_code+1151>, 0x55555577a6b1 <exec_byte_code+1153>, 0x55555577a715 <exec_byte_code+1253>, 0x55555577a717 <exec_byte_code+1255>, 0x55555577a719 <exec_byte_code+1257>, 0x55555577a6b1 <exec_byte_code+1153>, 0x55555577a72e <exec_byte_code+1278>, 0x55555577a71b <exec_byte_code+1259>, 0x55555577a78c <exec_byte_code+1372>, 0x55555577a78e <exec_byte_code+1374>, 0x55555577a7dd <exec_byte_code+1453>, 0x55555577a7df <exec_byte_code+1455>, 0x55555577a7e1 <exec_byte_code+1457>, 0x55555577a78e <exec_byte_code+1374>, 0x55555577a76f <exec_byte_code+1343>, 0x55555577a779 <exec_byte_code+1353>, 0x55555577a800 <exec_byte_code+1488>, 0x55555577a802 <exec_byte_code+1490>, 0x55555577a97e <exec_byte_code+1870>, 0x55555577a983 <exec_byte_code+1875>, 0x55555577a988 <exec_byte_code+1880>, 0x55555577a802 <exec_byte_code+1490>, 0x55555577a7e3 <exec_byte_code+1459>, 0x55555577a7ed <exec_byte_code+1469>, 0x55555577aa9e <exec_byte_code+2158>, 0x55555577aaa0 <exec_byte_code+2160>, 0x55555577aae7 <exec_byte_code+2231>, 0x55555577aae9 <exec_byte_code+2233>, 0x55555577aaeb <exec_byte_code+2235>, 0x55555577aaa0 <exec_byte_code+2160>, 0x55555577aa81 <exec_byte_code+2129>, 0x55555577aa8b <exec_byte_code+2139>, 0x55555577afd7 <exec_byte_code+3495>, 0x55555577af50 <exec_byte_code+3360>, 0x55555577aec8 <exec_byte_code+3224>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577b148 <exec_byte_code+3864>, 0x55555577b1f6 <exec_byte_code+4038>, 0x55555577b26c <exec_byte_code+4156>, 0x55555577b2ac <exec_byte_code+4220>, 0x55555577b2ec <exec_byte_code+4284>, 0x55555577a566 <exec_byte_code+822>, 0x55555577a614 <exec_byte_code+996>, 0x55555577b332 <exec_byte_code+4354>, 0x55555577a509 <exec_byte_code+729>, 0x55555577a652 <exec_byte_code+1058>, 0x55555577b361 <exec_byte_code+4401>, 0x55555577b39f <exec_byte_code+4463>, 0x55555577b3cc <exec_byte_code+4508>, 0x55555577b40a <exec_byte_code+4570>, 0x55555577b445 <exec_byte_code+4629>, 0x55555577b4c7 <exec_byte_code+4759>, 0x55555577b4f4 <exec_byte_code+4804>, 0x55555577b5d0 <exec_byte_code+5024>, 0x55555577b6b3 <exec_byte_code+5251>, 0x55555577b6e0 <exec_byte_code+5296>, 0x55555577b70d <exec_byte_code+5341>, 0x55555577b74b <exec_byte_code+5403>, 0x55555577b789 <exec_byte_code+5465>, 0x55555577b7c7 <exec_byte_code+5527>, 0x55555577b809 <exec_byte_code+5593>, 0x55555577b841 <exec_byte_code+5649>, 0x55555577b879 <exec_byte_code+5705>, 0x55555577b8f4 <exec_byte_code+5828>, 0x55555577b94d <exec_byte_code+5917>, 0x55555577b9a6 <exec_byte_code+6006>, 0x55555577ba0e <exec_byte_code+6110>, 0x55555577ba7e <exec_byte_code+6222>, 0x55555577baee <exec_byte_code+6334>, 0x55555577bb5e <exec_byte_code+6446>, 0x55555577bbce <exec_byte_code+6558>, 0x55555577bc4a <exec_byte_code+6682>, 0x55555577bcae <exec_byte_code+6782>, 0x55555577bd2b <exec_byte_code+6907>, 0x55555577bd95 <exec_byte_code+7013>, 0x55555577bdff <exec_byte_code+7119>, 0x55555577bf6e <exec_byte_code+7486>, 0x55555577adbe <exec_byte_code+2958>, 0x55555577bfb6 <exec_byte_code+7558>, 0x55555577bfe3 <exec_byte_code+7603>, 0x55555577c058 <exec_byte_code+7720>, 0x55555577c0a0 <exec_byte_code+7792>, 0x55555577c0e8 <exec_byte_code+7864>, 0x55555577c115 <exec_byte_code+7909>, 0x55555577c145 <exec_byte_code+7957>, 0x55555577c175 <exec_byte_code+8005>, 0x55555577c1ad <exec_byte_code+8061>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577c1df <exec_byte_code+8111>, 0x55555577c20f <exec_byte_code+8159>, 0x55555577c23f <exec_byte_code+8207>, 0x55555577c26f <exec_byte_code+8255>, 0x55555577c29f <exec_byte_code+8303>, 0x55555577c2cf <exec_byte_code+8351>, 0x55555577adbe <exec_byte_code+2958>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577c2fc <exec_byte_code+8396>, 0x55555577c33f <exec_byte_code+8463>, 0x55555577c36c <exec_byte_code+8508>, 0x55555577c399 <exec_byte_code+8553>, 0x55555577c3d7 <exec_byte_code+8615>, 0x55555577c415 <exec_byte_code+8677>, 0x55555577c442 <exec_byte_code+8722>, 0x55555577c46f <exec_byte_code+8767>, 0x55555577c4ad <exec_byte_code+8829>, 0x55555577c4eb <exec_byte_code+8891>, 0x55555577c529 <exec_byte_code+8953>, 0x55555577c559 <exec_byte_code+9001>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577ad58 <exec_byte_code+2856>, 0x55555577aaed <exec_byte_code+2237>, 0x55555577a4ac <exec_byte_code+636>, 0x55555577ab79 <exec_byte_code+2377>, 0x55555577abd6 <exec_byte_code+2470>, 0x55555577ac2b <exec_byte_code+2555>, 0x55555577ac80 <exec_byte_code+2640>, 0x55555577ad35 <exec_byte_code+2821>, 0x55555577a741 <exec_byte_code+1297>, 0x55555577ad9c <exec_byte_code+2924>, 0x55555577adef <exec_byte_code+3007>, 0x55555577ae52 <exec_byte_code+3106>, 0x55555577ae83 <exec_byte_code+3155>, 0x55555577b007 <exec_byte_code+3543>, 0x55555577b05a <exec_byte_code+3626>, 0x55555577b09c <exec_byte_code+3692>, 0x55555577b0ea <exec_byte_code+3770>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577c586 <exec_byte_code+9046>, 0x55555577c5c8 <exec_byte_code+9112>, 0x55555577c5f5 <exec_byte_code+9157>, 0x55555577c622 <exec_byte_code+9202>, 0x55555577c64f <exec_byte_code+9247>, 0x55555577c67c <exec_byte_code+9292>, 0x55555577c6ba <exec_byte_code+9354>, 0x55555577c6f8 <exec_byte_code+9416>, 0x55555577c736 <exec_byte_code+9478>, 0x55555577c774 <exec_byte_code+9540>, 0x55555577c821 <exec_byte_code+9713>, 0x55555577c85f <exec_byte_code+9775>, 0x55555577c89d <exec_byte_code+9837>, 0x55555577c8ca <exec_byte_code+9882>, 0x55555577c930 <exec_byte_code+9984>, 0x55555577c994 <exec_byte_code+10084>, 0x55555577c9d2 <exec_byte_code+10146>, 0x55555577ca10 <exec_byte_code+10208>, 0x55555577be7f <exec_byte_code+7247>, 0x55555577bf05 <exec_byte_code+7381>, 0x55555577ca48 <exec_byte_code+10264>, 0x55555577cabd <exec_byte_code+10381>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577b484 <exec_byte_code+4692>, 0x55555577b8b1 <exec_byte_code+5761>, 0x55555577c015 <exec_byte_code+7653>, 0x55555577cc06 <exec_byte_code+10710>, 0x55555577cc49 <exec_byte_code+10777>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cc97 <exec_byte_code+10855>, 0x55555577cce3 <exec_byte_code+10931>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cb2d <exec_byte_code+10493>, 0x55555577cda2 <exec_byte_code+11122> <repeats 64 times>} quitcounter = 1 '\001' bc = 0x555555864b10 <main_thread+496> top = 0x7ffff37ff068 pc = 0x7ffff4b2102c "\006\a9\205\231" bytestr = <optimized out> vector = <optimized out> maxdepth = <optimized out> const_length = <optimized out> bytestr_length = <optimized out> vectorp = 0x7ffff49dfea8 max_stack = <optimized out> frame_base = <optimized out> fp = <optimized out> bytestr_data = <optimized out> rest = <optimized out> mandatory = <optimized out> nonrest = <optimized out> pushedargs = <optimized out> saved_quitcounter = 0 '\000' saved_vectorp = 0x5555557819fa <add_read_fd+17> saved_bytestr_data = 0x555555860040 <o_fwd> "\002" result = <optimized out> #63 0x000055555573d827 in funcall_lambda (fun=0x7ffff49dfe65, nargs=nargs <at> entry=1, arg_vector=arg_vector <at> entry=0x7fffffffe2d8) at eval.c:3246 syms_left = 0x1006 lexenv = <optimized out> count = { bytes = <optimized out> } i = <optimized out> optional = <optimized out> rest = <optimized out> previous_rest = <optimized out> val = <optimized out> #64 0x000055555573db5f in funcall_general (fun=<optimized out>, numargs=numargs <at> entry=1, args=args <at> entry=0x7fffffffe2d8) at eval.c:3038 original_fun = 0x5c10 #65 0x000055555573a0b7 in Ffuncall (nargs=nargs <at> entry=2, args=args <at> entry=0x7fffffffe2d0) at eval.c:3087 count = { bytes = <optimized out> } val = <optimized out> #66 0x00005555556cbd9f in command_loop_1 () at keyboard.c:1545 scount = { bytes = <optimized out> } cmd = <optimized out> keybuf = {0x55556643be63, 0x18a, 0x555555860270 <o_fwd>, 0x2, 0x11370, 0x5555557294ef <set_internal+906>, 0x1e, 0x2aaa9eeaf780, 0x7fffffffe2d8, 0x5555558edba0 <globals>, 0x0, 0x555555860270 <o_fwd>, 0x11370, 0x30, 0x2, 0x55556137064d, 0x4, 0x555555729160 <set_default_internal+617>, 0x555555809fa8, 0x11370, 0x55556137064d, 0x60, 0x0, 0x555555739cb7 <unbind_to+353>, 0x1e, 0x0, 0xb, 0x11370, 0x30, 0x55556137064d} i = <optimized out> last_pt = 80618 prev_modiff = 7157 prev_buffer = 0x555561370648 #67 0x0000555555738bc7 in internal_condition_case (bfun=bfun <at> entry=0x5555556cb6a8 <command_loop_1>, handlers=handlers <at> entry=0x90, hfun=hfun <at> entry=0x5555556bcc05 <cmd_error>) at eval.c:1620 val = <optimized out> c = 0x5555559badf0 #68 0x00005555556b7be3 in command_loop_2 (handlers=handlers <at> entry=0x90) at keyboard.c:1163 val = <optimized out> #69 0x0000555555738b05 in internal_catch (tag=tag <at> entry=0x124b0, func=func <at> entry=0x5555556b7bc0 <command_loop_2>, arg=arg <at> entry=0x90) at eval.c:1300 val = <optimized out> c = 0x5555559b9e90 #70 0x00005555556b7b9d in command_loop () at keyboard.c:1141 #71 0x00005555556bc814 in recursive_edit_1 () at keyboard.c:749 count = { bytes = <optimized out> } val = <optimized out> #72 0x00005555556bcb50 in Frecursive_edit () at keyboard.c:832 count = { bytes = <optimized out> } buffer = <optimized out> #73 0x00005555556b6fa9 in main (argc=4, argv=<optimized out>) at emacs.c:2582 stack_bottom_variable = 0x7ffff5fb3f47 <__libc_calloc+455> old_argc = <optimized out> no_loadup = false junk = 0x0 dname_arg = 0x7fffffffea1d "vz" ch_to_dir = 0x0 original_pwd = <optimized out> dump_mode = <optimized out> skip_args = 1 temacs = 0x0 attempt_load_pdump = <optimized out> only_version = false rlim = { rlim_cur = 10022912, rlim_max = 18446744073709551615 } lc_all = <optimized out> sockfd = -1 module_assertions = <optimized out> Lisp Backtrace: "x-popup-menu" (0xffffce70) "let" (0xffffcfd8) "if" (0xffffd098) "let*" (0xffffd1c8) "let" (0xffffd308) "progn" (0xffffd3b8) "let*" (0xffffd4e8) "progn" (0xffffd598) "let*" (0xffffd6c8) "progn" (0xffffd778) "let*" (0xffffd8a8) "progn" (0xffffd958) "let*" (0xffffda88) "save-excursion" (0xffffdb58) "vz/ispell-at-click" (0xffffddb0) "funcall-interactively" (0xffffdda8) "call-interactively" (0xf37ff070) "command-execute" (0xffffe2d8) In GNU Emacs 31.0.50 (build 49, x86_64-pc-linux-gnu, Motif Version 2.3.8, cairo version 1.18.4) of 2025-04-24 built on astatine Repository revision: 4b7816fc804813287e75544f8d016be6eca08873 Repository branch: master System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --with-sound=alsa --with-x-toolkit=motif --without-gsettings --without-gconf --without-libsystemd --with-cairo CFLAGS=-g3 CC=/usr/bin/gcc-13' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM XRANDR MOTIF ZLIB Important settings: value of $LC_MONETARY: ta_IN.UTF-8 value of $LC_NUMERIC: ta_IN.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: gpm-mouse-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t tab-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: linux auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort emacsbug lisp-mnt mail-extr cl-extra help-mode icons message sendmail mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader misearch multi-isearch ispell vc-git diff-mode track-changes easy-mmode vc vc-dispatcher bug-reference thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs files-x gdb-mi bindat byte-opt gv bytecomp byte-compile cl-seq cl-loaddefs cl-lib gud comint subr-x ansi-osc ansi-color ring t-mouse term/linux rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting cairo motif x-toolkit xinput2 x multi-tty move-toolbar make-network-process tty-child-frames emacs) Memory information: ((conses 16 121709 20177) (symbols 48 10603 0) (strings 32 31124 2325) (string-bytes 1 1156787) (vectors 16 15999) (vector-slots 8 142229 8837) (floats 8 39 399) (intervals 56 3836 140) (buffers 984 19))
bug-gnu-emacs <at> gnu.org
:bug#78110
; Package emacs
.
(Mon, 28 Apr 2025 12:51:04 GMT) Full text and rfc822 format available.Message #8 received at 78110 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Visuwesh <visuweshm <at> gmail.com>, Po Lu <luangruo <at> yahoo.com> Cc: 78110 <at> debbugs.gnu.org Subject: Re: bug#78110: 31.0.50; Segfault in XFindContext Date: Mon, 28 Apr 2025 15:50:25 +0300
> From: Visuwesh <visuweshm <at> gmail.com> > Date: Mon, 28 Apr 2025 16:30:08 +0530 > > I am not sure how I managed to trigger this segfault since I was trying > to copy some text to the kill-ring so it shouldn't have triggered the > popup menu but...here we are. The vz/ispell-at-click command presents a > popup menu of suggestions for the misspelt word: > > (defun vz/ispell-at-click (click) > "Check the spelling of the word at mouse click CLICK." > (interactive "@e") > (save-excursion > (mouse-set-point click) > (ispell-set-spellchecker-params) ; Initialize variables and dicts alists > (ispell-accept-buffer-local-defs) ; use the correct dictionary. > (pcase-let* ((`(,word ,beg ,end) (ispell-get-word ispell-following-word)) > (poss (ispell--run-on-word word))) > (if (or (eq poss t) (stringp poss)) > (message "%s is correct" (funcall ispell-format-word-function word)) > (let ((corr (x-popup-menu > click > (list (concat "Correction for " > (funcall ispell-format-word-function word)) > (cons "" > (mapcar (lambda (x) (cons x x)) > (nth 2 poss))))))) > (replace-region-contents beg end corr)))))) > > The build details in the bug report is the same as that for the > segfaulted Emacs. I generated the core file for the crashed Emacs so > hopefully I can provide more value out of the backtrace this time > around. For posterity, I am using Xfce. > > (gdb) bt > #0 0x00007ffff78d9474 in XFindContext () at /lib/x86_64-linux-gnu/libX11.so.6 > #1 0x00007ffff7bb29da in _XmRCColorHook () at /lib/x86_64-linux-gnu/libXm.so.4 > #2 0x00007ffff7d645e3 in ??? () at /lib/x86_64-linux-gnu/libXt.so.6 > #3 0x00007ffff7d6508d in ??? () at /lib/x86_64-linux-gnu/libXt.so.6 > #4 0x00007ffff7d654a0 in _XtCreateWidget () at /lib/x86_64-linux-gnu/libXt.so.6 > #5 0x00007ffff7d6574a in XtCreateWidget () at /lib/x86_64-linux-gnu/libXt.so.6 > #6 0x00007ffff7af8e6b in ??? () at /lib/x86_64-linux-gnu/libXm.so.4 > #7 0x00007ffff7afbd32 in XmCreatePopupMenu () at /lib/x86_64-linux-gnu/libXm.so.4 > #8 0x00005555557e3077 in make_popup_menu (instance=<optimized out>) at lwlib-Xm.c:1521 Po Lu, any ideas?
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.