unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Joe Corneli via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: 56869@debbugs.gnu.org
Subject: bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed"
Date: Wed, 17 Aug 2022 14:47:14 +0100	[thread overview]
Message-ID: <8735dvx9r1.fsf@Proteus> (raw)
In-Reply-To: <87r11g2r2b.fsf@Proteus>

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).





  reply	other threads:[~2022-08-17 13:47 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735dvx9r1.fsf@Proteus \
    --to=bug-gnu-emacs@gnu.org \
    --cc=56869@debbugs.gnu.org \
    --cc=joseph.corneli@hyperreal.enterprises \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).