steve [ ~ ]$ ~/build/emacs/src/emacs & [1] 5399 steve [ ~ ]$ GLib-GIO-Message: 21:02:07.387: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. ^C steve [ ~ ]$ gdb -p 5399 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 5399 [New LWP 5400] [New LWP 5402] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". 0x00007fda7ea7f291 in __pselect (nfds=16, readfds=0x7ffd68a79c30, writefds=0x7ffd68a79bb0, exceptfds=0x0, timeout=, sigmask=) at ../sysdeps/unix/sysv/linux/pselect.c:69 69 ../sysdeps/unix/sysv/linux/pselect.c: No such file or directory. (gdb) show non-stop Controlling the inferior in non-stop mode is off. (gdb) thread apply all bt Thread 3 (Thread 0x7fda79c1e700 (LWP 5402)): #0 0x00007fda7ea7cac9 in __GI___poll (fds=0x205fdc0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fda7fa52cbe in g_main_context_poll (priority=, n_fds=2, fds=0x205fdc0, timeout=, context=0x205d4a0) at gmain.c:4204 #2 0x00007fda7fa52cbe in g_main_context_iterate (context=0x205d4a0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3898 #3 0x00007fda7fa53032 in g_main_loop_run (loop=0x205ffe0) at gmain.c:4099 #4 0x00007fda7fc42a36 in gdbus_shared_thread_func (user_data=0x205d470) at gdbusprivate.c:275 #5 0x00007fda7fa79395 in g_thread_proxy (data=0x1fe2680) at gthread.c:784 #6 0x00007fda7ec5efa3 in start_thread (arg=) at pthread_create.c:486 #7 0x00007fda7ea875ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fda7a4d2700 (LWP 5400)): #0 0x00007fda7ea7cac9 in __GI___poll (fds=0x1d177a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fda7fa52cbe in g_main_context_poll (priority=, n_fds=1, fds=0x1d177a0, timeout=, context=0x1d14c10) at gmain.c:4204 #2 0x00007fda7fa52cbe in g_main_context_iterate (context=context@entry=0x1d14c1---Type to continue, or q to quit--- 0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3898 #3 0x00007fda7fa52dcc in g_main_context_iteration (context=0x1d14c10, may_block=may_block@entry=1) at gmain.c:3964 #4 0x00007fda7fa52e11 in glib_worker_main (data=) at gmain.c:5773 #5 0x00007fda7fa79395 in g_thread_proxy (data=0x1d16800) at gthread.c:784 #6 0x00007fda7ec5efa3 in start_thread (arg=) at pthread_create.c:486 #7 0x00007fda7ea875ff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fda7bf18bc0 (LWP 5399)): #0 0x00007fda7ea7f291 in __pselect (nfds=16, readfds=0x7ffd68a79c30, writefds=0x7ffd68a79bb0, exceptfds=0x0, timeout=, sigmask=) at ../sysdeps/unix/sysv/linux/pselect.c:69 #1 0x00000000005bca5d in really_call_select (arg=arg@entry=0x7ffd68a796f0) 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=0x7ffd68a796f0) 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=0x7ffd68a79c30, wfds=, efds=efds@entry=0---Type to continue, or q to quit--- x0, timeout=timeout@entry=0x7ffd68a79e80, sigmask=0x0) at /mnt/data/steve/git/emacs-master/src/thread.c:610 #4 0x00000000005d7c64 in xg_select (fds_lim=16, rfds=rfds@entry=0x7ffd68a79f20, wfds=0x7ffd68a79ea0, efds=efds@entry=0x0, timeout=timeout@entry=0x7ffd68a79e80, 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=172, nsecs=nsecs@entry=0, read_kbd=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=0x0, 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=0x2b2, 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=0x3563eb3, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7ffd68a7a30b, 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=0x7ffd68a7a3d0, prompt=prompt@entry=0x0, 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 ---Type to continue, or q to quit--- #10 0x000000000055fe86 in internal_condition_case (bfun=bfun@entry=0x4f955b , handlers=handlers@entry=0x5490, hfun=hfun@entry=0x4f0c5d ) at /mnt/data/steve/git/emacs-master/src/eval.c:1376 #11 0x00000000004eca0e in command_loop_2 (ignore=ignore@entry=0x0) at /mnt/data/steve/git/emacs-master/src/lisp.h:1056 #12 0x000000000055fdfd in internal_catch (tag=tag@entry=0xc9f0, func=func@entry=0x4ec9f6 , arg=arg@entry=0x0) 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=0x7ffd68a7a718) at /mnt/data/steve/git/emacs-master/src/emacs.c:1901 (gdb) source ~/build/emacs/src/.gdbinit Warning: /home/steve/../lwlib: No such file or directory. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0 TERM = xterm Breakpoint 1 at 0x4eb2ee: file /mnt/data/steve/git/emacs-master/src/emacs.c, line 370. Temporary breakpoint 2 at 0x502b35: file /mnt/data/steve/git/emacs-master/src/lisp.h, line 1056. (gdb) xbacktrace (gdb) c Continuing. [Thread 0x7fda79c1e700 (LWP 5402) exited] [Thread 0x7fda7a4d2700 (LWP 5400) exited] [Inferior 1 (process 5399) exited normally] (gdb)