Description of problem: I'm not sure what exactly triggered this error in emacs, but here what I was doing at the time: 1. I plugged in an external display into my Lenovo W530's mini-DP port, and tried setting that as a primary display. 2. GDM crashed, and I had to relogin. 3. Upon relogin, I couldn't attach any emacs clients (emacsclient -c), so I figured something was wrong with the emacs server -- so 4. I sent emacs a SIGTERM (killall emacs). Version-Release number of selected component: emacs-24.3-13.fc20 Additional info: reporter: libreport-2.1.11 backtrace_rating: 4 cmdline: emacs crash_function: count_windows executable: /usr/bin/emacs-24.3 kernel: 3.11.10-301.fc20.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #0 count_windows at /usr/src/debug/emacs-24.3/src/window.c:5955 #2 Fcurrent_window_configuration at /usr/src/debug/emacs-24.3/src/window.c:6178 #3 Ffuncall at /usr/src/debug/emacs-24.3/src/eval.c:2778 #4 exec_byte_code at /usr/src/debug/emacs-24.3/src/bytecode.c:900 #5 funcall_lambda at /usr/src/debug/emacs-24.3/src/eval.c:3010 #6 Ffuncall at /usr/src/debug/emacs-24.3/src/eval.c:2839 #7 exec_byte_code at /usr/src/debug/emacs-24.3/src/bytecode.c:900 #8 funcall_lambda at /usr/src/debug/emacs-24.3/src/eval.c:3010 #9 Ffuncall at /usr/src/debug/emacs-24.3/src/eval.c:2839 #10 call0 at /usr/src/debug/emacs-24.3/src/eval.c:2557
Created attachment 848987 [details] File: backtrace
Created attachment 848988 [details] File: cgroup
Created attachment 848989 [details] File: core_backtrace
Created attachment 848990 [details] File: dso_list
Created attachment 848991 [details] File: environ
Created attachment 848992 [details] File: exploitable
Created attachment 848993 [details] File: limits
Created attachment 848994 [details] File: maps
Created attachment 848995 [details] File: open_fds
Created attachment 848996 [details] File: proc_pid_status
Created attachment 848997 [details] File: var_log_messages
This was caused by gdb crash. From backtrace: Program terminated with signal SIGSEGV, Segmentation fault. #0 count_windows (window=<optimized out>) at /usr/src/debug/emacs-24.3/src/window.c:5955 5955 if (!NILP (window->next)) window is most likely undefined or its original values has changed. Thus resulting in invalid address.
> 4. I sent emacs a SIGTERM (killall emacs). This then cause emacs to end and crash. If you manage to reproduce this issue, don't hesitate to reopen the bug. Steps to reproduce this issue are most valuated. Otherwise I will not be able to analyze this issue.
Steps to create core with full backtrace information for emacs: $ cd /tmp download the latest emacs build from https://jchaloup.fedorapeople.org for your distribution and architecture (wget can be used). Should be always actual release in fedora + 1. $ wget https://jchaloup.fedorapeople.org/emacs-24.3-19.fc20.x86_64.rpm install downloaded rpm, release can vary # rpm -Uvh emacs-24.3-19.fc20.x86_64.rpm Then reproduce the issue and upload generated core. After reproducing, just run # yum distro-sync emacs