bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23215: segfault lol


From: Andrew Pennebaker
Subject: bug#23215: segfault lol
Date: Mon, 4 Apr 2016 10:26:43 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]