steve [ ~/build/emacs/src ]$ gdb -p 5077 GNU gdb (GDB) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 5077 [New LWP 5078] [New LWP 5080] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". 0x00007f910c590291 in __pselect (nfds=16, readfds=0x7ffc70826670, writefds=0x7ffc708265f0, exceptfds=0x0, timeout=, sigmask=) at ../sysdeps/unix/sysv/linux/pselect.c:69 69 ../sysdeps/unix/sysv/linux/pselect.c: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0 TERM = xterm Breakpoint 1 at 0x4eb2ee: file /mnt/data/steve/git/emacs-master/src/emacs.c, lin---Type to continue, or q to quit--- e 370. Temporary breakpoint 2 at 0x502b35: file /mnt/data/steve/git/emacs-master/src/lisp.h, line 1056. (gdb) thread apply all bt Thread 3 (Thread 0x7f910772f700 (LWP 5080)): #0 0x00007f910c58dac9 in __GI___poll (fds=0x20e71e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f910d563cbe in g_main_context_poll (priority=, n_fds=2, fds=0x20e71e0, timeout=, context=0x20e4a30) at gmain.c:4204 #2 0x00007f910d563cbe in g_main_context_iterate (context=0x20e4a30, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3898 #3 0x00007f910d564032 in g_main_loop_run (loop=0x20e4b70) at gmain.c:4099 #4 0x00007f910d753a36 in gdbus_shared_thread_func (user_data=0x20e4a00) at gdbusprivate.c:275 #5 0x00007f910d58a395 in g_thread_proxy (data=0x206a680) at gthread.c:784 #6 0x00007f910c76ffa3 in start_thread (arg=) at pthread_create.c:486 #7 0x00007f910c5985ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Lisp Backtrace: "image-size" (0x70824720) 0x354bf60 PVEC_COMPILED "gethash" (0x70820b38) "pdf-cache--data-get" (0x70820d40) "pdf-cache-number-of-pages" (0x70820f10) ---Type to continue, or q to quit--- "terminal-live-p" (0x70820ea8) "framep-on-display" (0x708210b8) "overlayp" (0x70824718) 0x92591e8 PVEC_COMPILED "overlayp" (0x70824a48) 0x92591e8 PVEC_COMPILED "redisplay--update-region-highlight" (0x70824fd0) "run-hook-with-args" (0x70824fc8) "ignore" (0x70825310) "apply" (0x70825308) 0x9420638 PVEC_COMPILED "redisplay_internal (C function)" (0x0) Thread 2 (Thread 0x7f9107fe3700 (LWP 5078)): #0 0x00007f910c58dac9 in __GI___poll (fds=0x7f9100000b40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f910d563cbe in g_main_context_poll (priority=, n_fds=1, fds=0x7f9100000b40, timeout=, context=0x1da04d0) at gmain.c:4204 #2 0x00007f910d563cbe in g_main_context_iterate (context=context@entry=0x1da04d0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3898 #3 0x00007f910d563dcc in g_main_context_iteration (context=0x1da04d0, may_block---Type to continue, or q to quit--- =may_block@entry=1) at gmain.c:3964 #4 0x00007f910d563e11 in glib_worker_main (data=) at gmain.c:5773 #5 0x00007f910d58a395 in g_thread_proxy (data=0x1da0800) at gthread.c:784 #6 0x00007f910c76ffa3 in start_thread (arg=) at pthread_create.c:486 #7 0x00007f910c5985ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f9109a29bc0 (LWP 5077)): #0 0x00007f910c590291 in __pselect (nfds=16, readfds=0x7ffc70826670, writefds=0x7ffc708265f0, exceptfds=0x0, timeout=, sigmask=) at ../sysdeps/unix/sysv/linux/pselect.c:69 #1 0x00000000005bca5d in really_call_select (arg=arg@entry=0x7ffc70826130) at /mnt/data/steve/git/emacs-master/src/thread.c:580 #2 0x0000000000542d88 in flush_stack_call_func (func=func@entry=0x5bca12 , arg=arg@entry=0x7ffc70826130) at /mnt/data/steve/git/emacs-master/src/alloc.c:5229 #3 0x00000000005bd24f in thread_select (func=, max_fds=max_fds@entry=16, rfds=rfds@entry=0x7ffc70826670, wfds=, efds=efds@entry=0x0, timeout=timeout@entry=0x7ffc708268c0, sigmask=0x0) at /mnt/data/steve/git/emacs-master/src/thread.c:610 #4 0x00000000005d7c64 in xg_select (fds_lim=16, rfds=rfds@entry=0x7ffc70826960,---Type to continue, or q to quit--- wfds=0x7ffc708268e0, efds=efds@entry=0x0, timeout=timeout@entry=0x7ffc708268c0, sigmask=sigmask@entry=0x0) at /mnt/data/steve/git/emacs-master/src/xgselect.c:117 #5 0x000000000059daf3 in wait_reading_process_output (time_limit=time_limit@entry=97, nsecs=nsecs@entry=0, read_kbd=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=XIL(0), wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at /mnt/data/steve/git/emacs-master/src/process.c:5405 #6 0x0000000000424e63 in sit_for (timeout=timeout@entry=make_number(97), reading=reading@entry=true, display_option=display_option@entry=1) at /mnt/data/steve/git/emacs-master/src/lisp.h:1056 #7 0x00000000004f769e in read_char (commandflag=1, map=map@entry=XIL(0x35f3093), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x7ffc70826d4b, end_time=end_time@entry=0x0) at /mnt/data/steve/git/emacs-master/src/lisp.h:751 #8 0x00000000004f81ec in read_key_sequence (keybuf=keybuf@entry=0x7ffc70826e10, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at /mnt/data/steve/git/emacs-master/src/lisp.h:1386 #9 0x00000000004f9730 in command_loop_1 () at /mnt/data/steve/git/emacs-master/src/lisp.h:1056 #10 0x000000000055fe86 in internal_condition_case (bfun=bfun@entry=0x4f955b , handlers=handlers@entry=XIL(0x5490), hfun=hfun@entry=0x4f0c5d ) at /mnt/data/steve/git/emacs-master/src/eval.c:1376 ---Type to continue, or q to quit--- #11 0x00000000004eca0e in command_loop_2 (ignore=ignore@entry=XIL(0)) at /mnt/data/steve/git/emacs-master/src/lisp.h:1056 #12 0x000000000055fdfd in internal_catch (tag=tag@entry=XIL(0xc9f0), func=func@entry=0x4ec9f6 , arg=arg@entry=XIL(0)) at /mnt/data/steve/git/emacs-master/src/eval.c:1139 #13 0x00000000004ec9d8 in command_loop () at /mnt/data/steve/git/emacs-master/src/lisp.h:1056 #14 0x00000000004f08d6 in recursive_edit_1 () at /mnt/data/steve/git/emacs-master/src/keyboard.c:714 #15 0x00000000004f0b8d in Frecursive_edit () at /mnt/data/steve/git/emacs-master/src/keyboard.c:785 #16 0x00000000004ec1d7 in main (argc=1, argv=0x7ffc70827158) at /mnt/data/steve/git/emacs-master/src/emacs.c:1901 (gdb)