unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Antipov <dmantipov@yandex.ru>
To: Chong Yidong <cyd@gnu.org>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: [RFC, experimental] save_{excursion,restriction}
Date: Fri, 27 Jul 2012 12:00:01 +0400	[thread overview]
Message-ID: <50124A81.2000509@yandex.ru> (raw)
In-Reply-To: <87sjcd3lqb.fsf@gnu.org>

On 07/27/2012 07:51 AM, Chong Yidong wrote:

> With your revision 109221,
>
> emacs -Q
> M-x delete-trailing-whitespace RET
> M-x garbage-collect RET
> ---->
> Breakpoint 1, abort () at emacs.c:365
> 365	  kill (getpid (), SIGABRT);
> (gdb) bt
> #0  abort () at emacs.c:365
> #1  0x00000000005eb60b in mark_object (arg=26719011) at alloc.c:6167
> #2  0x00000000005eb6da in mark_object (arg=19905638) at alloc.c:6185
> #3  0x00000000005eb6da in mark_object (arg=19903334) at alloc.c:6185
> #4  0x00000000005e92d8 in mark_maybe_object (obj=19903334) at alloc.c:4532
> #5  0x00000000005e9637 in mark_memory (start=0x7fffffffc688,
>      end=0x7fffffffdf78) at alloc.c:4695
>
> Please fix this ASAP or revert (the crashes are frequent and annoying).
> Next time, I suggest running with such changes for a few days to weed
> out this kind of obvious problem.

OK, reverted in 109226. Note it was running normally for a few hours
for me without any problems. Now I got it reproduced (it looks like
GC misuses some value found on C stack), and I can't say that this
is an obvious problem.

Dmitry





      reply	other threads:[~2012-07-27  8:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23 17:07 [RFC, experimental] save_{excursion,restriction} Dmitry Antipov
2012-07-23 23:45 ` Stefan Monnier
2012-07-24  5:16   ` Dmitry Antipov
2012-07-24  9:37     ` Stefan Monnier
2012-07-24 11:28       ` Dmitry Antipov
2012-07-24 22:05         ` Stefan Monnier
2012-07-25  9:38           ` Dmitry Antipov
2012-07-25 23:44             ` Stefan Monnier
2012-07-26  5:14               ` Dmitry Antipov
2012-07-26 23:24                 ` Stefan Monnier
2012-07-24  6:31   ` Ivan Andrus
2012-07-24  9:14     ` Stefan Monnier
2012-07-27  3:51 ` Chong Yidong
2012-07-27  8:00   ` Dmitry Antipov [this message]

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=50124A81.2000509@yandex.ru \
    --to=dmantipov@yandex.ru \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).