* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" @ 2022-08-01 13:08 Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-02 1:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-01 13:08 UTC (permalink / raw) To: 56869 Hi, I’m not sure what has triggered the segfault, but it happens fairly predictably with the latest version of Emacs. I didn’t see anything like this when I was using the previous stable version, however. If I can provide further useful information please let me know. Note that xbacktrace doesn’t print anything. I’m running Emacs under the regolith WM (2.123-1focal), in case that’s relevant. joe@Proteus:~/emacs/src$ gdb emacs GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2 ... (gdb) source /home/joe/emacs/src/.gdbinit 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 TERM = xterm-256color Breakpoint 1 at 0x55555573899d: file emacs.c, line 420. Breakpoint 2 at 0x5555556f4c86: file xterm.c, line 23862. ... (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/joe/emacs/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff1406700 (LWP 2218237)] [New Thread 0x7ffff09fb700 (LWP 2218325)] [New Thread 0x7fffebf10700 (LWP 2218328)] [Detaching after vfork from child process 2218469] ... (emacs:2218133): Gdk-CRITICAL **: 13:45:08.589: gdk_device_get_n_axes: assertion 'GDK_IS_DEVICE (device)' failed (emacs:2218133): Gdk-CRITICAL **: 13:45:08.589: gdk_event_set_source_device: assertion 'GDK_IS_DEVICE (device)' failed Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00007ffff757464d in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 (gdb) bt full #0 0x00007ffff757464d in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #1 0x00007ffff757e989 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #2 0x00007ffff757e4cc in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #3 0x00007ffff75460e4 in gdk_display_get_event () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #4 0x00007ffff757e0e6 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #5 0x00007ffff6f5617d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007ffff6f56400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007ffff6f564a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007ffff78611d9 in gtk_main_iteration () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #9 0x00005555556f27eb in XTread_socket (terminal=0x55555627f368, hold_quit=0x7fffffffcb80) at xterm.c:22621 count = 0 event_found = false dpyinfo = 0x5555564ce400 #10 0x000055555574f5be in gobble_input () at keyboard.c:7327 nr = 32767 hold_quit = { kind = NO_EVENT, part = scroll_bar_nowhere, code = 0, modifiers = 0, x = XIL(0), y = XIL(0), timestamp = 0, frame_or_window = XIL(0), arg = XIL(0), device = XIL(0x30) } next = 0x0 nread = 0 err = false t = 0x55555627f368 --Type <RET> for more, q to quit, c to continue without paging--c #11 0x000055555574fa72 in handle_async_input () at keyboard.c:7558 nread = 21845 #12 0x000055555574fa95 in process_pending_signals () at keyboard.c:7572 #13 0x000055555574fad9 in unblock_input_to (level=0) at keyboard.c:7587 #14 0x000055555574fb01 in unblock_input () at keyboard.c:7606 #15 0x0000555555749261 in timer_check () at keyboard.c:4697 nexttime = { tv_sec = 0, tv_nsec = 140737488342240 } timers = XIL(0x5555630f0b33) idle_timers = XIL(0x5555630f0b63) tem = XIL(0) #16 0x0000555555746c62 in readable_events (flags=1) at keyboard.c:3484 #17 0x000055555574f463 in get_input_pending (flags=1) at keyboard.c:7277 #18 0x00005555557577bd in detect_input_pending_run_timers (do_display=true) at keyboard.c:10807 old_timers_run = 83601 #19 0x0000555555877f1d in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at process.c:5732 leave = false process_skipped = false wrapped = true channel_start = 18 child_fd = 14 last_read_channel = 17 channel = 1024 nfds = 1 Available = { fds_bits = {32, 0 <repeats 15 times>} } Writeok = { fds_bits = {0 <repeats 16 times>} } check_write = true check_delay = 1 no_avail = false xerrno = 11 proc = make_fixnum(0) timeout = { tv_sec = 0, tv_nsec = 0 } end_time = { tv_sec = 140737488342608, tv_nsec = 140737353935016 } timer_delay = { tv_sec = 0, tv_nsec = 93297538 } got_output_end_time = { tv_sec = 1659457908, tv_nsec = 526808075 } wait = FOREVER got_some_output = -1 prev_wait_proc_nbytes_read = 0 retry_for_async = false count = { bytes = 128 } now = { tv_sec = 0, tv_nsec = -1 } #20 0x0000555555747921 in kbd_buffer_get_event (kbp=0x7fffffffd268, used_mouse_menu=0x7fffffffd879, end_time=0x0) at keyboard.c:3963 do_display = true obj = make_fixnum(0) str = make_fixnum(0) had_pending_selection_requests = false #21 0x0000555555743532 in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffd680, used_mouse_menu=0x7fffffffd879) at keyboard.c:2230 c = XIL(0) save_jump = {{ __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = { __val = {0 <repeats 16 times>} } }} kb = 0x5555563b4cc0 count = { bytes = 96 } #22 0x000055555574385f in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffd680, prev_event=XIL(0), used_mouse_menu=0x7fffffffd879) at keyboard.c:2294 nextevt = XIL(0) frame = 0xad74c84ac4438e00 terminal = 0x0 events = {XIL(0), XIL(0x2d0c70b), XIL(0), XIL(0xffffffffffffffff), XIL(0), XIL(0x555555d54d80), XIL(0), XIL(0), XIL(0x7fffffffd448), XIL(0x55555573d5d5), XIL(0x9210), XIL(0x7fffffffd470), XIL(0x5555557409b1), XIL(0x5555630f1a33), XIL(0), XIL(0)} n = 0 #23 0x0000555555745209 in read_char (commandflag=1, map=XIL(0x555565e41983), prev_event=XIL(0), used_mouse_menu=0x7fffffffd879, end_time=0x0) at keyboard.c:2924 c = XIL(0) local_getcjmp = {{ __jmpbuf = {0, -1990705257743999615, 93825227440109, 48, 0, 0, -1990705257385386623, -5689509733278245503}, __mask_was_saved = 0, __saved_mask = { __val = {140737488344800, 93824995056204, 1473333584, 140737488344912, 93824995096141, 93825270028691, 96, 93825270028707, 0, 140737488344912, 93824994842298, 93825000623488, 0, 0, 12498835089305865728, 93824994362817} } }} save_jump = {{ __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = { __val = {0 <repeats 16 times>} } }} tem = XIL(0x2aaa9c0fd850) save = XIL(0) previous_echo_area_message = XIL(0) also_record = XIL(0) reread = false recorded = false polling_stopped_here = true orig_kboard = 0x5555563b4cc0 jmpcount = { bytes = 96 } #24 0x0000555555755ba3 in read_key_sequence (keybuf=0x7fffffffdab0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9984 interrupted_kboard = 0x5555563b4cc0 interrupted_frame = 0x55555666e278 key = XIL(0x7fffffffda18) used_mouse_menu = false echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 new_binding = XIL(0xffffffffffffffff) count = { bytes = 96 } t = 0 echo_start = 0 keys_start = 0 current_binding = XIL(0x555565e41983) first_unbound = 31 mock_input = 0 used_mouse_menu_history = {false <repeats 30 times>} fkey = { parent = XIL(0x5555563086f3), map = XIL(0x5555563086f3), start = 0, end = 0 } keytran = { parent = XIL(0x7ffff25688cb), map = XIL(0x7ffff25688cb), start = 0, end = 0 } indec = { parent = XIL(0x5555563086e3), map = XIL(0x5555563086e3), start = 0, end = 0 } shift_translated = false delayed_switch_frame = XIL(0) original_uppercase = XIL(0) original_uppercase_position = -1 dummyflag = false starting_buffer = 0x555563331430 fake_prefixed_keys = XIL(0) first_event = XIL(0) second_event = XIL(0) #25 0x0000555555740e2e in command_loop_1 () at keyboard.c:1382 cmd = XIL(0x11addf0) keybuf = {make_fixnum(13), make_fixnum(19), XIL(0), XIL(0x60), XIL(0), XIL(0), XIL(0xb), XIL(0xe4c0), XIL(0x30), XIL(0x55555fd4078d), XIL(0), XIL(0xad74c84ac4438e00), XIL(0x55555573d5d5), XIL(0x30), XIL(0x555555d54d80), XIL(0), XIL(0), XIL(0x60), XIL(0x7fffffffdb50), XIL(0x555555ccaf00), XIL(0x7fffffffdb90), XIL(0x555555809da1), XIL(0x100000000), XIL(0x90), XIL(0x7fffffffdb00), XIL(0x555555e4b020), XIL(0), make_fixnum(0), XIL(0x7fffffffdbc0), XIL(0x555555809c8c)} i = 1 prev_modiff = 39530 prev_buffer = 0x555563331430 already_adjusted = false #26 0x000055555580995a in internal_condition_case (bfun=0x555555740a30 <command_loop_1>, handlers=XIL(0x90), hfun=0x55555573fff9 <cmd_error>) at eval.c:1485 val = XIL(0x55555573d5d5) c = 0x555555e4b020 #27 0x00005555557406d1 in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1132 val = make_fixnum(0) #28 0x0000555555808f63 in internal_catch (tag=XIL(0xf360), func=0x5555557406a6 <command_loop_2>, arg=XIL(0x90)) at eval.c:1208 val = XIL(0x51200000000) c = 0x555555e4aee0 #29 0x0000555555740661 in command_loop () at keyboard.c:1110 #30 0x000055555573fb82 in recursive_edit_1 () at keyboard.c:719 count = { bytes = 32 } val = XIL(0x55555580ef04) #31 0x000055555573fd34 in Frecursive_edit () at keyboard.c:802 count = { bytes = 0 } buffer = XIL(0) #32 0x000055555573bea4 in main (argc=1, argv=0x7fffffffdf58) at emacs.c:2517 stack_bottom_variable = 0x5b0000006e no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = 0x0 dump_mode = 0x0 skip_args = 0 temacs = 0x0 attempt_load_pdump = true only_version = false rlim = { rlim_cur = 10022912, rlim_max = 18446744073709551615 } lc_all = 0x0 sockfd = -1 module_assertions = false (gdb) xbacktrace (gdb) In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-07-27 built on Proteus Repository revision: de863f70aa905d3a7feaedb58b65bd7f9776853b Repository branch: master System Description: Ubuntu 20.04.4 LTS Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: mu4e:main Minor modes in effect: disable-mouse-global-mode: t sow-mode: t pdf-occur-global-minor-mode: t recentf-mode: t projectile-mode: t helm-cider-mode: t helm-mode: t helm-minibuffer-history-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t helm-autoresize-mode: t helm--remap-mouse-mode: t async-bytecomp-package-mode: t org-roam-mode: t shell-dirtrack-mode: t global-command-log-mode: t command-log-mode: t display-time-mode: t feebleline-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-quote-mode: t electric-indent-mode: t file-name-shadow-mode: t global-font-lock-mode: t window-divider-mode: t buffer-read-only: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t overwrite-mode: overwrite-mode-binary Load-path shadows: /home/joe/.emacs.d/elpa/modus-operandi-theme-20201114.729/modus-operandi-theme hides /home/joe/.emacs.d/elpa/modus-themes-20220714.1115/modus-operandi-theme /home/joe/.emacs.d/elpa/modus-vivendi-theme-0.13.2/modus-vivendi-theme hides /home/joe/.emacs.d/elpa/modus-themes-20220714.1115/modus-vivendi-theme ~/org-mode/lisp/ob-hledger hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-hledger ~/org-mode/lisp/ob-J hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-J ~/org-mode/lisp/ob-abc hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-abc ~/org-mode/lisp/ob-picolisp hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-picolisp ~/org-mode/lisp/ob-io hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-io ~/org-mode/lisp/ob-ledger hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-ledger ~/org-mode/lisp/ob-asymptote hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-asymptote ~/org-mode/lisp/ob-vala hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-vala ~/org-mode/lisp/ob-shen hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-shen ~/org-mode/lisp/ob-ebnf hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-ebnf ~/org-mode/lisp/ob-coq hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-coq ~/org-mode/lisp/ob-mscgen hides /home/joe/.emacs.d/elpa/org-contrib-0.4/ob-mscgen ~/org-ref/org-ref-scifinder hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-scifinder ~/org-ref/org-ref hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref ~/org-ref/org-ref-arxiv hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-arxiv ~/org-ref/org-ref-pgk hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-pgk ~/org-ref/doi-utils hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/doi-utils ~/org-ref/org-ref-bibtex hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-bibtex ~/org-ref/org-ref-core hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-core ~/org-ref/org-ref-sci-id hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-sci-id ~/org-ref/org-ref-scopus hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-scopus ~/org-ref/org-ref-wos hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-wos ~/org-ref/org-ref-ivy hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-ivy ~/org-ref/x2bib hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/x2bib ~/org-ref/org-ref-pubmed hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-pubmed ~/org-ref/org-ref-glossary hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-glossary ~/org-ref/org-ref-worldcat hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-worldcat ~/org-ref/org-ref-pdf hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-pdf ~/org-ref/org-ref-utils hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-utils ~/org-ref/org-ref-latex hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-latex ~/org-ref/org-ref-helm hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-helm ~/org-ref/org-ref-isbn hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-isbn ~/org-ref/nist-webbook hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/nist-webbook ~/org-ref/org-ref-url-utils hides /home/joe/.emacs.d/elpa/org-ref-20220715.1202/org-ref-url-utils /home/joe/.emacs.d/lisp/org-roam-v1/org-roam-dailies hides /home/joe/.emacs.d/elpa/org-roam-20220621.527/org-roam-dailies /home/joe/.emacs.d/lisp/org-roam-v1/org-roam-protocol hides /home/joe/.emacs.d/elpa/org-roam-20220621.527/org-roam-protocol /home/joe/.emacs.d/lisp/org-roam-v1/org-roam hides /home/joe/.emacs.d/elpa/org-roam-20220621.527/org-roam /home/joe/.emacs.d/lisp/org-roam-v1/org-roam-capture hides /home/joe/.emacs.d/elpa/org-roam-20220621.527/org-roam-capture /home/joe/.emacs.d/lisp/org-roam-v1/org-roam-db hides /home/joe/.emacs.d/elpa/org-roam-20220621.527/org-roam-db /home/joe/.emacs.d/lisp/org-roam-v1/org-roam-compat hides /home/joe/.emacs.d/elpa/org-roam-20220621.527/org-roam-compat /home/joe/.emacs.d/lisp/org-roam-v1/org-roam-graph hides /home/joe/.emacs.d/elpa/org-roam-20220621.527/org-roam-graph /home/joe/.emacs.d/elpa/lispy-20220209.1138/elpa hides /home/joe/.emacs.d/elpa/ivy-20220529.1130/elpa ~/mu/mu4e/mu4e-main hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-main ~/mu/mu4e/org-mu4e hides /usr/local/share/emacs/site-lisp/mu4e/org-mu4e ~/mu/mu4e/mu4e-context hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-context ~/mu/mu4e/mu4e-meta hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-meta ~/mu/mu4e/mu4e-speedbar hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-speedbar ~/mu/mu4e/mu4e-headers hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-headers ~/mu/mu4e/mu4e hides /usr/local/share/emacs/site-lisp/mu4e/mu4e ~/mu/mu4e/mu4e-contrib hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-contrib ~/mu/mu4e/mu4e-view hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-view ~/mu/mu4e/mu4e-org hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-org ~/mu/mu4e/mu4e-compose hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-compose ~/mu/mu4e/mu4e-message hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-message ~/mu/mu4e/mu4e-lists hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-lists ~/mu/mu4e/mu4e-utils hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-utils ~/mu/mu4e/mu4e-icalendar hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-icalendar ~/mu/mu4e/mu4e-mark hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-mark ~/mu/mu4e/mu4e-vars hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-vars ~/mu/mu4e/mu4e-proc hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-proc ~/mu/mu4e/mu4e-actions hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-actions ~/mu/mu4e/mu4e-draft hides /usr/local/share/emacs/site-lisp/mu4e/mu4e-draft /home/joe/.emacs.d/elpa/transient-20220527.2213/transient hides /home/joe/emacs/lisp/transient ~/org-mode/lisp/org-entities hides /home/joe/emacs/lisp/org/org-entities ~/org-mode/lisp/ox-beamer hides /home/joe/emacs/lisp/org/ox-beamer ~/org-mode/lisp/oc-biblatex hides /home/joe/emacs/lisp/org/oc-biblatex ~/org-mode/lisp/ob-table hides /home/joe/emacs/lisp/org/ob-table ~/org-mode/lisp/oc-natbib hides /home/joe/emacs/lisp/org/oc-natbib ~/org-mode/lisp/ob-python hides /home/joe/emacs/lisp/org/ob-python ~/org-mode/lisp/oc-csl hides /home/joe/emacs/lisp/org/oc-csl ~/org-mode/lisp/ol-doi hides /home/joe/emacs/lisp/org/ol-doi ~/org-mode/lisp/ob-js hides /home/joe/emacs/lisp/org/ob-js ~/org-mode/lisp/ob-ruby hides /home/joe/emacs/lisp/org/ob-ruby ~/org-mode/lisp/org-duration hides /home/joe/emacs/lisp/org/org-duration ~/org-mode/lisp/ob-org hides /home/joe/emacs/lisp/org/ob-org ~/org-mode/lisp/ob-haskell hides /home/joe/emacs/lisp/org/ob-haskell ~/org-mode/lisp/org-version hides /home/joe/emacs/lisp/org/org-version ~/org-mode/lisp/ob-tangle hides /home/joe/emacs/lisp/org/ob-tangle ~/org-mode/lisp/ox-latex hides /home/joe/emacs/lisp/org/ox-latex ~/org-mode/lisp/org-table hides /home/joe/emacs/lisp/org/org-table ~/org-mode/lisp/org-crypt hides /home/joe/emacs/lisp/org/org-crypt ~/org-mode/lisp/org-refile hides /home/joe/emacs/lisp/org/org-refile ~/org-mode/lisp/ob-forth hides /home/joe/emacs/lisp/org/ob-forth ~/org-mode/lisp/ox-odt hides /home/joe/emacs/lisp/org/ox-odt ~/org-mode/lisp/ob-eshell hides /home/joe/emacs/lisp/org/ob-eshell ~/org-mode/lisp/org-pcomplete hides /home/joe/emacs/lisp/org/org-pcomplete ~/org-mode/lisp/ob-maxima hides /home/joe/emacs/lisp/org/ob-maxima ~/org-mode/lisp/org-archive hides /home/joe/emacs/lisp/org/org-archive ~/org-mode/lisp/ox-publish hides /home/joe/emacs/lisp/org/ox-publish ~/org-mode/lisp/org-attach-git hides /home/joe/emacs/lisp/org/org-attach-git ~/org-mode/lisp/org-goto hides /home/joe/emacs/lisp/org/org-goto ~/org-mode/lisp/ob-sqlite hides /home/joe/emacs/lisp/org/ob-sqlite ~/org-mode/lisp/ox-man hides /home/joe/emacs/lisp/org/ox-man ~/org-mode/lisp/ob-fortran hides /home/joe/emacs/lisp/org/ob-fortran ~/org-mode/lisp/org-compat hides /home/joe/emacs/lisp/org/org-compat ~/org-mode/lisp/ol-rmail hides /home/joe/emacs/lisp/org/ol-rmail ~/org-mode/lisp/ol-eshell hides /home/joe/emacs/lisp/org/ol-eshell ~/org-mode/lisp/ob-lob hides /home/joe/emacs/lisp/org/ob-lob ~/org-mode/lisp/org-attach hides /home/joe/emacs/lisp/org/org-attach ~/org-mode/lisp/org-mobile hides /home/joe/emacs/lisp/org/org-mobile ~/org-mode/lisp/ox hides /home/joe/emacs/lisp/org/ox ~/org-mode/lisp/ob-plantuml hides /home/joe/emacs/lisp/org/ob-plantuml ~/org-mode/lisp/ob-makefile hides /home/joe/emacs/lisp/org/ob-makefile ~/org-mode/lisp/ob-ref hides /home/joe/emacs/lisp/org/ob-ref ~/org-mode/lisp/ox-org hides /home/joe/emacs/lisp/org/ox-org ~/org-mode/lisp/ob-lisp hides /home/joe/emacs/lisp/org/ob-lisp ~/org-mode/lisp/ol-mhe hides /home/joe/emacs/lisp/org/ol-mhe ~/org-mode/lisp/ob-octave hides /home/joe/emacs/lisp/org/ob-octave ~/org-mode/lisp/ox-koma-letter hides /home/joe/emacs/lisp/org/ox-koma-letter ~/org-mode/lisp/ox-texinfo hides /home/joe/emacs/lisp/org/ox-texinfo ~/org-mode/lisp/ob-matlab hides /home/joe/emacs/lisp/org/ob-matlab ~/org-mode/lisp/org-tempo hides /home/joe/emacs/lisp/org/org-tempo ~/org-mode/lisp/org-install hides /home/joe/emacs/lisp/org/org-install ~/org-mode/lisp/ob-shell hides /home/joe/emacs/lisp/org/ob-shell ~/org-mode/lisp/ob-C hides /home/joe/emacs/lisp/org/ob-C ~/org-mode/lisp/org-faces hides /home/joe/emacs/lisp/org/org-faces ~/org-mode/lisp/oc-basic hides /home/joe/emacs/lisp/org/oc-basic ~/org-mode/lisp/ol-irc hides /home/joe/emacs/lisp/org/ol-irc ~/org-mode/lisp/ob-lilypond hides /home/joe/emacs/lisp/org/ob-lilypond ~/org-mode/lisp/org-plot hides /home/joe/emacs/lisp/org/org-plot ~/org-mode/lisp/ob-core hides /home/joe/emacs/lisp/org/ob-core ~/org-mode/lisp/org-loaddefs hides /home/joe/emacs/lisp/org/org-loaddefs ~/org-mode/lisp/org-id hides /home/joe/emacs/lisp/org/org-id ~/org-mode/lisp/ob-calc hides /home/joe/emacs/lisp/org/ob-calc ~/org-mode/lisp/org-list hides /home/joe/emacs/lisp/org/org-list ~/org-mode/lisp/ob-sass hides /home/joe/emacs/lisp/org/ob-sass ~/org-mode/lisp/org-colview hides /home/joe/emacs/lisp/org/org-colview ~/org-mode/lisp/ob-exp hides /home/joe/emacs/lisp/org/ob-exp ~/org-mode/lisp/ob-eval hides /home/joe/emacs/lisp/org/ob-eval ~/org-mode/lisp/org-timer hides /home/joe/emacs/lisp/org/org-timer ~/org-mode/lisp/ol-docview hides /home/joe/emacs/lisp/org/ol-docview ~/org-mode/lisp/ol hides /home/joe/emacs/lisp/org/ol ~/org-mode/lisp/ob-perl hides /home/joe/emacs/lisp/org/ob-perl ~/org-mode/lisp/org-habit hides /home/joe/emacs/lisp/org/org-habit ~/org-mode/lisp/ob-comint hides /home/joe/emacs/lisp/org/ob-comint ~/org-mode/lisp/ol-gnus hides /home/joe/emacs/lisp/org/ol-gnus ~/org-mode/lisp/org-mouse hides /home/joe/emacs/lisp/org/org-mouse ~/org-mode/lisp/ob-gnuplot hides /home/joe/emacs/lisp/org/ob-gnuplot ~/org-mode/lisp/org-inlinetask hides /home/joe/emacs/lisp/org/org-inlinetask ~/org-mode/lisp/ox-icalendar hides /home/joe/emacs/lisp/org/ox-icalendar ~/org-mode/lisp/org-src hides /home/joe/emacs/lisp/org/org-src ~/org-mode/lisp/ox-md hides /home/joe/emacs/lisp/org/ox-md ~/org-mode/lisp/org-protocol hides /home/joe/emacs/lisp/org/org-protocol ~/org-mode/lisp/org-keys hides /home/joe/emacs/lisp/org/org-keys ~/org-mode/lisp/org-num hides /home/joe/emacs/lisp/org/org-num ~/org-mode/lisp/ol-w3m hides /home/joe/emacs/lisp/org/ol-w3m ~/org-mode/lisp/ob-ocaml hides /home/joe/emacs/lisp/org/ob-ocaml ~/org-mode/lisp/org-datetree hides /home/joe/emacs/lisp/org/org-datetree ~/org-mode/lisp/ob-ditaa hides /home/joe/emacs/lisp/org/ob-ditaa ~/org-mode/lisp/ox-ascii hides /home/joe/emacs/lisp/org/ox-ascii ~/org-mode/lisp/ob-dot hides /home/joe/emacs/lisp/org/ob-dot ~/org-mode/lisp/org-feed hides /home/joe/emacs/lisp/org/org-feed ~/org-mode/lisp/org hides /home/joe/emacs/lisp/org/org ~/org-mode/lisp/org-footnote hides /home/joe/emacs/lisp/org/org-footnote ~/org-mode/lisp/ob-R hides /home/joe/emacs/lisp/org/ob-R ~/org-mode/lisp/ol-bbdb hides /home/joe/emacs/lisp/org/ol-bbdb ~/org-mode/lisp/org-lint hides /home/joe/emacs/lisp/org/org-lint ~/org-mode/lisp/ob-sql hides /home/joe/emacs/lisp/org/ob-sql ~/org-mode/lisp/org-clock hides /home/joe/emacs/lisp/org/org-clock ~/org-mode/lisp/org-macs hides /home/joe/emacs/lisp/org/org-macs ~/org-mode/lisp/org-element hides /home/joe/emacs/lisp/org/org-element ~/org-mode/lisp/ox-html hides /home/joe/emacs/lisp/org/ox-html ~/org-mode/lisp/ob-latex hides /home/joe/emacs/lisp/org/ob-latex ~/org-mode/lisp/ob-java hides /home/joe/emacs/lisp/org/ob-java ~/org-mode/lisp/ob-scheme hides /home/joe/emacs/lisp/org/ob-scheme ~/org-mode/lisp/ol-info hides /home/joe/emacs/lisp/org/ol-info ~/org-mode/lisp/org-macro hides /home/joe/emacs/lisp/org/org-macro ~/org-mode/lisp/ob-css hides /home/joe/emacs/lisp/org/ob-css ~/org-mode/lisp/ol-eww hides /home/joe/emacs/lisp/org/ol-eww ~/org-mode/lisp/ob-processing hides /home/joe/emacs/lisp/org/ob-processing ~/org-mode/lisp/ob-clojure hides /home/joe/emacs/lisp/org/ob-clojure ~/org-mode/lisp/ob-emacs-lisp hides /home/joe/emacs/lisp/org/ob-emacs-lisp ~/org-mode/lisp/ob-sed hides /home/joe/emacs/lisp/org/ob-sed ~/org-mode/lisp/ob-screen hides /home/joe/emacs/lisp/org/ob-screen ~/org-mode/lisp/ob hides /home/joe/emacs/lisp/org/ob ~/org-mode/lisp/org-agenda hides /home/joe/emacs/lisp/org/org-agenda ~/org-mode/lisp/org-ctags hides /home/joe/emacs/lisp/org/org-ctags ~/org-mode/lisp/ob-lua hides /home/joe/emacs/lisp/org/ob-lua ~/org-mode/lisp/ob-groovy hides /home/joe/emacs/lisp/org/ob-groovy ~/org-mode/lisp/org-capture hides /home/joe/emacs/lisp/org/org-capture ~/org-mode/lisp/org-indent hides /home/joe/emacs/lisp/org/org-indent ~/org-mode/lisp/oc hides /home/joe/emacs/lisp/org/oc ~/org-mode/lisp/ol-bibtex hides /home/joe/emacs/lisp/org/ol-bibtex ~/org-mode/lisp/ob-awk hides /home/joe/emacs/lisp/org/ob-awk Features: (shadow emacsbug misearch multi-isearch sh-script smie executable pcmpl-args pcmpl-linux pcmpl-unix dired-aux image-file image-converter display-line-numbers cl-print helm-external cus-start ffap winner tramp-archive tramp-gvfs zeroconf helm-command helm-elisp helm-eval edebug debug backtrace helm-info vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util term/xterm xterm overseer pkg-info epl .emacs linum disable-mouse scroll-other-window two-column hercules which-key pdf-occur tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch pdf-misc pdf-tools pdf-view pdf-cache pdf-info pdf-util pdf-macs github-issues bash-completion ac-cider ac-capf auto-complete popup elfeed-show elfeed-search disp-table whitespace elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib xml-query recentf crdt forms forms-mode helm-projectile projectile grep ibuf-ext ibuffer ibuffer-loaddefs helm-org helm-cider helm-cider-spec helm-cider-repl helm-cider-cheatsheet helm-cider-util cider-cheatsheet helm-ag helm-fd helm-mode helm-misc rainbow-delimiters highlight-parentheses cider tramp-sh cider-debug cider-browse-ns cider-mode cider-find cider-inspector cider-completion cider-profile cider-eval cider-jar arc-mode archive-mode cider-repl-history cider-repl cider-resolve cider-test cider-overlays cider-stacktrace cider-doc cider-browse-spec cider-clojuredocs cider-eldoc cider-client cider-common cider-connection cider-util cider-popup sesman-browser nrepl-client queue nrepl-dict parseedn parseclj-parser parseclj-lex parseclj-alist sesman vc vc-dispatcher clojure-mode align helm-lsp helm-imenu lsp-treemacs lsp-treemacs-themes treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-bookmarks treemacs-interface treemacs-extensions treemacs-mouse-interface treemacs-tags treemacs-persistence treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering treemacs-annotations treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture treemacs-logging treemacs-customization treemacs-macros lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck lsp-ui-util face-remap lsp-mode lsp-protocol yasnippet tree-widget spinner network-stream markdown-mode imenu ht ewoc geiser-racket geiser-repl geiser-compile geiser-debug transient compat geiser-capf compile geiser-image geiser-doc geiser-menu geiser-autodoc geiser-edit etags fileloop xref geiser-completion geiser-eval geiser-connection tq geiser-syntax scheme geiser-log geiser-popup view hypothesis request autorevert mu4e mu4e-org mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions rfc2368 smtpmail mu4e-mark mu4e-proc mu4e-utils mu4e-lists mu4e-message flow-fill mule-util mu4e-vars mu4e-meta ox-reveal org-ref org-ref-helm-bibtex org-ref-helm helm-config org-ref-core warnings reftex-cite reftex reftex-loaddefs reftex-vars org-ref-glossary org-ref-bibtex org-ref-citeproc hydra lv doi-utils org-ref-utils org-ref-pdf htmlize helm-bibtex bibtex-completion biblio biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp biblio-crossref biblio-arxiv timezone biblio-doi biblio-core ido hl-line parsebib helm-files image-dired helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp helm-utils helm-types helm-net helm-help helm helm-global-bindings helm-core async-bytecomp helm-source helm-multi-match helm-lib async org-roam-protocol let-alist org-protocol org-roam org-roam-link org-roam-graph org-roam-doctor org-roam-dailies org-roam-capture org-roam-db org-capture org-roam-completion org-roam-buffer inline org-roam-faces org-roam-macs org-roam-compat f f-shortdoc shortdoc s dash org-id emacsql-sqlite3 emacsql emacsql-compiler org-habit color org-bullets edmacro org-journal org-crypt cal-iso org-tree-slide org-timer org-clock toc-org ox-extra org-tempo tempo ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda org-refile ox-html table ox-ascii ox-publish ox ob-calc calc-store calc-trail calc-ext calc calc-loaddefs rect calc-macs ob-jupyter jupyter-tramp docker-tramp tramp-cache tramp tramp-loaddefs trampver tramp-integration cus-edit cus-load files-x tramp-compat ls-lisp jupyter-server jupyter-server-ioloop jupyter-ioloop-comm jupyter-ioloop zmq zmq-core jupyter-rest-api url-http url-auth url-gw nsm pcase jupyter-org-extensions jupyter-org-client jupyter-repl jupyter-kernel-manager jupyter-channel jupyter-widget-client websocket bindat simple-httpd jupyter-client jupyter-comm-layer jupyter-messages hmac-def jupyter-mime jupyter-kernelspec jupyter-env jupyter-base eieio-base ob-R ob-python python ob-scheme geiser ob-maxima ob-clojure ob-shell shell org-element avl-tree generator ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range wid-edit ol-docview doc-view filenotify jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi ess ess-utils ess-custom project holidays holiday-loaddefs window-margin command-log-mode cyberpunk-theme dream-theme ps-print ps-print-loaddefs ps-def lpr time feebleline bookmark+ bookmark+-key kmacro derived dired-x dired dired-loaddefs bookmark+-1 bookmark+-bmu bookmark+-lit bookmark text-property-search pp parse-time quelpa-use-package cl-extra quelpa mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr lisp-mnt use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key use-package-core finder-inf org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 time-date ol rx org-keys oc org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs geiser-impl help-fns radix-tree help-mode geiser-custom geiser-base ring helm-easymenu tex-site scholar-import-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd 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 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 system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 1517550 1318174) (symbols 48 80873 50) (strings 32 320327 91105) (string-bytes 1 10311004) (vectors 16 136272) (vector-slots 8 1817562 448552) (floats 8 1061 1022) (intervals 56 56189 80742) (buffers 992 40)) -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-01 13:08 bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-02 1:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-02 14:17 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-02 1:17 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > If I can provide further useful information please let me know. Note > that xbacktrace doesn’t print anything. I’m running Emacs under the > regolith WM (2.123-1focal), in case that’s relevant. Thanks, > joe@Proteus:~/emacs/src$ gdb emacs > GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2 > ... > (gdb) source /home/joe/emacs/src/.gdbinit > 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 > TERM = xterm-256color > Breakpoint 1 at 0x55555573899d: file emacs.c, line 420. > Breakpoint 2 at 0x5555556f4c86: file xterm.c, line 23862. > ... > (gdb) run > The program being debugged has been started already. > Start it from the beginning? (y or n) y > Starting program: /home/joe/emacs/src/emacs > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > [New Thread 0x7ffff1406700 (LWP 2218237)] > [New Thread 0x7ffff09fb700 (LWP 2218325)] > [New Thread 0x7fffebf10700 (LWP 2218328)] > [Detaching after vfork from child process 2218469] > > ... > > (emacs:2218133): Gdk-CRITICAL **: 13:45:08.589: gdk_device_get_n_axes: assertion 'GDK_IS_DEVICE (device)' failed > > (emacs:2218133): Gdk-CRITICAL **: 13:45:08.589: gdk_event_set_source_device: assertion 'GDK_IS_DEVICE (device)' failed > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x00007ffff757464d in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > (gdb) bt full > #0 0x00007ffff757464d in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #1 0x00007ffff757e989 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #2 0x00007ffff757e4cc in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #3 0x00007ffff75460e4 in gdk_display_get_event () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #4 0x00007ffff757e0e6 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #5 0x00007ffff6f5617d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 > #6 0x00007ffff6f56400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 > #7 0x00007ffff6f564a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 > #8 0x00007ffff78611d9 in gtk_main_iteration () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 > #9 0x00005555556f27eb in XTread_socket (terminal=0x55555627f368, hold_quit=0x7fffffffcb80) at xterm.c:22621 I suspect this is either a bug in GDK, or we're not passing through an XI device hierarchy-related event somewhere, which has happened before. Could you please install debuginfo for GDK and see where in GDK the crash happens? Thanks in advance. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-02 1:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-02 14:17 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-02 18:22 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-02 14:17 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > Could you please install debuginfo for GDK and see where in GDK the > crash happens? I’ve tried running things like this: joe@Proteus:~/emacs$ export GDK_DEBUG=events joe@Proteus:~/emacs$ export GTK_DEBUG=misc joe@Proteus:~/emacs$ emacs & (I tried with the "all" option, but it slowed Emacs down too much.) If I should do something else to get better debugging info out please advise, otherwise I shall carry on like this, and may see the crash again before long, with some further information. -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-02 14:17 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-02 18:22 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-03 1:14 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-02 18:22 UTC (permalink / raw) To: Po Lu; +Cc: 56869 > I’ve tried running things like this: > > joe@Proteus:~/emacs$ export GDK_DEBUG=events > joe@Proteus:~/emacs$ export GTK_DEBUG=misc > joe@Proteus:~/emacs$ emacs & > > (I tried with the "all" option, but it slowed Emacs down too much.) Now got these messages out, leading up to and just before the crash. I’m not sure what can be learned from this, so I pasted a lot of mostly repetitive context. ... Gdk-Message: 18:00:01.158: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:00:01.158: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:00:01.158: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:00:01.158: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:00:01.158: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:01.158: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:01.158: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:01.158: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:01.161: configure notify: window: 27263299 x,y: 5 5 w,h: 952 1046 b-w: 0 above: 0 ovr: 0 Gdk-Message: 18:00:02.375: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:00:02.375: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:00:03.048: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:00:03.048: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:00:03.048: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:03.048: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:03.048: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:03.048: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:04.781: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:00:04.781: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:00:04.781: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:04.781: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:04.781: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:04.781: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:10.965: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:00:10.966: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:00:11.013: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:00:11.013: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:00:11.013: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:00:11.013: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:00:11.013: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:11.013: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:11.013: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:11.013: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:11.750: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:00:11.751: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:00:11.753: configure notify: window: 27263299 x,y: 5 5 w,h: 952 1046 b-w: 0 above: 0 ovr: 0 Gdk-Message: 18:00:11.832: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:00:11.832: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:00:11.832: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:11.832: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:11.832: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:00:11.832: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:00:15.360: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:00:15.361: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:01:15.842: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 18:01:15.842: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:01:15.843: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:01:15.843: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:01:45.371: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:01:45.371: visibility notify: window: 27263299 full Gdk-Message: 18:01:45.409: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:01:45.409: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 18:01:45.409: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 18:01:45.411: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:01:45.411: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:01:45.411: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:01:45.466: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:01:47.693: leave notify: window 27263303 subwindow:0 device: 2 source device: 12 notify type: 0 crossing mode: 0 Gdk-Message: 18:01:47.693: leave notify: window 27263299 subwindow:0 device: 2 source device: 12 notify type: 1 crossing mode: 0 Gdk-Message: 18:01:47.693: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:02:16.839: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 18:02:16.854: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:02:16.856: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:02:16.856: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:02:24.691: property notify: window: 27263299, atom(372): "_NET_WM_DESKTOP" Gdk-Message: 18:07:44.213: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:07:44.213: visibility notify: window: 27263299 full Gdk-Message: 18:07:44.213: visibility notify: window: 27263303 full Gdk-Message: 18:07:44.226: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:07:44.226: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 1 crossing mode: 0 Gdk-Message: 18:07:44.227: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 0 crossing mode: 0 Gdk-Message: 18:07:44.229: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:07:44.229: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:07:44.229: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:07:44.318: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:07:47.327: leave notify: window 27263303 subwindow:0 device: 2 source device: 12 notify type: 0 crossing mode: 0 Gdk-Message: 18:07:47.327: leave notify: window 27263299 subwindow:0 device: 2 source device: 12 notify type: 1 crossing mode: 0 Gdk-Message: 18:07:47.328: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:07:54.903: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyNormal Gdk-Message: 18:07:54.904: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:08:26.175: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:08:49.392: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:08:49.392: visibility notify: window: 27263299 full Gdk-Message: 18:08:49.392: visibility notify: window: 27263303 full Gdk-Message: 18:08:49.398: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:08:50.733: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:08:50.733: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:08:50.813: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:08:51.213: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:08:51.214: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:08:51.214: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:08:51.214: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:08:51.228: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:08:51.228: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:08:51.228: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:08:51.228: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:08:51.228: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:08:51.228: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:08:52.136: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:08:52.137: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:08:52.137: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:08:52.137: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:08:52.138: configure notify: window: 27263299 x,y: 5 5 w,h: 952 1046 b-w: 0 above: 0 ovr: 0 Gdk-Message: 18:08:52.172: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:08:52.172: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:08:52.172: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:08:52.172: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:08:52.172: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:08:52.172: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:09:04.869: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 18:09:04.872: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:09:04.872: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:09:04.873: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:09:59.215: selection clear: window: 27263303 Gdk-Message: 18:09:59.215: selection clear: window: 27263303 Gdk-Message: 18:10:23.335: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:10:23.336: visibility notify: window: 27263299 full Gdk-Message: 18:10:23.336: visibility notify: window: 27263303 full Gdk-Message: 18:10:23.368: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:10:23.370: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:10:23.371: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:10:23.439: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:10:26.426: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 18:10:26.429: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:10:26.429: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:10:26.429: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:14:18.716: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:14:18.716: visibility notify: window: 27263299 full Gdk-Message: 18:14:18.716: visibility notify: window: 27263303 full Gdk-Message: 18:14:18.742: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:14:18.742: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 1 crossing mode: 0 Gdk-Message: 18:14:18.743: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 0 crossing mode: 0 Gdk-Message: 18:14:18.745: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:14:18.745: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:14:18.746: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:14:18.807: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:14:19.819: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 18:14:19.823: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:14:19.823: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:14:19.894: focus out: window: 27263303, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 18:14:19.899: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 18:14:20.436: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyGrab Gdk-Message: 18:14:20.438: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:14:20.438: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:14:20.535: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:14:21.099: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 18:14:21.100: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:14:21.100: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:14:21.225: focus out: window: 27263303, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 18:14:21.225: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 18:14:24.322: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyGrab Gdk-Message: 18:14:24.323: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:14:24.323: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:14:24.399: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:14:32.103: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:14:32.103: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:14:32.104: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:14:32.104: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:14:32.104: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:14:32.104: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:14:36.287: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 18:14:36.288: leave notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 18:14:36.289: leave notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 18:14:36.290: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:14:36.291: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:14:36.291: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:14:36.291: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:18:01.167: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:18:01.167: visibility notify: window: 27263299 full Gdk-Message: 18:18:01.167: visibility notify: window: 27263303 full Gdk-Message: 18:18:01.181: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:18:01.184: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:18:01.184: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:18:01.257: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:18:02.325: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:18:02.327: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:18:02.365: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:18:02.365: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:18:02.365: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:18:02.365: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:18:02.365: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:18:02.365: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:18:02.365: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:18:02.365: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:18:03.340: property notify: window: 27263299, atom(373): "_NET_WM_ICON" Gdk-Message: 18:18:03.340: property notify: window: 27263299, atom(35): "WM_HINTS" Gdk-Message: 18:18:03.340: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:18:03.340: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:18:03.340: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:18:03.340: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:18:03.340: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:18:03.340: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:18:03.341: configure notify: window: 27263299 x,y: 5 5 w,h: 952 1046 b-w: 0 above: 0 ovr: 0 Gdk-Message: 18:18:04.176: property notify: window: 27263299, atom(375): "_NET_WM_NAME" Gdk-Message: 18:18:04.176: property notify: window: 27263299, atom(39): "WM_NAME" Gdk-Message: 18:18:04.176: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:18:04.176: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:18:04.176: property notify: window: 27263299, atom(37): "WM_ICON_NAME" Gdk-Message: 18:18:04.176: property notify: window: 27263299, atom(374): "_NET_WM_ICON_NAME" Gdk-Message: 18:18:07.028: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 18:18:07.030: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:18:07.031: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:18:07.031: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:27:06.325: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:27:06.325: visibility notify: window: 27263299 full Gdk-Message: 18:27:06.325: visibility notify: window: 27263303 full Gdk-Message: 18:27:06.351: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:27:06.353: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 18:27:06.353: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:27:06.490: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 18:27:08.255: enter notify: window 27263299 subwindow:0 device: 2 source device: 12 notify type: 4 crossing mode: 0 Gdk-Message: 18:27:08.255: enter notify: window 27263303 subwindow:0 device: 2 source device: 12 notify type: 3 crossing mode: 0 Gdk-Message: 18:27:08.255: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:27:08.396: leave notify: window 27263303 subwindow:0 device: 2 source device: 12 notify type: 3 crossing mode: 0 Gdk-Message: 18:27:08.396: leave notify: window 27263299 subwindow:0 device: 2 source device: 12 notify type: 4 crossing mode: 0 Gdk-Message: 18:27:08.396: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:27:08.903: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyNormal Gdk-Message: 18:27:08.904: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 18:28:08.275: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:39:32.409: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:39:32.409: visibility notify: window: 27263299 full Gdk-Message: 18:39:32.409: visibility notify: window: 27263303 full Gdk-Message: 18:39:32.420: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:39:32.420: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 18:39:32.421: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 18:39:32.422: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:39:32.525: focus out: window: 27263303, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 18:39:32.526: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 18:39:36.124: leave notify: window 27263303 subwindow:0 device: 2 source device: 12 notify type: 3 crossing mode: 0 Gdk-Message: 18:39:36.124: leave notify: window 27263299 subwindow:0 device: 2 source device: 12 notify type: 4 crossing mode: 0 Gdk-Message: 18:39:36.124: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:40:09.135: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:46:20.585: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:46:20.585: visibility notify: window: 27263299 full Gdk-Message: 18:46:20.585: visibility notify: window: 27263303 full Gdk-Message: 18:46:20.623: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 18:46:20.623: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 18:46:20.624: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 18:46:20.626: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 18:46:20.698: focus out: window: 27263303, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 18:46:20.698: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 18:46:21.055: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyGrab Gdk-Message: 18:46:21.055: leave notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 18:46:21.055: leave notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 18:46:21.055: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 18:46:21.056: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 19:06:47.648: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 19:06:47.648: visibility notify: window: 27263299 full Gdk-Message: 19:06:47.648: visibility notify: window: 27263303 full Gdk-Message: 19:06:47.660: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 19:06:47.660: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 19:06:47.661: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 19:06:47.774: focus out: window: 27263303, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 19:06:47.775: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 19:06:48.310: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyGrab Gdk-Message: 19:06:48.310: leave notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 19:06:48.310: leave notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 19:06:48.311: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 19:08:07.057: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 19:08:07.057: visibility notify: window: 27263299 full Gdk-Message: 19:08:07.058: visibility notify: window: 27263303 full Gdk-Message: 19:08:07.073: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 19:08:07.073: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 19:08:07.074: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 19:08:07.237: focus out: window: 27263303, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 19:08:07.237: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 19:08:07.507: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyGrab Gdk-Message: 19:08:07.507: leave notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 19:08:07.507: leave notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 19:08:07.508: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 19:08:11.169: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 19:08:11.169: visibility notify: window: 27263299 full Gdk-Message: 19:08:11.169: visibility notify: window: 27263303 full Gdk-Message: 19:08:11.204: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 19:08:11.204: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 19:08:11.205: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 19:08:11.336: focus out: window: 27263303, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 19:08:11.336: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 19:08:11.660: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyGrab Gdk-Message: 19:08:11.660: leave notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 3 crossing mode: 0 Gdk-Message: 19:08:11.660: leave notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 4 crossing mode: 0 Gdk-Message: 19:08:11.660: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 19:12:39.249: property notify: window: 27263299, atom(453): "WM_STATE" Gdk-Message: 19:12:39.249: visibility notify: window: 27263299 full Gdk-Message: 19:12:39.249: visibility notify: window: 27263303 full Gdk-Message: 19:12:39.256: expose: window: 27263303 0 x,y: 0 0 w,h: 952 1046 Gdk-Message: 19:12:41.950: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 19:12:41.950: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 19:12:42.067: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyUngrab Gdk-Message: 19:12:43.752: enter notify: window 27263299 subwindow:0 device: 2 source device: 12 notify type: 4 crossing mode: 0 Gdk-Message: 19:12:43.752: enter notify: window 27263303 subwindow:0 device: 2 source device: 12 notify type: 3 crossing mode: 0 Gdk-Message: 19:12:43.752: property notify: window: 27264399, atom(68): "WM_TRANSIENT_FOR" Gdk-Message: 19:12:44.308: leave notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 0 crossing mode: 1 Gdk-Message: 19:12:44.308: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 2 crossing mode: 1 Gdk-Message: 19:12:44.308: leave notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 2 crossing mode: 2 Gdk-Message: 19:12:44.308: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 0 crossing mode: 2 Gdk-Message: 19:12:44.309: button press: window 27263303 device:2 source device:12 button number: 1 x,y: 641.69 558.57 Gdk-Message: 19:12:44.309: property notify: window: 27263299, atom(401): "_NET_WM_USER_TIME" Gdk-Message: 19:12:44.396: button release: window 27263303 device:2 source device:12 button number: 1 x,y: 641.69 558.57 Gdk-Message: 19:12:44.591: leave notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 0 crossing mode: 1 Gdk-Message: 19:12:44.591: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 2 crossing mode: 1 Gdk-Message: 19:12:44.591: leave notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 2 crossing mode: 2 Gdk-Message: 19:12:44.591: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 0 crossing mode: 2 Gdk-Message: 19:12:44.592: button press: window 27263303 device:2 source device:12 button number: 1 x,y: 641.69 558.57 Gdk-Message: 19:12:44.592: property notify: window: 27263299, atom(401): "_NET_WM_USER_TIME" Gdk-Message: 19:12:44.629: button release: window 27263303 device:2 source device:12 button number: 1 x,y: 641.69 558.57 Gdk-Message: 19:12:44.797: leave notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 0 crossing mode: 1 Gdk-Message: 19:12:44.798: enter notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 2 crossing mode: 1 Gdk-Message: 19:12:44.798: leave notify: window 27263299 subwindow:0 device: 2 source device: 2 notify type: 2 crossing mode: 2 Gdk-Message: 19:12:44.798: enter notify: window 27263303 subwindow:0 device: 2 source device: 2 notify type: 0 crossing mode: 2 Gdk-Message: 19:12:44.799: button press: window 27263303 device:2 source device:12 button number: 1 x,y: 641.69 558.57 Gdk-Message: 19:12:44.799: property notify: window: 27263299, atom(401): "_NET_WM_USER_TIME" Gdk-Message: 19:12:44.842: button release: window 27263303 device:2 source device:12 button number: 1 x,y: 641.69 558.57 Gdk-Message: 19:12:45.532: focus out: window: 27263299, detail: NotifyAncestor, mode: NotifyGrab Gdk-Message: 19:12:45.533: focus out: window: 27263299, detail: NotifyNonlinear, mode: NotifyWhileGrabbed Gdk-Message: 19:12:45.533: property notify: window: 27263299, atom(378): "_NET_WM_STATE" Gdk-Message: 19:12:45.669: focus out: window: 27263303, detail: NotifyPointer, mode: NotifyUngrab Gdk-Message: 19:12:45.669: focus out: window: 27263299, detail: NotifyPointer, mode: NotifyUngrab (emacs:160737): Gdk-CRITICAL **: 19:12:45.669: gdk_device_get_n_axes: assertion 'GDK_IS_DEVICE (device)' failed (emacs:160737): Gdk-CRITICAL **: 19:12:45.669: gdk_event_set_source_device: assertion 'GDK_IS_DEVICE (device)' failed -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-02 18:22 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-03 1:14 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-11 9:56 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-03 1:14 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: >> I’ve tried running things like this: >> >> joe@Proteus:~/emacs$ export GDK_DEBUG=events >> joe@Proteus:~/emacs$ export GTK_DEBUG=misc >> joe@Proteus:~/emacs$ emacs & >> >> (I tried with the "all" option, but it slowed Emacs down too much.) > > Now got these messages out, leading up to and just before the crash. > I’m not sure what can be learned from this, so I pasted a lot of mostly > repetitive context. I'm sorry, but those trace messages don't really help. Please install the debugging symbols for GDK (usually available in a separate "debuginfo" package repository on GNU/Linux systems), so we can find out exactly what event is causing the crash. Thanks. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-03 1:14 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-11 9:56 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-11 11:48 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-11 9:56 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > I'm sorry, but those trace messages don't really help. Please install > the debugging symbols for GDK (usually available in a separate > "debuginfo" package repository on GNU/Linux systems), so we can find out > exactly what event is causing the crash. Got it now, I didn’t immediately understand. I followed the instructions to install debugging symbols for Ubuntu, here, https://wiki.ubuntu.com/Debug%20Symbol%20Packages found via https://drgn.readthedocs.io/en/latest/getting_debugging_symbols.html and then installed these: sudo apt-get install pcb-rnd-hid-gtk2-gdk-dbgsym sudo apt-get install libgtkgl2.0-1-dbgsym I hope that’s the correct protocol; haven’t re-encountered the crash yet. More soon, if I do! -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-11 9:56 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-11 11:48 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-11 13:34 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-11 11:48 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > Got it now, I didn’t immediately understand. I followed the > instructions to install debugging symbols for Ubuntu, here, > https://wiki.ubuntu.com/Debug%20Symbol%20Packages > found via > https://drgn.readthedocs.io/en/latest/getting_debugging_symbols.html > > and then installed these: > > sudo apt-get install pcb-rnd-hid-gtk2-gdk-dbgsym > sudo apt-get install libgtkgl2.0-1-dbgsym > > I hope that’s the correct protocol; haven’t re-encountered the crash > yet. More soon, if I do! Thanks. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-11 11:48 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-11 13:34 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 1:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-11 13:34 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: >> I hope that’s the correct protocol; haven’t re-encountered the crash >> yet. More soon, if I do! Now it’s produced the following, alongside the crash. I’m happy to adapt the instrumentation further if this is not yet sufficiently useful! (emacs:97833): Gdk-CRITICAL **: 14:12:42.787: gdk_device_get_n_axes: assertion 'GDK_IS_DEVICE (device)' failed (emacs:97833): Gdk-CRITICAL **: 14:12:42.787: gdk_event_set_source_device: assertion 'GDK_IS_DEVICE (device)' failed Backtrace: emacs(+0x2160fe)[0x5579104b00fe] emacs(+0x1e4a98)[0x55791047ea98] emacs(+0x21584d)[0x5579104af84d] emacs(+0x21581d)[0x5579104af81d] emacs(+0x215890)[0x5579104af890] emacs(+0x215a3a)[0x5579104afa3a] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f54e948a420] /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6664d)[0x7f54eaf6f64d] /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x70989)[0x7f54eaf79989] /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x704cc)[0x7f54eaf794cc] /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_display_get_event+0x44)[0x7f54eaf410e4] /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x700e6)[0x7f54eaf790e6] /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x27d)[0x7f54ea95117d] /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52400)[0x7f54ea951400] /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33)[0x7f54ea9514a3] /usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_iteration+0x19)[0x7f54eb25c1d9] emacs(+0x19e7eb)[0x5579104387eb] emacs(+0x1fb5be)[0x5579104955be] emacs(+0x1fba72)[0x557910495a72] emacs(+0x1fba95)[0x557910495a95] emacs(+0x1fbad9)[0x557910495ad9] emacs(+0x1fbb01)[0x557910495b01] emacs(+0x1f5261)[0x55791048f261] emacs(+0x1f2c62)[0x55791048cc62] emacs(+0x1fb463)[0x557910495463] emacs(+0x2037bd)[0x55791049d7bd] emacs(+0x323f1d)[0x5579105bdf1d] emacs(+0x5b497)[0x5579102f5497] emacs(+0x1f0dd3)[0x55791048add3] emacs(+0x201ba3)[0x55791049bba3] emacs(+0x1ece2e)[0x557910486e2e] emacs(+0x2b595a)[0x55791054f95a] emacs(+0x1ec6d1)[0x5579104866d1] emacs(+0x2b4f63)[0x55791054ef63] emacs(+0x1ec5f1)[0x5579104865f1] emacs(+0x1ebb82)[0x557910485b82] emacs(+0x23a170)[0x5579104d4170] emacs(+0x23b4c1)[0x5579104d54c1] emacs(+0x2b9ab2)[0x557910553ab2] emacs(+0x310a2c)[0x5579105aaa2c] emacs(+0x2b9c5b)[0x557910553c5b] ... [1]+ Segmentation fault (core dumped) emacs -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-11 13:34 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-12 1:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 11:45 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-12 1:17 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > Now it’s produced the following, alongside the crash. I’m happy to > adapt the instrumentation further if this is not yet sufficiently > useful! Could you please type "coredumpctl debug emacs", and then in the debugger prompt, type "bt", and send the complete backtrace? In the meantime, I made an attempt to fix this on master based on some serious guesswork. Thanks. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-12 1:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-12 11:45 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 12:35 ` Eli Zaretskii 2022-08-12 12:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 2 replies; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-12 11:45 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > >> Now it’s produced the following, alongside the crash. I’m happy to >> adapt the instrumentation further if this is not yet sufficiently >> useful! > > Could you please type "coredumpctl debug emacs", and then in the > debugger prompt, type "bt", and send the complete backtrace? My core file was produced via running Emacs under GDB and running generate-core-file, hopefully the result is the same! The backtrace is below. joe@Proteus:~/emacs$ gdb src/emacs core.151436 GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2 Copyright (C) 2020 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-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://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 src/emacs... [New LWP 151436] [New LWP 151510] [New LWP 151629] [New LWP 151630] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/joe/emacs/src/emacs'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007ffff757464d in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 [Current thread is 1 (Thread 0x7ffff2947040 (LWP 151436))] (gdb) bt #0 0x00007ffff757464d in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #1 0x00007ffff757e989 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #2 0x00007ffff757e4cc in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #3 0x00007ffff75460e4 in gdk_display_get_event () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #4 0x00007ffff757e0e6 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #5 0x00007ffff6f5617d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007ffff6f56400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00007ffff6f564a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007ffff78611d9 in gtk_main_iteration () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #9 0x00005555556f27eb in XTread_socket (terminal=0x555555f6fdc8, hold_quit=0x7fffffff5950) at xterm.c:22621 #10 0x000055555574f5be in gobble_input () at keyboard.c:7327 #11 0x000055555574fa72 in handle_async_input () at keyboard.c:7558 #12 0x000055555574fa95 in process_pending_signals () at keyboard.c:7572 #13 0x000055555574fad9 in unblock_input_to (level=0) at keyboard.c:7587 #14 0x000055555574fb01 in unblock_input () at keyboard.c:7606 #15 0x0000555555749261 in timer_check () at keyboard.c:4697 #16 0x0000555555746c62 in readable_events (flags=1) at keyboard.c:3484 #17 0x000055555574f463 in get_input_pending (flags=1) at keyboard.c:7277 #18 0x00005555557577bd in detect_input_pending_run_timers (do_display=true) at keyboard.c:10807 #19 0x0000555555877f1d in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=0x0, wait_proc=0x0, just_wait_proc=0) at process.c:5732 #20 0x0000555555747921 in kbd_buffer_get_event (kbp=0x7fffffff6038, used_mouse_menu=0x0, end_time=0x0) at keyboard.c:3963 #21 0x0000555555743532 in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffff6450, used_mouse_menu=0x0) at keyboard.c:2230 #22 0x000055555574385f in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffff6450, prev_event=0x30, used_mouse_menu=0x0) at keyboard.c:2294 #23 0x0000555555745209 in read_char (commandflag=0, map=0x0, prev_event=0x30, used_mouse_menu=0x0, end_time=0x0) at keyboard.c:2924 #24 0x0000555555846b4a in read_filtered_event (no_switch_frame=true, ascii_required=true, error_nonascii=true, input_method=false, seconds=0x0) at lread.c:712 #25 0x0000555555846dfc in Fread_char (prompt=0x0, inherit_input_method=0x0, seconds=0x0) at lread.c:820 #26 0x000055555580d96a in funcall_subr (subr=0x555555cdd7e0 <Sread_char>, numargs=0, args=0x7ffff14665b0) at eval.c:3000 #27 0x0000555555864a2c in exec_byte_code (fun=0x7ffff1ea8c7d, args_template=1542, nargs=6, args=0x7ffff14667f8) at bytecode.c:809 #28 0x000055555580dc5b in fetch_and_exec_byte_code (fun=0x55556335414d, args_template=514, nargs=2, args=0x7fffffff6dc8) at eval.c:3045 #29 0x000055555580e04f in funcall_lambda (fun=0x55556335414d, nargs=2, arg_vector=0x7fffffff6dc8) at eval.c:3117 #30 0x000055555580d4ba in funcall_general (fun=0x55556335414d, numargs=2, args=0x7fffffff6dc8) at eval.c:2908 #31 0x000055555580d71a in Ffuncall (nargs=3, args=0x7fffffff6dc0) at eval.c:2958 #32 0x000055555577f8a0 in call2 (fn=0x2aaa9c6fc998, arg1=0x55556540b644, arg2=0x555556564ab4) at lisp.h:3246 #33 0x0000555555780f35 in lock_file (fn=0x55556540b644) at filelock.c:724 #34 0x0000555555781187 in Flock_file (file=0x55556540b644) at filelock.c:789 #35 0x000055555579e96e in write_region (start=0x6, end=0xbfda, filename=0x55556540b644, append=0x0, visit=0x2aaa9c21b758, lockname=0x55556540b644, mustbenew=0x0, desc=-1) at fileio.c:5322 #36 0x000055555579e356 in Fwrite_region (start=0x6, end=0xbfda, filename=0x55556540b644, append=0x0, visit=0x2aaa9c21b758, lockname=0x0, mustbenew=0x0) at fileio.c:5197 #37 0x000055555580c21b in eval_sub (form=0x55555aff2f33) at eval.c:2485 #38 0x000055555580745a in Fprogn (body=0x0) at eval.c:451 #39 0x000055555580e3ac in funcall_lambda (fun=0x55555aff2953, nargs=3, arg_vector=0x7ffff1466538) at eval.c:3197 #40 0x000055555580d5b0 in funcall_general (fun=0x55555aff2953, numargs=3, args=0x7ffff1466538) at eval.c:2920 #41 0x0000555555864a4c in exec_byte_code (fun=0x55555b005b4d, args_template=513, nargs=1, args=0x7ffff1466540) at bytecode.c:811 #42 0x000055555580dc5b in fetch_and_exec_byte_code (fun=0x55555b0182c5, args_template=0, nargs=0, args=0x7fffffff9b50) at eval.c:3045 #43 0x000055555580e04f in funcall_lambda (fun=0x55555b0182c5, nargs=0, arg_vector=0x7fffffff9b50) at eval.c:3117 #44 0x000055555580de55 in apply_lambda (fun=0x55555b0182c5, args=0x0, count=...) at eval.c:3067 #45 0x000055555580c2d7 in eval_sub (form=0x55555b0827c3) at eval.c:2508 #46 0x000055555580745a in Fprogn (body=0x0) at eval.c:451 #47 0x000055555580bcb1 in eval_sub (form=0x55555b0822a3) at eval.c:2414 #48 0x00005555558091e8 in Funwind_protect (args=0x55555b082303) at eval.c:1312 #49 0x000055555580bcb1 in eval_sub (form=0x55555b082313) at eval.c:2414 #50 0x000055555580745a in Fprogn (body=0x0) at eval.c:451 #51 0x0000555555808712 in FletX (args=0x55555b082333) at eval.c:969 #52 0x000055555580bcb1 in eval_sub (form=0x55555b082343) at eval.c:2414 #53 0x000055555580745a in Fprogn (body=0x0) at eval.c:451 #54 0x000055555580e3ac in funcall_lambda (fun=0x55555b081cd3, nargs=0, arg_vector=0x7ffff14664e0) at eval.c:3197 #55 0x000055555580d5b0 in funcall_general (fun=0x55555b081cd3, numargs=0, args=0x7ffff14664e0) at eval.c:2920 #56 0x000055555580d71a in Ffuncall (nargs=1, args=0x7ffff14664d8) at eval.c:2958 #57 0x000055555580c729 in Fapply (nargs=2, args=0x7ffff14664d8) at eval.c:2582 #58 0x000055555580db66 in funcall_subr (subr=0x555555cdab60 <Sapply>, numargs=2, args=0x7ffff14664d8) at eval.c:3023 #59 0x0000555555864a2c in exec_byte_code (fun=0x7ffff1ec1255, args_template=257, nargs=1, args=0x7ffff1466620) at bytecode.c:809 #60 0x000055555580dc5b in fetch_and_exec_byte_code (fun=0x7ffff257ab15, args_template=257, nargs=1, args=0x7fffffffaa08) at eval.c:3045 #61 0x000055555580e04f in funcall_lambda (fun=0x7ffff257ab15, nargs=1, arg_vector=0x7fffffffaa08) at eval.c:3117 #62 0x000055555580d4ba in funcall_general (fun=0x7ffff257ab15, numargs=1, args=0x7fffffffaa08) at eval.c:2908 #63 0x000055555580d71a in Ffuncall (nargs=2, args=0x7fffffffaa00) at eval.c:2958 #64 0x000055555573e080 in call1 (fn=0xf060, arg1=0x55555b0a3c6d) at lisp.h:3239 #65 0x000055555574910b in timer_check_2 (timers=0x555565432f53, idle_timers=0x0) at keyboard.c:4636 #66 0x000055555574927f in timer_check () at keyboard.c:4702 #67 0x0000555555746c62 in readable_events (flags=1) at keyboard.c:3484 #68 0x000055555574f463 in get_input_pending (flags=1) at keyboard.c:7277 #69 0x00005555557577bd in detect_input_pending_run_timers (do_display=true) at keyboard.c:10807 #70 0x0000555555877f1d in wait_reading_process_output (time_limit=105, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=0x0, wait_proc=0x0, just_wait_proc=0) at process.c:5732 #71 0x00005555555af497 in sit_for (timeout=0x1a6, reading=true, display_option=1) at dispnew.c:6238 #72 0x0000555555744dd3 in read_char (commandflag=1, map=0x5555611f9da3, prev_event=0x0, used_mouse_menu=0x7fffffffb399, end_time=0x0) at keyboard.c:2832 #73 0x0000555555755ba3 in read_key_sequence (keybuf=0x7fffffffb5d0, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9984 #74 0x0000555555740e2e in command_loop_1 () at keyboard.c:1382 #75 0x000055555580995a in internal_condition_case (bfun=0x555555740a30 <command_loop_1>, handlers=0x90, hfun=0x55555573fff9 <cmd_error>) at eval.c:1485 #76 0x00005555557406d1 in command_loop_2 (handlers=0x90) at keyboard.c:1132 #77 0x0000555555808f63 in internal_catch (tag=0x6750, func=0x5555557406a6 <command_loop_2>, arg=0x90) at eval.c:1208 #78 0x00005555557405f1 in command_loop () at keyboard.c:1102 #79 0x000055555573fb82 in recursive_edit_1 () at keyboard.c:719 #80 0x000055555573fd34 in Frecursive_edit () at keyboard.c:802 #81 0x000055555580d8ee in funcall_subr (subr=0x555555cd2920 <Srecursive_edit>, numargs=0, args=0x7ffff1466458) at eval.c:2994 #82 0x0000555555864a2c in exec_byte_code (fun=0x7ffff1e32165, args_template=513, nargs=1, args=0x7ffff14667b0) at bytecode.c:809 #83 0x000055555580dc5b in fetch_and_exec_byte_code (fun=0x55555c6c441d, args_template=128, nargs=2, args=0x7fffffffbef8) at eval.c:3045 #84 0x000055555580e04f in funcall_lambda (fun=0x55555c6c441d, nargs=2, arg_vector=0x7fffffffbef8) at eval.c:3117 #85 0x000055555580d4ba in funcall_general (fun=0x55555c6c441d, numargs=2, args=0x7fffffffbef8) at eval.c:2908 #86 0x000055555580d71a in Ffuncall (nargs=3, args=0x7fffffffbef0) at eval.c:2958 #87 0x000055555580cb7e in Fapply (nargs=2, args=0x7fffffffbfa0) at eval.c:2629 #88 0x000055555580d184 in apply1 (fn=0x5490, arg=0x5555595d8ed3) at eval.c:2845 #89 0x0000555555807167 in call_debugger (arg=0x5555595d8ed3) at eval.c:331 #90 0x000055555580aa9a in maybe_call_debugger (conditions=0x7ffff1ea3963, sig=0x90, data=0x5555595d8f03) at eval.c:1984 #91 0x000055555580a2e0 in signal_or_quit (error_symbol=0x90, data=0x5555595d8f03, keyboard_quit=false) at eval.c:1789 #92 0x0000555555809f67 in Fsignal (error_symbol=0x90, data=0x5555595d8f03) at eval.c:1689 #93 0x000055555580d934 in funcall_subr (subr=0x555555cdaa20 <Ssignal>, numargs=2, args=0x7ffff1466318) at eval.c:2998 #94 0x0000555555864a2c in exec_byte_code (fun=0x7ffff1fb2dcd, args_template=128, nargs=2, args=0x7ffff14662b8) at bytecode.c:809 #95 0x000055555580dc5b in fetch_and_exec_byte_code (fun=0x7ffff1e7717d, args_template=256, nargs=1, args=0x7fffffffc770) at eval.c:3045 #96 0x000055555580e04f in funcall_lambda (fun=0x7ffff1e7717d, nargs=1, arg_vector=0x7fffffffc770) at eval.c:3117 #97 0x000055555580de55 in apply_lambda (fun=0x7ffff1e7717d, args=0x555558e9d483, count=...) at eval.c:3067 #98 0x000055555580c2d7 in eval_sub (form=0x555558e9d473) at eval.c:2508 #99 0x000055555580b785 in Feval (form=0x555558e9d473, lexical=0x0) at eval.c:2319 #100 0x000055555580d934 in funcall_subr (subr=0x555555cdab20 <Seval>, numargs=1, args=0x7ffff1466148) at eval.c:2998 #101 0x0000555555864a2c in exec_byte_code (fun=0x5555586b7e25, args_template=0, nargs=0, args=0x7ffff1466148) at bytecode.c:809 #102 0x000055555580dc5b in fetch_and_exec_byte_code (fun=0x555558ffa55d, args_template=0, nargs=0, args=0x7fffffffd3b0) at eval.c:3045 #103 0x000055555580e04f in funcall_lambda (fun=0x555558ffa55d, nargs=0, arg_vector=0x7fffffffd3b0) at eval.c:3117 #104 0x000055555580d4ba in funcall_general (fun=0x555558ffa55d, numargs=0, args=0x7fffffffd3b0) at eval.c:2908 #105 0x000055555580d71a in Ffuncall (nargs=1, args=0x7fffffffd3a8) at eval.c:2958 #106 0x0000555555803033 in Ffuncall_interactively (nargs=1, args=0x7fffffffd3a8) at callint.c:291 #107 0x000055555580db66 in funcall_subr (subr=0x555555cda2a0 <Sfuncall_interactively>, numargs=1, args=0x7fffffffd3a8) at eval.c:3023 #108 0x000055555580d46e in funcall_general (fun=0x555555cda2a5 <Sfuncall_interactively+5>, numargs=1, args=0x7fffffffd3a8) at eval.c:2904 #109 0x000055555580d71a in Ffuncall (nargs=2, args=0x7fffffffd3a0) at eval.c:2958 #110 0x000055555580c729 in Fapply (nargs=3, args=0x7fffffffd3a0) at eval.c:2582 #111 0x0000555555803420 in Fcall_interactively (function=0x3333630, record_flag=0x0, keys=0x55555f14a18d) at callint.c:384 #112 0x000055555580d96a in funcall_subr (subr=0x555555cda2e0 <Scall_interactively>, numargs=3, args=0x7ffff1466070) at eval.c:3000 #113 0x0000555555864a2c in exec_byte_code (fun=0x7ffff1e8bbfd, args_template=1025, nargs=1, args=0x7fffffffdac0) at bytecode.c:809 #114 0x000055555580dc5b in fetch_and_exec_byte_code (fun=0x7ffff1e8bbfd, args_template=1025, nargs=1, args=0x7fffffffdab8) at eval.c:3045 #115 0x000055555580e04f in funcall_lambda (fun=0x7ffff1e8bbfd, nargs=1, arg_vector=0x7fffffffdab8) at eval.c:3117 #116 0x000055555580d4ba in funcall_general (fun=0x7ffff1e8bbfd, numargs=1, args=0x7fffffffdab8) at eval.c:2908 #117 0x000055555580d71a in Ffuncall (nargs=2, args=0x7fffffffdab0) at eval.c:2958 #118 0x000055555573e080 in call1 (fn=0x4950, arg1=0x3333630) at lisp.h:3239 #119 0x000055555574123e in command_loop_1 () at keyboard.c:1501 #120 0x000055555580995a in internal_condition_case (bfun=0x555555740a30 <command_loop_1>, handlers=0x90, hfun=0x55555573fff9 <cmd_error>) at eval.c:1485 #121 0x00005555557406d1 in command_loop_2 (handlers=0x90) at keyboard.c:1132 #122 0x0000555555808f63 in internal_catch (tag=0xf360, func=0x5555557406a6 <command_loop_2>, arg=0x90) at eval.c:1208 #123 0x0000555555740661 in command_loop () at keyboard.c:1110 #124 0x000055555573fb82 in recursive_edit_1 () at keyboard.c:719 #125 0x000055555573fd34 in Frecursive_edit () at keyboard.c:802 #126 0x000055555573bea4 in main (argc=1, argv=0x7fffffffdfd8) at emacs.c:2517 -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-12 11:45 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-12 12:35 ` Eli Zaretskii 2022-08-12 13:23 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-14 11:21 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 12:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 1 sibling, 2 replies; 32+ messages in thread From: Eli Zaretskii @ 2022-08-12 12:35 UTC (permalink / raw) To: Joe Corneli; +Cc: luangruo, 56869 > Cc: 56869@debbugs.gnu.org > Date: Fri, 12 Aug 2022 12:45:48 +0100 > From: Joe Corneli via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> > > > Po Lu writes: > > > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > > > >> Now it’s produced the following, alongside the crash. I’m happy to > >> adapt the instrumentation further if this is not yet sufficiently > >> useful! > > > > Could you please type "coredumpctl debug emacs", and then in the > > debugger prompt, type "bt", and send the complete backtrace? > > My core file was produced via running Emacs under GDB and running > generate-core-file, hopefully the result is the same! The backtrace is > below. The backtrace says: . the main loop called some command . that command signaled an error . the error caused the Lisp debugger to be called . the debugger was invoked and entered recursive-edit . while waiting for user input, a timer fired . the timer function called write-region . write-region called lock-file . lock-file called a Lisp function, probably to report some conflict with another process(??) locking the file . Emacs prompted the user, probably about the lock . while waiting for user response, Emacs checked timers, and as result called process_pending_signals . one of the pending signals was SIGIO, so Emacs called read-socket, which segfaulted inside GTK Does the above sound reasonable for your Emacs sessions? ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-12 12:35 ` Eli Zaretskii @ 2022-08-12 13:23 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-14 11:21 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 1 sibling, 0 replies; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-12 13:23 UTC (permalink / raw) To: Eli Zaretskii; +Cc: Joe Corneli, 56869 Eli Zaretskii <eliz@gnu.org> writes: > The backtrace says: > > . the main loop called some command > . that command signaled an error > . the error caused the Lisp debugger to be called > . the debugger was invoked and entered recursive-edit > . while waiting for user input, a timer fired > . the timer function called write-region > . write-region called lock-file > . lock-file called a Lisp function, probably to report some conflict > with another process(??) locking the file > . Emacs prompted the user, probably about the lock > . while waiting for user response, Emacs checked timers, and as > result called process_pending_signals > . one of the pending signals was SIGIO, so Emacs called read-socket, > which segfaulted inside GTK > > Does the above sound reasonable for your Emacs sessions? It seems plausible, GTK aborted because it received an X event that it couldn't find a corresponding device for. So to really figure out what event is causing the problem, you have to look inside GTK, because on GTK builds it's reading events and not XTread_socket (which just calls gtk_main_iteration.) ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-12 12:35 ` Eli Zaretskii 2022-08-12 13:23 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-14 11:21 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 1 sibling, 0 replies; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-14 11:21 UTC (permalink / raw) To: Eli Zaretskii; +Cc: luangruo, 56869 Eli Zaretskii writes: > The backtrace says: > > . the main loop called some command > . that command signaled an error > . the error caused the Lisp debugger to be called > . the debugger was invoked and entered recursive-edit > . while waiting for user input, a timer fired > . the timer function called write-region > . write-region called lock-file > . lock-file called a Lisp function, probably to report some conflict > with another process(??) locking the file > . Emacs prompted the user, probably about the lock > . while waiting for user response, Emacs checked timers, and as > result called process_pending_signals > . one of the pending signals was SIGIO, so Emacs called read-socket, > which segfaulted inside GTK > > Does the above sound reasonable for your Emacs sessions? Thanks, that’s certainly a reasonable chain of events, e.g. given that I have mu4e running (which likes to use locks) and there might have been a conflict between two different running instances. Not sure about the last step involving GTK. In my workflow I think the crash occurred only when I was switching between windows in my WM. -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-12 11:45 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 12:35 ` Eli Zaretskii @ 2022-08-12 12:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-14 11:18 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 1 sibling, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-12 12:36 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > #0 0x00007ffff757464d in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #1 0x00007ffff757e989 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #2 0x00007ffff757e4cc in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #3 0x00007ffff75460e4 in gdk_display_get_event () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #4 0x00007ffff757e0e6 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #5 0x00007ffff6f5617d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 > #6 0x00007ffff6f56400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 > #7 0x00007ffff6f564a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 > #8 0x00007ffff78611d9 in gtk_main_iteration () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 Thanks. Unfortunately, you don't seem to have installed the right debuginfo package for libgdk-3, so this information still doesn't help. Could you try to install the `pk-debuginfo-install' utility (normally provided by a `packagekit-tools' package) and run the following command instead? pk-debuginfo-install <name-of-libgtk-3-package> ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-12 12:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-14 11:18 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-15 14:00 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-14 11:18 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > >> #0 0x00007ffff757464d in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >> #1 0x00007ffff757e989 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >> #2 0x00007ffff757e4cc in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >> #3 0x00007ffff75460e4 in gdk_display_get_event () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >> #4 0x00007ffff757e0e6 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 >> #5 0x00007ffff6f5617d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >> #6 0x00007ffff6f56400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >> #7 0x00007ffff6f564a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >> #8 0x00007ffff78611d9 in gtk_main_iteration () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 > > Thanks. Unfortunately, you don't seem to have installed the right > debuginfo package for libgdk-3, so this information still doesn't help. Hm, I think I missed the obvious ones. Have added: sudo apt-get install libgtk-3-0-dbgsym libgtk-3-bin-dbgsym If it crashes again, I’ll give more info. -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-14 11:18 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-15 14:00 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-16 0:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-15 14:00 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Joe Corneli writes: > Hm, I think I missed the obvious ones. Have added: > > sudo apt-get install libgtk-3-0-dbgsym libgtk-3-bin-dbgsym > > If it crashes again, I’ll give more info. OK, I think I’m now able to provide the debugging info you were asking for! As far as I could tell the specific interaction that triggered this was switching between windows. Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. gdk_x11_device_manager_xi2_translate_event (xevent=<optimised out>, event=<optimised out>, display=<optimised out>, translator=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 1794 ../../../../../gdk/x11/gdkdevicemanager-xi2.c: No such file or directory. (gdb) generate-core-file warning: Memory read failed for corefile section, 4096 bytes at 0xffffffffff600000. Saved corefile core.384524 (gdb) bt #0 gdk_x11_device_manager_xi2_translate_event (xevent=<optimised out>, event=<optimised out>, display=<optimised out>, translator=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 #1 gdk_x11_device_manager_xi2_translate_event (translator=<optimised out>, display=<optimised out>, event=<optimised out>, xevent=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1478 #2 0x00007ffff757e989 in _gdk_x11_event_translator_translate (translator=translator@entry=0x555556481800, display=0x55555645d0e0, xevent=xevent@entry=0x7fffffffccc0) at ../../../../../gdk/x11/gdkeventtranslator.c:51 #3 0x00007ffff757e4cc in gdk_event_source_translate_event (xevent=0x7fffffffccc0, event_source=0x555555f7c890) at ../../../../../gdk/x11/gdkeventsource.c:230 #4 _gdk_x11_display_queue_events (display=0x55555645d0e0) at ../../../../../gdk/x11/gdkeventsource.c:341 #5 0x00007ffff75460e4 in gdk_display_get_event (display=display@entry=0x55555645d0e0) at ../../../../gdk/gdkdisplay.c:441 #6 0x00007ffff757e0e6 in gdk_event_source_dispatch (source=<optimised out>, callback=<optimised out>, user_data=<optimised out>) at ../../../../../gdk/x11/gdkeventsource.c:363 #7 0x00007ffff6f5617d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007ffff6f56400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x00007ffff6f564a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x00007ffff78611d9 in gtk_main_iteration () at ../../../../gtk/gtkmain.c:1432 #11 0x00005555556f3c4c in XTread_socket (terminal=0x555556229fe8, hold_quit=0x7fffffffcf90) at xterm.c:23384 #12 0x0000555555750de1 in gobble_input () at keyboard.c:7364 #13 0x0000555555751295 in handle_async_input () at keyboard.c:7595 #14 0x00005555557512b8 in process_pending_signals () at keyboard.c:7609 #15 0x00005555557512fc in unblock_input_to (level=0) at keyboard.c:7624 #16 0x0000555555751324 in unblock_input () at keyboard.c:7643 #17 0x000055555574aa84 in timer_check () at keyboard.c:4734 #18 0x0000555555748485 in readable_events (flags=1) at keyboard.c:3516 #19 0x0000555555750c86 in get_input_pending (flags=1) at keyboard.c:7314 #20 0x0000555555758fe0 in detect_input_pending_run_timers (do_display=true) at keyboard.c:10844 #21 0x0000555555877a12 in wait_reading_process_output (time_limit=135, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at process.c:5780 #22 0x00005555555af4f7 in sit_for (timeout=make_fixnum(135), reading=true, display_option=1) at dispnew.c:6238 #23 0x00005555557465f6 in read_char (commandflag=1, map=XIL(0x55555aebd253), prev_event=XIL(0), used_mouse_menu=0x7fffffffd8b9, end_time=0x0) at keyboard.c:2864 #24 0x00005555557573c6 in read_key_sequence (keybuf=0x7fffffffdaf0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:10021 #25 0x000055555574241e in command_loop_1 () at keyboard.c:1384 #26 0x000055555580b3a2 in internal_condition_case (bfun=0x555555742004 <command_loop_1>, handlers=XIL(0x90), hfun=0x5555557415cd <cmd_error>) at eval.c:1497 #27 0x0000555555741ca5 in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1132 #28 0x000055555580a9ab in internal_catch (tag=XIL(0xf3c0), func=0x555555741c7a <command_loop_2>, arg=XIL(0x90)) at eval.c:1220 #29 0x0000555555741c35 in command_loop () at keyboard.c:1110 #30 0x0000555555741156 in recursive_edit_1 () at keyboard.c:719 #31 0x0000555555741308 in Frecursive_edit () at keyboard.c:802 #32 0x000055555573d478 in main (argc=1, argv=0x7fffffffdf98) at emacs.c:2517 -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-15 14:00 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-16 0:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-16 10:14 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-16 0:58 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > Joe Corneli writes: > >> Hm, I think I missed the obvious ones. Have added: >> >> sudo apt-get install libgtk-3-0-dbgsym libgtk-3-bin-dbgsym >> >> If it crashes again, I’ll give more info. > > OK, I think I’m now able to provide the debugging info you were asking > for! As far as I could tell the specific interaction that triggered > this was switching between windows. Thanks. Unfortunately, the line number doesn't make much sense, so could you also type "l" at the debugger prompt and show the output? > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > gdk_x11_device_manager_xi2_translate_event (xevent=<optimised out>, event=<optimised out>, display=<optimised out>, > translator=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 > 1794 ../../../../../gdk/x11/gdkdevicemanager-xi2.c: No such file or directory. > (gdb) generate-core-file > warning: Memory read failed for corefile section, 4096 bytes at 0xffffffffff600000. > Saved corefile core.384524 > (gdb) bt > #0 gdk_x11_device_manager_xi2_translate_event > (xevent=<optimised out>, event=<optimised out>, display=<optimised out>, translator=<optimised out>) > at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-16 0:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-16 10:14 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-16 10:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-16 10:14 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > >> Joe Corneli writes: >> >>> Hm, I think I missed the obvious ones. Have added: >>> >>> sudo apt-get install libgtk-3-0-dbgsym libgtk-3-bin-dbgsym >>> >>> If it crashes again, I’ll give more info. >> >> OK, I think I’m now able to provide the debugging info you were asking >> for! As far as I could tell the specific interaction that triggered >> this was switching between windows. > > Thanks. Unfortunately, the line number doesn't make much sense, so > could you also type "l" at the debugger prompt and show the output? joe@Proteus:~/emacs$ gdb src/emacs core.384524 ... [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/joe/emacs/src/emacs'. Program terminated with signal SIGSEGV, Segmentation fault. #0 gdk_x11_device_manager_xi2_translate_event (xevent=<optimised out>, event=<optimised out>, display=<optimised out>, translator=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 1794 ../../../../../gdk/x11/gdkdevicemanager-xi2.c: No such file or directory. [Current thread is 1 (Thread 0x7ffff2947040 (LWP 384524))] (gdb) l 1789 in ../../../../../gdk/x11/gdkdevicemanager-xi2.c -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-16 10:14 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-16 10:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-16 14:36 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-16 10:52 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > joe@Proteus:~/emacs$ gdb src/emacs core.384524 > ... > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > Core was generated by `/home/joe/emacs/src/emacs'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 gdk_x11_device_manager_xi2_translate_event (xevent=<optimised out>, event=<optimised out>, > display=<optimised out>, translator=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 > 1794 ../../../../../gdk/x11/gdkdevicemanager-xi2.c: No such file or directory. > [Current thread is 1 (Thread 0x7ffff2947040 (LWP 384524))] > (gdb) l > 1789 in ../../../../../gdk/x11/gdkdevicemanager-xi2.c Sigh, I guess you need the source packages as well. Not sure what that would be on Debian. Thanks in advance. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-16 10:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-16 14:36 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-17 13:47 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-16 14:36 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > >> joe@Proteus:~/emacs$ gdb src/emacs core.384524 >> ... >> [Thread debugging using libthread_db enabled] >> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >> Core was generated by `/home/joe/emacs/src/emacs'. >> Program terminated with signal SIGSEGV, Segmentation fault. >> #0 gdk_x11_device_manager_xi2_translate_event (xevent=<optimised out>, event=<optimised out>, >> display=<optimised out>, translator=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 >> 1794 ../../../../../gdk/x11/gdkdevicemanager-xi2.c: No such file or directory. >> [Current thread is 1 (Thread 0x7ffff2947040 (LWP 384524))] >> (gdb) l >> 1789 in ../../../../../gdk/x11/gdkdevicemanager-xi2.c > > Sigh, I guess you need the source packages as well. Not sure what that > would be on Debian. > > Thanks in advance. In light of the previous, I think this is what’s needed. Details will be forthcoming with the next crash! joe@Proteus:~$ sudo apt-get source libgtk-3-0 [sudo] password for joe: Reading package lists... Done Picking 'gtk+3.0' as source package instead of 'libgtk-3-0' NOTICE: 'gtk+3.0' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/gnome-team/gtk3.git -b ubuntu/focal Please use: git clone https://salsa.debian.org/gnome-team/gtk3.git -b ubuntu/focal to retrieve the latest (possibly unreleased) updates to the package. Need to get 22.9 MB of source archives. Get:1 http://gb.archive.ubuntu.com/ubuntu focal-updates/main gtk+3.0 3.24.20-0ubuntu1.1 (dsc) [3,686 B] Get:2 http://gb.archive.ubuntu.com/ubuntu focal-updates/main gtk+3.0 3.24.20-0ubuntu1.1 (tar) [22.7 MB] Get:3 http://gb.archive.ubuntu.com/ubuntu focal-updates/main gtk+3.0 3.24.20-0ubuntu1.1 (diff) [172 kB] Fetched 22.9 MB in 4s (6,175 kB/s) dpkg-source: info: extracting gtk+3.0 in gtk+3.0-3.24.20 dpkg-source: info: unpacking gtk+3.0_3.24.20.orig.tar.xz dpkg-source: info: unpacking gtk+3.0_3.24.20-0ubuntu1.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying git_rendering_issues.patch dpkg-source: info: applying git_newglib_symbols.patch dpkg-source: info: applying updateiconcache-Sort-list-of-entries.patch dpkg-source: info: applying gdk-Don-t-distribute-generated-files-in-tarballs.patch dpkg-source: info: applying gtk-Really-don-t-distribute-built-files.patch dpkg-source: info: applying demos-examples-tests-Don-t-distribute-built-files.patch dpkg-source: info: applying 016_no_offscreen_widgets_grabbing.patch dpkg-source: info: applying 017_no_offscreen_device_grabbing.patch dpkg-source: info: applying 060_ignore-random-icons.patch dpkg-source: info: applying reftest-known-fail.patch dpkg-source: info: applying Disable-accessibility-dump-aka-a11ytests-test.patch dpkg-source: info: applying 073_treeview_almost_fixed.patch dpkg-source: info: applying bzg_gtkcellrenderer_grabbing_modifier.patch dpkg-source: info: applying ubuntu_gtk_custom_menu_items.patch dpkg-source: info: applying print-dialog-show-options-of-remote-dnssd-printers.patch dpkg-source: info: applying uimanager-guard-against-nested-node-updates.patch dpkg-source: info: applying x-canonical-accel.patch dpkg-source: info: applying message-dialog-restore-traditional-look-on-unity.patch dpkg-source: info: applying 0001-gtk-reftest-Force-icon-theme-to-Adwaita.patch dpkg-source: info: applying 0001-calendar-always-emit-day-selected-once.patch dpkg-source: info: applying 0001-gtkwindow-set-transparent-background-color.patch dpkg-source: info: applying unity-border-radius.patch dpkg-source: info: applying unity-headerbar-maximized-mode.patch W: Download is performed unsandboxed as root, as file 'gtk+3.0_3.24.20-0ubuntu1.1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-16 14:36 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-17 13:47 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-18 2:38 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-17 13:47 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Joe Corneli writes: > > In light of the previous, I think this is what’s needed. Details will > be forthcoming with the next crash! > > joe@Proteus:~$ sudo apt-get source libgtk-3-0 OK, here’s the next round of backtrace. Now it includes some Lisp details, implicating feebleline (https://melpa.org/#/feebleline) as the source of the problems. #0 gdk_x11_device_manager_xi2_translate_event (xevent=<optimised out>, event=<optimised out>, display=<optimised out>, translator=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 #1 gdk_x11_device_manager_xi2_translate_event (translator=<optimised out>, display=<optimised out>, event=<optimised out>, xevent=<optimised out>) at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1478 #2 0x00007ffff757e989 in _gdk_x11_event_translator_translate (translator=translator@entry=0x55555647e400, display=0x55555645a0e0, xevent=xevent@entry=0x7ffffffe9730) at ../../../../../gdk/x11/gdkeventtranslator.c:51 #3 0x00007ffff757e4cc in gdk_event_source_translate_event (xevent=0x7ffffffe9730, event_source=0x55555648b380) at ../../../../../gdk/x11/gdkeventsource.c:230 #4 _gdk_x11_display_queue_events (display=0x55555645a0e0) at ../../../../../gdk/x11/gdkeventsource.c:341 #5 0x00007ffff75460e4 in gdk_display_get_event (display=display@entry=0x55555645a0e0) at ../../../../gdk/gdkdisplay.c:441 #6 0x00007ffff757e0e6 in gdk_event_source_dispatch (source=<optimised out>, callback=<optimised out>, user_data=<optimised out>) at ../../../../../gdk/x11/gdkeventsource.c:363 #7 0x00007ffff6f5617d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00007ffff6f56400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x00007ffff6f564a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x00007ffff78611d9 in gtk_main_iteration () at ../../../../gtk/gtkmain.c:1432 #11 0x00005555556f3c4c in XTread_socket (terminal=0x5555560b1c00, hold_quit=0x7ffffffe9a00) at xterm.c:23384 #12 0x0000555555750de1 in gobble_input () at keyboard.c:7364 #13 0x0000555555751295 in handle_async_input () at keyboard.c:7595 #14 0x00005555557512b8 in process_pending_signals () at keyboard.c:7609 #15 0x000055555580b978 in probably_quit () at eval.c:1683 #16 0x000055555576894c in maybe_quit () at lisp.h:3681 #17 0x000055555576bcdc in emacs_intr_read (fd=30, buf=0x7ffffffea4d0, nbyte=16384, interruptible=true) at sysdep.c:2528 #18 0x000055555576bd6c in emacs_read_quit (fd=30, buf=0x7ffffffea4d0, nbyte=16384) at sysdep.c:2550 #19 0x000055555588614c in call_process (nargs=6, args=0x7ffff14502f0, filefd=24, tempfile_index=...) at callproc.c:762 #20 0x0000555555884b32 in Fcall_process (nargs=6, args=0x7ffff14502f0) at callproc.c:317 #21 0x000055555580f9ad in funcall_subr (subr=0x555555e0f9a0 <Scall_process>, numargs=6, args=0x7ffff14502f0) at eval.c:3079 #22 0x00005555558641ee in exec_byte_code (fun=XIL(0x7ffff2094975), args_template=1153, nargs=3, args=0x7ffff1450260) at bytecode.c:809 #23 0x000055555580faa2 in fetch_and_exec_byte_code (fun=XIL(0x555557b79a65), args_template=0, nargs=0, args=0x0) at eval.c:3101 #24 0x000055555581023c in funcall_lambda (fun=XIL(0x555557b79a65), nargs=0, arg_vector=0x7ffff1450148) at eval.c:3262 #25 0x000055555580f301 in funcall_general (fun=XIL(0x555557b79a65), numargs=0, args=0x7ffff1450148) at eval.c:2964 #26 0x000055555586420e in exec_byte_code (fun=XIL(0x555557a8cfa5), args_template=0, nargs=0, args=0x0) at bytecode.c:811 #27 0x000055555580faa2 in fetch_and_exec_byte_code (fun=XIL(0x555557a8cfa5), args_template=0, nargs=0, args=0x0) at eval.c:3101 #28 0x000055555581023c in funcall_lambda (fun=XIL(0x555557a8cfa5), nargs=5, arg_vector=0x7fffffffb1b8) at eval.c:3262 #29 0x000055555580f301 in funcall_general (fun=XIL(0x555557a8cfa5), numargs=5, args=0x7fffffffb1b8) at eval.c:2964 #30 0x000055555580f561 in Ffuncall (nargs=6, args=0x7fffffffb1b0) at eval.c:3014 #31 0x000055555580e9c5 in Fapply (nargs=2, args=0x7ffff14500e8) at eval.c:2685 #32 0x000055555580f9ad in funcall_subr (subr=0x555555e0ada0 <Sapply>, numargs=2, args=0x7ffff14500e8) at eval.c:3079 #33 0x00005555558641ee in exec_byte_code (fun=XIL(0x555557b4fded), args_template=0, nargs=0, args=0x0) at bytecode.c:809 #34 0x000055555580faa2 in fetch_and_exec_byte_code (fun=XIL(0x555557b4fded), args_template=0, nargs=0, args=0x0) at eval.c:3101 #35 0x000055555581023c in funcall_lambda (fun=XIL(0x555557b4fded), nargs=0, arg_vector=0x7ffff14500a8) at eval.c:3262 #36 0x000055555580f301 in funcall_general (fun=XIL(0x555557b4fded), numargs=0, args=0x7ffff14500a8) at eval.c:2964 #37 0x000055555586420e in exec_byte_code (fun=XIL(0x555557a8ce3d), args_template=0, nargs=0, args=0x0) at bytecode.c:811 #38 0x000055555580faa2 in fetch_and_exec_byte_code (fun=XIL(0x555557a8ce3d), args_template=0, nargs=0, args=0x0) at eval.c:3101 #39 0x000055555581023c in funcall_lambda (fun=XIL(0x555557a8ce3d), nargs=0, arg_vector=0x7ffff1450058) at eval.c:3262 #40 0x000055555580f301 in funcall_general (fun=XIL(0x555557a8ce3d), numargs=0, args=0x7ffff1450058) at eval.c:2964 #41 0x000055555580f561 in Ffuncall (nargs=1, args=0x7ffff1450050) at eval.c:3014 #42 0x000055555580e570 in Fapply (nargs=2, args=0x7ffff1450050) at eval.c:2638 #43 0x000055555580f9ad in funcall_subr (subr=0x555555e0ada0 <Sapply>, numargs=2, args=0x7ffff1450050) at eval.c:3079 #44 0x00005555558641ee in exec_byte_code (fun=XIL(0x7ffff1ea5e15), args_template=257, nargs=1, args=0x7ffff1450198) at bytecode.c:809 #45 0x000055555580faa2 in fetch_and_exec_byte_code (fun=XIL(0x7ffff256eb6d), args_template=257, nargs=1, args=0x7fffffffc608) at eval.c:3101 #46 0x000055555580fe96 in funcall_lambda (fun=XIL(0x7ffff256eb6d), nargs=1, arg_vector=0x7fffffffc608) at eval.c:3173 #47 0x000055555580f301 in funcall_general (fun=XIL(0x7ffff256eb6d), numargs=1, args=0x7fffffffc608) at eval.c:2964 #48 0x000055555580f561 in Ffuncall (nargs=2, args=0x7fffffffc600) at eval.c:3014 #49 0x000055555573f654 in call1 (fn=XIL(0xf0c0), arg1=XIL(0x555557aa7a8d)) at lisp.h:3239 #50 0x000055555574a92e in timer_check_2 (timers=XIL(0x5555603b15f3), idle_timers=XIL(0)) at keyboard.c:4673 #51 0x000055555574aaa2 in timer_check () at keyboard.c:4739 #52 0x0000555555748485 in readable_events (flags=1) at keyboard.c:3516 #53 0x0000555555750c86 in get_input_pending (flags=1) at keyboard.c:7314 #54 0x0000555555758fe0 in detect_input_pending_run_timers (do_display=true) at keyboard.c:10844 #55 0x0000555555877a12 in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at process.c:5780 #56 0x0000555555749144 in kbd_buffer_get_event (kbp=0x7fffffffcd58, used_mouse_menu=0x7fffffffd369, end_time=0x0) at keyboard.c:3995 #57 0x0000555555744d55 in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffd170, used_mouse_menu=0x7fffffffd369) at keyboard.c:2262 #58 0x0000555555745082 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffd170, prev_event=XIL(0), used_mouse_menu=0x7fffffffd369) at keyboard.c:2326 #59 0x0000555555746a2c in read_char (commandflag=1, map=XIL(0x5555617be733), prev_event=XIL(0), used_mouse_menu=0x7fffffffd369, end_time=0x0) at keyboard.c:2956 #60 0x00005555557573c6 in read_key_sequence (keybuf=0x7fffffffd5a0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:10021 #61 0x000055555574241e in command_loop_1 () at keyboard.c:1384 #62 0x000055555580b3a2 in internal_condition_case (bfun=0x555555742004 <command_loop_1>, handlers=XIL(0x90), hfun=0x5555557415cd <cmd_error>) at eval.c:1497 #63 0x0000555555741ca5 in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1132 #64 0x000055555580a9ab in internal_catch (tag=XIL(0xf3c0), func=0x555555741c7a <command_loop_2>, arg=XIL(0x90)) at eval.c:1220 #65 0x0000555555741c35 in command_loop () at keyboard.c:1110 #66 0x0000555555741156 in recursive_edit_1 () at keyboard.c:719 #67 0x0000555555741308 in Frecursive_edit () at keyboard.c:802 #68 0x000055555573d478 in main (argc=1, argv=0x7fffffffda48) at emacs.c:2517 Lisp Backtrace: "call-process" (0xf14502f0) "call-process-shell-command" (0xf1450248) "shell-command" (0xf14501e0) "shell-command-to-string" (0xf1450190) "feebleline-git-branch" (0xf1450148) "feebleline--insert-func" (0xffffb1b8) "apply" (0xf14500e8) "feebleline--insert" (0xf14500a8) "feebleline--insert-ignore-errors" (0xf1450058) "apply" (0xf1450050) "timer-event-handler" (0xffffc608) 1789 in ../../../../../gdk/x11/gdkdevicemanager-xi2.c -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-17 13:47 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-18 2:38 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-18 13:20 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-18 2:38 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > Joe Corneli writes: >> >> In light of the previous, I think this is what’s needed. Details will >> be forthcoming with the next crash! >> >> joe@Proteus:~$ sudo apt-get source libgtk-3-0 > > OK, here’s the next round of backtrace. Now it includes some Lisp > details, implicating feebleline (https://melpa.org/#/feebleline) as the > source of the problems. Async input can be read almost anywhere, and that includes from Lisp. So feebleline is most likely not the problem here. > #0 gdk_x11_device_manager_xi2_translate_event > (xevent=<optimised out>, event=<optimised out>, display=<optimised out>, translator=<optimised out>) > at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 > #1 gdk_x11_device_manager_xi2_translate_event > (translator=<optimised out>, display=<optimised out>, event=<optimised out>, xevent=<optimised out>) > at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1478 > #2 0x00007ffff757e989 in _gdk_x11_event_translator_translate > (translator=translator@entry=0x55555647e400, display=0x55555645a0e0, xevent=xevent@entry=0x7ffffffe9730) > at ../../../../../gdk/x11/gdkeventtranslator.c:51 > #3 0x00007ffff757e4cc in gdk_event_source_translate_event (xevent=0x7ffffffe9730, event_source=0x55555648b380) > at ../../../../../gdk/x11/gdkeventsource.c:230 > #4 _gdk_x11_display_queue_events (display=0x55555645a0e0) at ../../../../../gdk/x11/gdkeventsource.c:341 > #5 0x00007ffff75460e4 in gdk_display_get_event (display=display@entry=0x55555645a0e0) > at ../../../../gdk/gdkdisplay.c:441 > #6 0x00007ffff757e0e6 in gdk_event_source_dispatch > (source=<optimised out>, callback=<optimised out>, user_data=<optimised out>) > at ../../../../../gdk/x11/gdkeventsource.c:363 As I said, the line number is unfortunately not very informative, so please type "l" to show a listing of the GDK code at that particular line. Thanks. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-18 2:38 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-18 13:20 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-19 1:42 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-18 13:20 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > >> Joe Corneli writes: >>> >>> In light of the previous, I think this is what’s needed. Details will >>> be forthcoming with the next crash! >>> >>> joe@Proteus:~$ sudo apt-get source libgtk-3-0 >> >> OK, here’s the next round of backtrace. Now it includes some Lisp >> details, implicating feebleline (https://melpa.org/#/feebleline) as the >> source of the problems. > > Async input can be read almost anywhere, and that includes from Lisp. > So feebleline is most likely not the problem here. For now, I’ve turned off the feature that seemed most suspicious... https://github.com/tautologyclub/feebleline/issues/66 If it turns out that I don’t have any crashes then great! Otherwise, more reports will surely follow. > As I said, the line number is unfortunately not very informative, so > please type "l" to show a listing of the GDK code at that particular > line. > > Thanks. Sure, though I forgot to save the core file last time, so I can’t press "l" in gdb, but here are indicative code snippets from the files named in the previous backtrace. The mentioned lines are marked below: ... M-x occur RET /\*[0-9]+\*/ RET Thank you! >> #0 gdk_x11_device_manager_xi2_translate_event >> (xevent=<optimised out>, event=<optimised out>, display=<optimised out>, translator=<optimised out>) >> at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1794 event->motion.type = GDK_MOTION_NOTIFY; event->motion.window = window; event->motion.time = xev->time; event->motion.x = (gdouble) xev->event_x / scale; event->motion.y = (gdouble) xev->event_y / scale; event->motion.x_root = (gdouble) xev->root_x / scale; event->motion.y_root = (gdouble) xev->root_y / scale; event->motion.device = device; gdk_event_set_source_device (event, source_device); gdk_event_set_seat (event, gdk_device_get_seat (device)); gdk_event_set_device_tool (event, source_device->last_tool); /*1794*/ event->motion.state = _gdk_x11_device_xi2_translate_state (&xev->mods, &xev->buttons, &xev->group); #ifdef XINPUT_2_2 if (xev->flags & XIPointerEmulated) gdk_event_set_pointer_emulated (event, TRUE); #endif >> #1 gdk_x11_device_manager_xi2_translate_event >> (translator=<optimised out>, display=<optimised out>, event=<optimised out>, xevent=<optimised out>) >> at ../../../../../gdk/x11/gdkdevicemanager-xi2.c:1478 static gboolean gdk_x11_device_manager_xi2_translate_event (GdkEventTranslator *translator, /*1478*/ GdkDisplay *display, GdkEvent *event, XEvent *xevent) { GdkX11DeviceManagerXI2 *device_manager; XGenericEventCookie *cookie; GdkDevice *device, *source_device; gboolean return_val = TRUE; GdkWindow *window; GdkWindowImplX11 *impl; int scale; XIEvent *ev; /*...*/ >> #2 0x00007ffff757e989 in _gdk_x11_event_translator_translate >> (translator=translator@entry=0x55555647e400, display=0x55555645a0e0, xevent=xevent@entry=0x7ffffffe9730) >> at ../../../../../gdk/x11/gdkeventtranslator.c:51 GdkEvent * _gdk_x11_event_translator_translate (GdkEventTranslator *translator, GdkDisplay *display, XEvent *xevent) { GdkEventTranslatorIface *iface; GdkEvent *event; g_return_val_if_fail (GDK_IS_EVENT_TRANSLATOR (translator), NULL); g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL); iface = GDK_EVENT_TRANSLATOR_GET_IFACE (translator); if (!iface->translate_event) return NULL; event = gdk_event_new (GDK_NOTHING); if ((iface->translate_event) (translator, display, event, xevent)) /*51*/ return event; gdk_event_free (event); return NULL; } >> #3 0x00007ffff757e4cc in gdk_event_source_translate_event (xevent=0x7ffffffe9730, event_source=0x55555648b380) >> at ../../../../../gdk/x11/gdkeventsource.c:230 static GdkEvent * gdk_event_source_translate_event (GdkEventSource *event_source, XEvent *xevent) { GdkEvent *event = gdk_event_new (GDK_NOTHING); GdkFilterReturn result = GDK_FILTER_CONTINUE; GdkEventTranslator *event_translator; GdkWindow *filter_window; Display *dpy; dpy = GDK_DISPLAY_XDISPLAY (event_source->display); #ifdef HAVE_XGENERICEVENTS /* Get cookie data here so it's available * to every event translator and event filter. */ if (xevent->type == GenericEvent) XGetEventData (dpy, &xevent->xcookie); #endif filter_window = gdk_event_source_get_filter_window (event_source, xevent, &event_translator); if (filter_window) event->any.window = g_object_ref (filter_window); /* Run default filters */ if (_gdk_default_filters) { /* Apply global filters */ result = gdk_event_apply_filters (xevent, event, NULL); } if (result == GDK_FILTER_CONTINUE && filter_window && filter_window->filters) { /* Apply per-window filters */ result = gdk_event_apply_filters (xevent, event, filter_window); } if (result != GDK_FILTER_CONTINUE) { #ifdef HAVE_XGENERICEVENTS if (xevent->type == GenericEvent) XFreeEventData (dpy, &xevent->xcookie); #endif if (result == GDK_FILTER_REMOVE) { gdk_event_free (event); return NULL; } else /* GDK_FILTER_TRANSLATE */ return event; } gdk_event_free (event); event = NULL; if (event_translator) { /* Event translator was gotten before in get_filter_window() */ event = _gdk_x11_event_translator_translate (event_translator, /*230*/ event_source->display, xevent); } else { GList *list = event_source->translators; while (list && !event) { GdkEventTranslator *translator = list->data; list = list->next; event = _gdk_x11_event_translator_translate (translator, event_source->display, xevent); } } if (event && (event->type == GDK_ENTER_NOTIFY || event->type == GDK_LEAVE_NOTIFY) && event->crossing.window != NULL) { /* Handle focusing (in the case where no window manager is running */ handle_focus_change (&event->crossing); } #ifdef HAVE_XGENERICEVENTS if (xevent->type == GenericEvent) XFreeEventData (dpy, &xevent->xcookie); #endif return event; } >> #4 _gdk_x11_display_queue_events (display=0x55555645a0e0) at >>../../../../../gdk/x11/gdkeventsource.c:341 void _gdk_x11_display_queue_events (GdkDisplay *display) { GdkEvent *event; XEvent xevent; Display *xdisplay = GDK_DISPLAY_XDISPLAY (display); GdkEventSource *event_source; GdkX11Display *display_x11; display_x11 = GDK_X11_DISPLAY (display); event_source = (GdkEventSource *) display_x11->event_source; while (!_gdk_event_queue_find_first (display) && XPending (xdisplay)) { XNextEvent (xdisplay, &xevent); switch (xevent.type) { case KeyPress: case KeyRelease: break; default: if (XFilterEvent (&xevent, None)) continue; } event = gdk_event_source_translate_event (event_source, &xevent); /*341*/ if (event) { GList *node; node = _gdk_event_queue_append (display, event); _gdk_windowing_got_event (display, node, event, xevent.xany.serial); } } } >> #5 0x00007ffff75460e4 in gdk_display_get_event (display=display@entry=0x55555645a0e0) >> at ../../../../gdk/gdkdisplay.c:441 GdkEvent* gdk_display_get_event (GdkDisplay *display) { g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL); if (display->event_pause_count == 0) GDK_DISPLAY_GET_CLASS (display)->queue_events (display); /*441*/ return _gdk_event_unqueue (display); } >> #6 0x00007ffff757e0e6 in gdk_event_source_dispatch >> (source=<optimised out>, callback=<optimised out>, user_data=<optimised out>) >> at ../../../../../gdk/x11/gdkeventsource.c:363 static gboolean gdk_event_source_dispatch (GSource *source, GSourceFunc callback, gpointer user_data) { GdkDisplay *display = ((GdkEventSource*) source)->display; GdkEvent *event; gdk_threads_enter (); event = gdk_display_get_event (display); /*363*/ if (event) { _gdk_event_emit (event); gdk_event_free (event); } gdk_threads_leave (); return TRUE; } -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-18 13:20 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-19 1:42 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-21 9:57 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-19 1:42 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > Thank you! Thanks. That's pretty odd, I guess gdk_device_get_seat is what's failing here, followed by the reference to source_device->last_tool causing a segfault. When you next encounter this crash, please show the value of "xev->sourceid" (p xev->sourceid in gdb) and the shell command "xinput list-devices" immediately after it happens. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-19 1:42 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-21 9:57 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-21 10:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-21 9:57 UTC (permalink / raw) To: Po Lu; +Cc: 56869 Po Lu writes: > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > >> Thank you! > > Thanks. That's pretty odd, I guess gdk_device_get_seat is what's > failing here, followed by the reference to source_device->last_tool > causing a segfault. > > When you next encounter this crash, please show the value of > "xev->sourceid" (p xev->sourceid in gdb) and the shell command "xinput > list-devices" immediately after it happens. OK, here’s the info: (gdb) p xev->sourceid $1 = 12 $ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ MSFT0001:01 06CB:CD64 Mouse id=11 [slave pointer (2)] ⎜ ↳ MSFT0001:01 06CB:CD64 Touchpad id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ Intel HID events id=13 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)] ↳ Chicony USB2.0 Camera: Chicony id=10 [slave keyboard (3)] ... and another possible clue, which is that I’m running Touchpad Indicator, https://github.com/atareao/Touchpad-Indicator and I have it set up to disable the trackpad _while typing_. Perhaps the way it enables and disables the trackpad is currently interacting with Emacs in a glitchy way. ... ==== start set_touch_enabled ===== set_touch_enabled: True are_all_touchpad_enabled: False ==|== ==|== 1 ==== start set_touch_enabled ===== set_touch_enabled: False are_all_touchpad_enabled: True ... -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-21 9:57 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-21 10:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-21 11:00 ` Eli Zaretskii 2023-09-03 9:13 ` Stefan Kangas 0 siblings, 2 replies; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-21 10:56 UTC (permalink / raw) To: Joe Corneli; +Cc: 56869 tags 56869 wontfix thanks Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > OK, here’s the info: > > (gdb) p xev->sourceid > $1 = 12 > > $ xinput list > ⎡ Virtual core pointer id=2 [master pointer (3)] > ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] > ⎜ ↳ MSFT0001:01 06CB:CD64 Mouse id=11 [slave pointer (2)] > ⎜ ↳ MSFT0001:01 06CB:CD64 Touchpad id=12 [slave pointer (2)] > ⎣ Virtual core keyboard id=3 [master keyboard (2)] > ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] > ↳ Power Button id=6 [slave keyboard (3)] > ↳ Video Bus id=7 [slave keyboard (3)] > ↳ Power Button id=8 [slave keyboard (3)] > ↳ Sleep Button id=9 [slave keyboard (3)] > ↳ Intel HID events id=13 [slave keyboard (3)] > ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)] > ↳ Chicony USB2.0 Camera: Chicony id=10 [slave keyboard (3)] > > > ... and another possible clue, which is that I’m running Touchpad > Indicator, https://github.com/atareao/Touchpad-Indicator > > and I have it set up to disable the trackpad _while typing_. Perhaps > the way it enables and disables the trackpad is currently interacting > with Emacs in a glitchy way. Right, I think I know what this is now. GTK fails to read information about the trackpad due to it being disabled between the XI_HierarchyChange event being sent and and it being handled. GTK then segfaults trying to access a field in a device it doesn't know about. This only shows up in Emacs, because most other GTK programs do not make people rapidly alternate between trackpad and keyboard use. I suggest using a build of Emacs without GTK. If you have to use GTK, turn off '--with-xinput2', but as a result several features will no longer work. Thanks. BTW, the quality of the GDK X11 backend has lately dropped to a very low level. I'm going to push for the Emacs build to default to the Motif or no-toolkit build instead. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-21 10:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-21 11:00 ` Eli Zaretskii 2022-08-22 6:21 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2023-09-03 9:13 ` Stefan Kangas 1 sibling, 1 reply; 32+ messages in thread From: Eli Zaretskii @ 2022-08-21 11:00 UTC (permalink / raw) To: Po Lu; +Cc: joseph.corneli, 56869 > Cc: 56869@debbugs.gnu.org > Date: Sun, 21 Aug 2022 18:56:49 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> > > BTW, the quality of the GDK X11 backend has lately dropped to a very low > level. I'm going to push for the Emacs build to default to the Motif or > no-toolkit build instead. The no-toolkit alternative will be a hard sell, IMO. Why not Lucid? ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-21 11:00 ` Eli Zaretskii @ 2022-08-22 6:21 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-22 6:37 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 1 reply; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-22 6:21 UTC (permalink / raw) To: Eli Zaretskii; +Cc: Po Lu, 56869 Eli Zaretskii writes: > The no-toolkit alternative will be a hard sell, IMO. > > Why not Lucid? Hi Po, Eli, Thanks for the suggestions, and for helping me to understand the debugging symbols etc. I’ve updated my build for Lucid. Looking around I think --with-xft is also needed in that case. Joe -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-22 6:21 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-22 6:37 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-22 11:27 ` Eli Zaretskii 2022-08-22 12:59 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 0 siblings, 2 replies; 32+ messages in thread From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-22 6:37 UTC (permalink / raw) To: Joe Corneli; +Cc: Eli Zaretskii, 56869 Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > Thanks for the suggestions, and for helping me to understand the > debugging symbols etc. > > I’ve updated my build for Lucid. Looking around I think --with-xft is > also needed in that case. If you want color Emoji support, you should be using Cairo instead of Xft. Both are enabled by default, with Cairo taking precedence over Xft, so --with-xft is redundant on a system with Cairo installed. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-22 6:37 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-22 11:27 ` Eli Zaretskii 2022-08-22 12:59 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 1 sibling, 0 replies; 32+ messages in thread From: Eli Zaretskii @ 2022-08-22 11:27 UTC (permalink / raw) To: Po Lu; +Cc: joseph.corneli, 56869 > From: Po Lu <luangruo@yahoo.com> > Cc: Eli Zaretskii <eliz@gnu.org>, 56869@debbugs.gnu.org > Date: Mon, 22 Aug 2022 14:37:06 +0800 > > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > > > Thanks for the suggestions, and for helping me to understand the > > debugging symbols etc. > > > > I’ve updated my build for Lucid. Looking around I think --with-xft is > > also needed in that case. > > If you want color Emoji support, you should be using Cairo instead of > Xft. Both are enabled by default, with Cairo taking precedence over > Xft, so --with-xft is redundant on a system with Cairo installed. Indeed. In general, we advise against using Xft, as it is unmaintained and has known issues with displaying some characters. ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-22 6:37 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-22 11:27 ` Eli Zaretskii @ 2022-08-22 12:59 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 1 sibling, 0 replies; 32+ messages in thread From: Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-22 12:59 UTC (permalink / raw) To: Po Lu; +Cc: Eli Zaretskii, 56869 Po Lu writes: > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > >> Thanks for the suggestions, and for helping me to understand the >> debugging symbols etc. >> >> I’ve updated my build for Lucid. Looking around I think --with-xft is >> also needed in that case. > > If you want color Emoji support, you should be using Cairo instead of > Xft. Both are enabled by default, with Cairo taking precedence over > Xft, so --with-xft is redundant on a system with Cairo installed. Can confirm I have color emojis! 👻 -- Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorporated 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284). ^ permalink raw reply [flat|nested] 32+ messages in thread
* bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" 2022-08-21 10:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-21 11:00 ` Eli Zaretskii @ 2023-09-03 9:13 ` Stefan Kangas 1 sibling, 0 replies; 32+ messages in thread From: Stefan Kangas @ 2023-09-03 9:13 UTC (permalink / raw) To: Po Lu; +Cc: Joe Corneli, 56869-done Po Lu <luangruo@yahoo.com> writes: > tags 56869 wontfix > thanks > > Joe Corneli <joseph.corneli@hyperreal.enterprises> writes: > >> OK, here’s the info: >> >> (gdb) p xev->sourceid >> $1 = 12 >> >> $ xinput list >> ⎡ Virtual core pointer id=2 [master pointer (3)] >> ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] >> ⎜ ↳ MSFT0001:01 06CB:CD64 Mouse id=11 [slave pointer (2)] >> ⎜ ↳ MSFT0001:01 06CB:CD64 Touchpad id=12 [slave pointer (2)] >> ⎣ Virtual core keyboard id=3 [master keyboard (2)] >> ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] >> ↳ Power Button id=6 [slave keyboard (3)] >> ↳ Video Bus id=7 [slave keyboard (3)] >> ↳ Power Button id=8 [slave keyboard (3)] >> ↳ Sleep Button id=9 [slave keyboard (3)] >> ↳ Intel HID events id=13 [slave keyboard (3)] >> ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)] >> ↳ Chicony USB2.0 Camera: Chicony id=10 [slave keyboard (3)] >> >> >> ... and another possible clue, which is that I’m running Touchpad >> Indicator, https://github.com/atareao/Touchpad-Indicator >> >> and I have it set up to disable the trackpad _while typing_. Perhaps >> the way it enables and disables the trackpad is currently interacting >> with Emacs in a glitchy way. > > Right, I think I know what this is now. GTK fails to read information > about the trackpad due to it being disabled between the > XI_HierarchyChange event being sent and and it being handled. GTK then > segfaults trying to access a field in a device it doesn't know about. > > This only shows up in Emacs, because most other GTK programs do not make > people rapidly alternate between trackpad and keyboard use. > > I suggest using a build of Emacs without GTK. If you have to use GTK, > turn off '--with-xinput2', but as a result several features will no > longer work. > > Thanks. > > BTW, the quality of the GDK X11 backend has lately dropped to a very low > level. I'm going to push for the Emacs build to default to the Motif or > no-toolkit build instead. Thanks, so it seems like the solution is to use a build without GTK or '--with-xinput2'. I'm therefore closing this bug report. ^ permalink raw reply [flat|nested] 32+ messages in thread
end of thread, other threads:[~2023-09-03 9:13 UTC | newest] Thread overview: 32+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-08-01 13:08 bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-02 1:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-02 14:17 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-02 18:22 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-03 1:14 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-11 9:56 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-11 11:48 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-11 13:34 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 1:17 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 11:45 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 12:35 ` Eli Zaretskii 2022-08-12 13:23 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-14 11:21 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-12 12:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-14 11:18 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-15 14:00 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-16 0:58 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-16 10:14 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-16 10:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-16 14:36 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-17 13:47 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-18 2:38 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-18 13:20 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-19 1:42 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-21 9:57 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-21 10:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-21 11:00 ` Eli Zaretskii 2022-08-22 6:21 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-22 6:37 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors 2022-08-22 11:27 ` Eli Zaretskii 2022-08-22 12:59 ` Joe Corneli via Bug reports for GNU Emacs, the Swiss army knife of text editors 2023-09-03 9:13 ` Stefan Kangas
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).