unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Simon Leinen <simon.leinen@gmail.com>
Cc: lokedhs@gmail.com, emacs-devel@gnu.org
Subject: Re: Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour)
Date: Sun, 11 Dec 2016 18:16:06 +0200	[thread overview]
Message-ID: <83k2b6e915.fsf@gnu.org> (raw)
In-Reply-To: <CAAO6KgAJsQTgFWSB_fz13rBY8RrqaNOMzoNHi20bYS1thZgYNw@mail.gmail.com> (message from Simon Leinen on Sun, 11 Dec 2016 10:08:41 +0100)

> From: Simon Leinen <simon.leinen@gmail.com>
> Date: Sun, 11 Dec 2016 10:08:41 +0100
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> On Sun, Dec 11, 2016 at 8:12 AM, Elias Mårtenson <lokedhs@gmail.com> wrote:
> >     (make-thread (lambda ()
> >         (sit-for 5)
> >         (with-current-buffer "z"
> >             (insert "foo"))))
> 
> Ouch! I'm more or less able to reproduce the problem: When I call this
> twice (the second time with the "z" buffer open in a separate frame),
> this ends badly.  Emacs didn't crash, but became unresponsive.  None
> of kill{, -1, -15} helped, only kill -9 killed it.  Unfortunately I'm
> running under Mac OS X (GNU Emacs 26.0.50.3
> (x86_64-apple-darwin15.6.0, X toolkit, Xaw3d scroll bars) of
> 2016-12-10 - sorry, that's all my employer tolerates), so I'm not
> really able to help debug this.  If help is needed I can try under
> GNU/Linux in a VM.

Thanks, but please report these as bugs to the bug tracker.



  parent reply	other threads:[~2016-12-11 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-11  7:12 Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour) Elias Mårtenson
2016-12-11  9:08 ` Simon Leinen
2016-12-11 14:38   ` Elias Mårtenson
2016-12-11 16:16   ` Eli Zaretskii [this message]
2016-12-11 16:40     ` Elias Mårtenson

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=83k2b6e915.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lokedhs@gmail.com \
    --cc=simon.leinen@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).