unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Simon Stapleton <simon.stapleton@gmail.com>
Cc: 15088@debbugs.gnu.org
Subject: bug#15088: 24.3; Hard crash on OSX when editing header files
Date: Tue, 13 Aug 2013 20:00:16 +0200	[thread overview]
Message-ID: <C974ABBA-729A-432A-A3B6-57E88E5D7704@swipnet.se> (raw)
In-Reply-To: <870CD9DB-455F-4BA4-9B00-CEC4C4B9229E@gmail.com>

Hello.

13 aug 2013 kl. 18:01 skrev Simon Stapleton <simon.stapleton@gmail.com>:

> This bug report will be sent to the Bug-GNU-Emacs mailing list
> and the GNU bug tracker at debbugs.gnu.org.  Please check that
> the From: line contains a valid email address.  After a delay of up
> to one day, you should receive an acknowledgment at that address.
> 
> Please write in English if possible, as the Emacs maintainers
> usually do not have translators for other languages.
> 
> Please describe exactly what actions triggered the bug, and
> the precise symptoms of the bug.  If you can, give a recipe
> starting from `emacs -Q':
> 
> I'm seeing repeatable crashes when editing header files, specifically
> when adding include guards.
> 
> Recipe :
> 
> - start emacs
> c-x c-f /tmp/foo.h
> #ifndef FOO_H
> 
> <crash>
> 

I can't repeat this with trunk or 24.3.

> If I manage to get in fast enough to add a #endif afterwards, the crash
> doesn't happen (to get this to work I usually have to reopen emacs, do a
> M-x recover-this-file, type *really fast*, suffer another crash anyway,
> and I can then restart emacs, M-x recover-this-file and I'm away.
> 
> Running under gdb, I get the following backtrace.
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000030
> 0x00000001001691a1 in add_properties ()
...
> (gdb) xbacktrace
> Undefined command: "xbacktrace".  Try "help".
> 
> xbacktrace doesn't do anything on my gdb.  Go figure.

You have to be in the emacs source src/ directory, and do
% gdb ../nextstep/Emacs.app/Contents/MacOS/Emacs

or otherwise make gdb read the .gdbinit in the src/ directory.

> 
> My suspicion is that pabbrev is triggering the issue, but quite how, I don't know.
> 

How would that be involved if you started with -Q?

	Jan D.






  reply	other threads:[~2013-08-13 18:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 16:01 bug#15088: 24.3; Hard crash on OSX when editing header files Simon Stapleton
2013-08-13 18:00 ` Jan Djärv [this message]
2013-08-13 18:06   ` Simon Stapleton
2013-08-13 18:58     ` Simon Stapleton
2013-08-13 20:29       ` Jan Djärv
2013-08-14 18:23         ` Simon Stapleton
2013-08-16  5:07           ` Jan Djärv
2013-08-17  6:46             ` Simon Stapleton
2015-12-26  0:55             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C974ABBA-729A-432A-A3B6-57E88E5D7704@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=15088@debbugs.gnu.org \
    --cc=simon.stapleton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).