GNU bug report logs - #23215
segfault lol

Previous Next

Package: emacs;

Reported by: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>

Date: Mon, 4 Apr 2016 15:28:01 UTC

Severity: normal

Tags: moreinfo, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#23215: closed (segfault lol)
Date: Wed, 07 Dec 2016 19:45:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 07 Dec 2016 14:44:42 -0500
with message-id <yx7f7bbk2d.fsf <at> fencepost.gnu.org>
and subject line Re: bug#23215: segfault lol
has caused the debbugs.gnu.org bug report #23215,
regarding segfault lol
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
23215: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23215
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: segfault lol
Date: Mon, 4 Apr 2016 10:26:43 -0500
[Message part 3 (text/plain, inline)]
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
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 23215-done <at> debbugs.gnu.org
Subject: Re: bug#23215: segfault lol
Date: Wed, 07 Dec 2016 14:44:42 -0500
These OS X style abbreviated backtraces don't provide any usable
information for debugging. Please reopen this if you can follow the
Emacs etc/DEBUG instructions and get a proper gdb backtrace from an
unoptimized build.


This bug report was last modified 8 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.