From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Elias =?UTF-8?Q?M=C3=A5rtenson?= Newsgroups: gmane.emacs.bugs Subject: bug#25172: 26.0.50; Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour) Date: Thu, 15 Dec 2016 00:12:48 +0800 Message-ID: References: <838trme4jr.fsf@gnu.org> <838trlcals.fsf@gnu.org> <83vauobiou.fsf@gnu.org> <83fulrbxsd.fsf@gnu.org> <83pokua474.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114ac30ea869740543a09b62 X-Trace: blaine.gmane.org 1481732003 30554 195.159.176.226 (14 Dec 2016 16:13:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2016 16:13:23 +0000 (UTC) Cc: 25172@debbugs.gnu.org, =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 14 17:13:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHCB9-00071S-Pw for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Dec 2016 17:13:16 +0100 Original-Received: from localhost ([::1]:48626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHCBD-0002vu-Qd for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Dec 2016 11:13:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHCB2-0002oC-7m for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 11:13:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHCAw-0003O2-I8 for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 11:13:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHCAw-0003Nk-ED for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 11:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cHCAw-0005u5-1U for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2016 11:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Elias =?UTF-8?Q?M=C3=A5rtenson?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Dec 2016 16:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25172 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25172-submit@debbugs.gnu.org id=B25172.148173197622682 (code B ref 25172); Wed, 14 Dec 2016 16:13:01 +0000 Original-Received: (at 25172) by debbugs.gnu.org; 14 Dec 2016 16:12:56 +0000 Original-Received: from localhost ([127.0.0.1]:42002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHCAq-0005tm-HV for submit@debbugs.gnu.org; Wed, 14 Dec 2016 11:12:56 -0500 Original-Received: from mail-qk0-f181.google.com ([209.85.220.181]:33469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHCAo-0005tZ-Gu for 25172@debbugs.gnu.org; Wed, 14 Dec 2016 11:12:55 -0500 Original-Received: by mail-qk0-f181.google.com with SMTP id x190so26461639qkb.0 for <25172@debbugs.gnu.org>; Wed, 14 Dec 2016 08:12:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yJGYKz3c5jLCA68StpaJzipYp0weKNLKVm63HqPUdYs=; b=F4kvFivOqhJeKiqWDp2tbv9WcoKn9nA4uFQU7Kxfqn1e/CFHxjOFrz42GXyyqYw8wE zAYUf8CiLoJU1RB196MrDvxj0YYMt9XHGFyS5gRtTujPJjdHjzBPh8akl3Fwb+Lu3mVp XrmOwIpc3VuGFSxln6yGg2STu0CzhWo4YkpMS3KXEWQf9HwOShPpEzqHvu90dRKFQbgQ gsYwrVIEQvFKcwto88DP7GbHGAfzbi/f+DqCyd9DVjV3wKfn32RgZm6+FnQ8DrCMYJaR eeRRF4zx+25nj9ihutlPcx0l5stLTG5TiUqnRO9LtOeQLUklUc1GynAh3lc6K4/xT+5y cuuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yJGYKz3c5jLCA68StpaJzipYp0weKNLKVm63HqPUdYs=; b=SzVdP4L40KRpNuAMLAzkfA13GxxR9Ox1ndsQ+rVFxU5OvS0RT7AgHh1ZzNUIr+pq1s kWtIBDM2A+fxas1JmW545pTtkB5K7JEl/ejKcjGUL8A/beT3/dkbsQ9GiRFkx6iEt7CB 14PvXOQImt4feM0FYYfZcojUir6f1LaGv8oX9mXRNY0FYMsT1spQHTOdY6T/+48ClBGK KI0CQlIBPYLSLsK2j0XDx4YYlXq4b/qwwXS1u0RT9txm9BlMDQsBJA+UDOukuPFZfz55 d/zOygZfCI+Y5PvW+1kV3fjvirZgO0OcNppEgrQdSjX15lNslEgTEnALl3943Ry0Rieb o0SA== X-Gm-Message-State: AKaTC00OecvLRzblmrbqlGaQE76fQaWAT7kK+vb7waewClaLiGnwU9CCTSPS8dVAqsqr0Kt80i6qViC1nuAllg== X-Received: by 10.55.67.74 with SMTP id q71mr9094703qka.292.1481731968883; Wed, 14 Dec 2016 08:12:48 -0800 (PST) Original-Received: by 10.55.110.5 with HTTP; Wed, 14 Dec 2016 08:12:48 -0800 (PST) In-Reply-To: <83pokua474.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127031 Archived-At: --001a114ac30ea869740543a09b62 Content-Type: text/plain; charset=UTF-8 On 15 December 2016 at 00:03, Eli Zaretskii wrote: > Thanks. Does the patch below help in any way with these crashes? > > If not, it sounds like I'm out of my depth here. The crashes you show > are deep in the bowels of Glib called by GTK; reading the (annoyingly > minimal) documentation of those APIs, I sense the danger of some basic > issue with calling these APIs from several threads. If what the GTK > documentation tells everything there is to it, then the patch below > should fix these problems. But if not, then I guess we will need help > from a GTK expert. > After applying that patch, it hasn't crashed yet. So either it fixes the problem, or it's simply buch harder to reproduce. So far so good. Thanks a lot! Regards, Elias --001a114ac30ea869740543a09b62 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 1= 5 December 2016 at 00:03, Eli Zaretskii <eliz@gnu.org> wrote:
=
=C2=A0
Thanks.=C2=A0 Does the patc= h below help in any way with these crashes?

If not, it sounds like I'm out of my depth here.=C2=A0 The crashes you = show
are deep in the bowels of Glib called by GTK; reading the (annoyingly
minimal) documentation of those APIs, I sense the danger of some basic
issue with calling these APIs from several threads.=C2=A0 If what the GTK documentation tells everything there is to it, then the patch below
should fix these problems.=C2=A0 But if not, then I guess we will need help=
from a GTK expert.

After applying that = patch, it hasn't crashed yet. So either it fixes the problem, or it'= ;s simply buch harder to reproduce. So far so good. Thanks a lot!

Regards,
Elias
--001a114ac30ea869740543a09b62--