* bug#23215: segfault lol
@ 2016-04-04 15:26 Andrew Pennebaker
2016-12-07 19:44 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Pennebaker @ 2016-04-04 15:26 UTC (permalink / raw)
To: 23215
[-- Attachment #1: Type: text/plain, Size: 3170 bytes --]
Background:
While converting Makefile's in my old C projects to CMakeLists.txt (cmake)
files, I discovered a segfault.
Summary:
When I leave a cmake buffer and try to open another file, Emacs immediately
segfaults.
Configuration:
https://github.com/mcandre/dotfiles/blob/2169c287e80220517f94e173b16a4d4aa6ab32bc/.emacs
Example project:
https://github.com/mcandre/boehmtest/tree/433bfc7c8ffa050ded0d726762533f09013da188
Example CMakeLists.txt:
https://github.com/mcandre/mcandre/blob/50562b27b4ad213dcec9cc3401d63a82ce1186f5/c/args/CMakeLists.txt
Steps to reproduce:
1. `emacs .`
2. Use shell-mode.
3. `cp ../CMakeLists.txt .`
4. Use dired.
5. Open CMakeLists.txt.
6. s/hello/boehmtest/g
7. Split CMakeLists.txt window into a left and right window.
8. Jump to right window.
9. Use dired.
10. Attempt to open the old, preexisting Makefile.
Trace:
Fatal error 11: Segmentation fault
Backtrace:
0 emacs 0x000000010009da81 emacs_backtrace
+ 87
1 emacs 0x0000000100083f2e
terminate_due_to_signal + 97
2 emacs 0x000000010009e491
tcsetpgrp_without_stopping + 0
3 emacs 0x000000010009d92a maybe_fatal_sig
+ 0
4 libsystem_platform.dylib 0x00007fff8ecac52a _sigtramp + 26
5 ??? 0x0000000000000000 0x0 + 0
6 emacs 0x000000010007927c tty_write_glyphs
+ 331
7 emacs 0x000000010000758f
update_frame_line + 510
8 emacs 0x0000000100003f48 update_frame_1 +
529
9 emacs 0x0000000100003cbe update_frame +
224
10 emacs 0x000000010001a4bd
redisplay_internal + 4703
11 emacs 0x000000010008a0ef read_char + 1801
12 emacs 0x00000001000880bc
read_key_sequence + 1526
13 emacs 0x00000001000878a3 command_loop_1 +
3983
14 emacs 0x00000001000f13b6
internal_condition_case + 251
15 emacs 0x0000000100095561 command_loop_2 +
53
16 emacs 0x00000001000f0de0 internal_catch +
243
17 emacs 0x000000010008611a recursive_edit_1
+ 206
18 emacs 0x00000001000862bd Frecursive_edit
+ 236
19 emacs 0x00000001000853bb main + 4651
20 libdyld.dylib 0x00007fff8c8055ad start + 1
21 ??? 0x0000000000000002 0x0 + 2
Segmentation fault: 11
System:
$ emacs --version
GNU Emacs 24.5.1
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
$ brew --version
Homebrew 0.9.5 (git revision 8d0d; last commit 2016-03-16)
$ system_profiler SPSoftwareDataType | grep 'System Version'
System Version: OS X 10.11.4 (15E65)
--
Cheers,
Andrew
[-- Attachment #2: Type: text/html, Size: 4822 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-07 19:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 15:26 bug#23215: segfault lol Andrew Pennebaker
2016-12-07 19:44 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.