Segmentation fault ain't consistent, when Xfce Terminal manages to start up, while entering the first character ... ~~~ ~~~ ~~~~~ ~~~~~~ ~ ~~ ~~ ~~~~~~~~ ~ ~~~~ $ gdb GNU gdb (GDB) Fedora 7.11.90.20160807-7.fc26 Copyright (C) 2016 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-redhat-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". (gdb) attach 5193 Attaching to process 5193 [New LWP 5194] [New LWP 5195] [New LWP 5196] Error while reading shared library symbols for /lib64/libpthread.so.0: Cannot find user-level thread for LWP 5196: capability not available 0x00007f9b5431200d in poll () at ../sysdeps/unix/syscall-template.S:84 84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) (gdb) continue Continuing. Thread 1 "xfce4-terminal" received signal SIGSEGV, Segmentation fault. 0x00007f9b56a82cca in XSync (dpy=0x55b028e07af0, discard=0) at Sync.c:42 42 LockDisplay(dpy); (gdb) thread apply all backtrace Thread 4 (LWP 5196): #0 0x00007f9b5431200d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f9b54843216 in g_main_context_poll (priority=, n_fds=1, fds=0x7f9b340010c0, timeout=, context=0x55b028e28ff0) at gmain.c:4226 #2 0x00007f9b54843216 in g_main_context_iterate (context=context@entry=0x55b028e28ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3922 #3 0x00007f9b5484332c in g_main_context_iteration (context=context@entry=0x55b028e28ff0, may_block=may_block@entry=1) at gmain.c:3988 #4 0x00007f9b48681fad in dconf_gdbus_worker_thread (user_data=0x55b028e28ff0) at dconf-gdbus-thread.c:82 #5 0x00007f9b5486aac3 in g_thread_proxy (data=0x55b028e14e80) at gthread.c:784 #6 0x00007f9b545e26ba in start_thread (arg=0x7f9b437fe700) at pthread_create.c:333 #7 0x00007f9b5431d3cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 3 (LWP 5195): #0 0x00007f9b5431200d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f9b54843216 in g_main_context_poll (priority=, n_fds=2, fds=0x7f9b3c0010c0, timeout=, context=0x55b028e12fb0) at gmain.c:4226 #2 0x00007f9b54843216 in g_main_context_iterate (context=0x55b028e12fb0, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3922 #3 0x00007f9b548435a2 in g_main_loop_run (loop=0x55b028defde0) at gmain.c:4123 #4 0x00007f9b5503d2d6 in gdbus_shared_thread_func (user_data=0x55b028e12f80) at gdbusprivate.c:247 #5 0x00007f9b5486aac3 in g_thread_proxy (data=0x55b028e14ca0) at gthread.c:784 #6 0x00007f9b545e26ba in start_thread (arg=0x7f9b43fff700) at pthread_create.c:333 #7 0x00007f9b5431d3cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 2 (LWP 5194): #0 0x00007f9b5431200d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f9b54843216 in g_main_context_poll (priority=, n_fds=2, fds=0x7f9b440008e0, timeout=, context=0x55b028e12870) at gmain.c:4226 #2 0x00007f9b54843216 in g_main_context_iterate (context=context@entry=0x55b028e12870, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3922 #3 0x00007f9b5484332c in g_main_context_iteration (context=0x55b028e12870, may_block=may_block@entry=1) at gmain.c:3988 #4 0x00007f9b54843371 in glib_worker_main (data=) at gmain.c:5781 #5 0x00007f9b5486aac3 in g_thread_proxy (data=0x55b028e14c50) at gthread.c:784 #6 0x00007f9b545e26ba in start_thread (arg=0x7f9b49088700) at pthread_create.c:333 #7 0x00007f9b5431d3cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 1 (LWP 5193): #0 0x00007f9b56a82cca in XSync (dpy=0x55b028e07af0, discard=0) at Sync.c:42 #1 0x00007f9b559f31b1 in after_process_all_updates () at gdkwindow.c:3985 #2 0x00007f9b559f31b1 in gdk_window_process_all_updates () at gdkwindow.c:4051 #3 0x00007f9b56815261 in update_timeout(gpointer) (data=data@entry=0x0) at vte.cc:10711 #4 0x00007f9b5484394d in g_timeout_dispatch (source=0x55b028e54700, callback=0x7f9b56815200 , user_data=0x0) at gmain.c:4672 #5 0x00007f9b54842f02 in g_main_dispatch (context=0x55b028e08b70) at gmain.c:3201 #6 0x00007f9b54842f02 in g_main_context_dispatch (context=context@entry=0x55b028e08b70) at gmain.c:3854 #7 0x00007f9b54843280 in g_main_context_iterate (context=0x55b028e08b70, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3927 #8 0x00007f9b548435a2 in g_main_loop_run (loop=0x55b028de4ba0) at gmain.c:4123 #9 0x00007f9b55ee0275 in gtk_main () at gtkmain.c:1295 #10 0x000055b027d190c6 in main (argc=, argv=) at main.c:327 (gdb) backtrace full #0 0x00007f9b56a82cca in XSync (dpy=0x55b028e07af0, discard=0) at Sync.c:42 rep = {type = 1 '\001', revertTo = 2 '\002', sequenceNumber = 903, length = 0, focus = 685891600, pad1 = 21936, pad2 = 686828896, pad3 = 21936, pad4 = 691679136, pad5 = 21936} #1 0x00007f9b559f31b1 in after_process_all_updates () at gdkwindow.c:3985 displays = 0x55b0293a2fa0 = {0x55b02912d070, 0x55b028e1e010} l = 0x55b0293a2f60 = {0x55b028e1e010} display_class = 0x55b028f02d60 old_update_windows = tmp_list = in_process_all_updates = 1 got_recursive_update = 0 #2 0x00007f9b559f31b1 in gdk_window_process_all_updates () at gdkwindow.c:4051 old_update_windows = tmp_list = in_process_all_updates = 1 got_recursive_update = 0 #3 0x00007f9b56815261 in update_timeout(gpointer) (data=data@entry=0x0) at vte.cc:10711 l = 0x0 next = 0x0 redraw = 1 #4 0x00007f9b5484394d in g_timeout_dispatch (source=0x55b028e54700, callback=0x7f9b56815200 , user_data=0x0) at gmain.c:4672 timeout_source = 0x55b028e54700 again = #5 0x00007f9b54842f02 in g_main_dispatch (context=0x55b028e08b70) at gmain.c:3201 dispatch = 0x7f9b54843930 prev_source = 0x0 was_in_call = 0 user_data = 0x0 callback = 0x7f9b56815200 cb_funcs = 0x7f9b54b09280 cb_data = 0x55b0293b5320 need_destroy = source = 0x55b028e54700 current = 0x55b028e12030 i = 0 #6 0x00007f9b54842f02 in g_main_context_dispatch (context=context@entry=0x55b028e08b70) at gmain.c:3854 #7 0x00007f9b54843280 in g_main_context_iterate (context=0x55b028e08b70, block=block@entry=1, dispatch=dispatch@entry=1, self=) at gmain.c:3927 max_priority = 2147483647 timeout = 15 some_ready = 1 nfds = 6 allocated_nfds = 6 fds = #8 0x00007f9b548435a2 in g_main_loop_run (loop=0x55b028de4ba0) at gmain.c:4123 __func__ = "g_main_loop_run" #9 0x00007f9b55ee0275 in gtk_main () at gtkmain.c:1295 loop = 0x55b028de4ba0 #10 0x000055b027d190c6 in main (argc=, argv=) at main.c:327 show_help = 0 show_version = 0 show_colors = 0 disable_server = 0 app = 0x55b028e74590 [TerminalApp] startup_id = display = error = 0x0 nargv = 0x55b028e03620 nargc = 4 n = msg = (gdb) q A debugging session is active. Inferior 1 [process 5193] will be detached. Quit anyway? (y or n) y Detaching from program: /usr/bin/xfce4-terminal, process 5193 ~ ~~~~~~~~~~~ ~~~~ ~~~~ $ coredumpctl dump 5193 PID: 5193 (xfce4-terminal) UID: 1000 (test) GID: 1000 (test) Signal: 11 (SEGV) ... Command Line: xfce4-terminal Executable: /usr/bin/xfce4-terminal Control Group: /user.slice/user-1000.slice/user@1000.service/gnome-terminal-server.service Unit: user@1000.service User Unit: user@1000.service Slice: user-1000.slice Owner UID: 1000 (test) ... Coredump: /var/lib/systemd/coredump/core.xfce4-terminal.1000.....5193.1472393354000000000000.lz4 Message: Process 5193 (xfce4-terminal) of user 1000 dumped core. Stack trace of thread 5193: #0 0x00007f9b56a82cca XSync (libX11.so.6) #1 0x00007f9b559f31b1 after_process_all_updates (libgdk-3.so.0) #2 0x00007f9b56815261 update_timeout (libvte-2.91.so.0) #3 0x00007f9b5484394d g_timeout_dispatch (libglib-2.0.so.0) #4 0x00007f9b54842f02 g_main_dispatch (libglib-2.0.so.0) #5 0x00007f9b54843280 g_main_context_iterate (libglib-2.0.so.0) #6 0x00007f9b548435a2 g_main_loop_run (libglib-2.0.so.0) #7 0x00007f9b55ee0275 gtk_main (libgtk-3.so.0) #8 0x000055b027d190c6 main (xfce4-terminal) #9 0x00007f9b54236421 __libc_start_main (libc.so.6) #10 0x000055b027d194aa _start (xfce4-terminal) Stack trace of thread 5196: #0 0x00007f9b5431200d poll (libc.so.6) #1 0x00007f9b54843216 g_main_context_poll (libglib-2.0.so.0) #2 0x00007f9b5484332c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f9b48681fad dconf_gdbus_worker_thread (libdconfsettings.so) #4 0x00007f9b5486aac3 g_thread_proxy (libglib-2.0.so.0) #5 0x00007f9b545e26ba start_thread (libpthread.so.0) #6 0x00007f9b5431d3cf __clone (libc.so.6) Stack trace of thread 5194: #0 0x00007f9b5431200d poll (libc.so.6) #1 0x00007f9b54843216 g_main_context_poll (libglib-2.0.so.0) #2 0x00007f9b5484332c g_main_context_iteration (libglib-2.0.so.0) #3 0x00007f9b54843371 glib_worker_main (libglib-2.0.so.0) #4 0x00007f9b5486aac3 g_thread_proxy (libglib-2.0.so.0) #5 0x00007f9b545e26ba start_thread (libpthread.so.0) #6 0x00007f9b5431d3cf __clone (libc.so.6) Stack trace of thread 5195: #0 0x00007f9b5431200d poll (libc.so.6) #1 0x00007f9b54843216 g_main_context_poll (libglib-2.0.so.0) #2 0x00007f9b548435a2 g_main_loop_run (libglib-2.0.so.0) #3 0x00007f9b5503d2d6 gdbus_shared_thread_func (libgio-2.0.so.0) #4 0x00007f9b5486aac3 g_thread_proxy (libglib-2.0.so.0) #5 0x00007f9b545e26ba start_thread (libpthread.so.0) #6 0x00007f9b5431d3cf __clone (libc.so.6) Refusing to dump core to tty.