Subject: Opening build.gradle crashes Emacs

From: Andrew Pennebaker <[email-masked]>
Date: Fri, 25 Sep 2015 14:29:42 -0500

About 1/3rd of the time, when I try to open build.gradle in Emacs for
editing, Emacs segfaults.

# Source

https://github.com/mcandre/mcandre/tree/master/java/yubnub

# Configuration

https://github.com/mcandre/dotfiles/blob/master/.emacs

# Trace

```
$ emacs .
C-x 2
M-x shell-mode
C-x Up
C-x C-f README.md RET
C-x 3
C-x C-f build.gradle

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            0x00007fff901e6f1a _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                       0x00007fff880b45c9 start + 1
Segmentation fault: 11
```

# System

```
$ specs emacs brew os
specs --version
0.20

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
0.9.5 (git revision 82de; last commit 2015-09-23)

system_profiler SPSoftwareDataType | grep 'System Version'
    System Software Overview:
      System Version: OS X 10.10.5 (14F27)
```

-- 
Cheers,
Andrew