From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#21380: 25.0.50; GTK-induced segfault when scheduling timer from window-configuration-change-hook Date: Sun, 30 Aug 2015 18:20:42 +0000 Message-ID: References: <83mvx8252m.fsf@gnu.org> <55E34714.7080608@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b10c889ebb72f051e8b5f58 X-Trace: ger.gmane.org 1440958887 10123 80.91.229.3 (30 Aug 2015 18:21:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Aug 2015 18:21:27 +0000 (UTC) Cc: 21380@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 30 20:21:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZW7E8-0008Pj-0p for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Aug 2015 20:21:12 +0200 Original-Received: from localhost ([::1]:59900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW7E7-0001GZ-F8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Aug 2015 14:21:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW7E2-0001G3-Sx for bug-gnu-emacs@gnu.org; Sun, 30 Aug 2015 14:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZW7Dy-0007oN-U1 for bug-gnu-emacs@gnu.org; Sun, 30 Aug 2015 14:21:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW7Dy-0007o6-Pw for bug-gnu-emacs@gnu.org; Sun, 30 Aug 2015 14:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZW7Dy-0002HJ-Bu for bug-gnu-emacs@gnu.org; Sun, 30 Aug 2015 14:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Aug 2015 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21380 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21380-submit@debbugs.gnu.org id=B21380.14409588458722 (code B ref 21380); Sun, 30 Aug 2015 18:21:02 +0000 Original-Received: (at 21380) by debbugs.gnu.org; 30 Aug 2015 18:20:45 +0000 Original-Received: from localhost ([127.0.0.1]:43006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZW7Dg-0002GZ-AF for submit@debbugs.gnu.org; Sun, 30 Aug 2015 14:20:44 -0400 Original-Received: from mail-ig0-f178.google.com ([209.85.213.178]:34206) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZW7De-0002GR-MQ for 21380@debbugs.gnu.org; Sun, 30 Aug 2015 14:20:43 -0400 Original-Received: by igui7 with SMTP id i7so43924716igu.1 for <21380@debbugs.gnu.org>; Sun, 30 Aug 2015 11:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GzxB0cnIH2LBqxxOAo740sMT+ofgXi3UWkwQptQG3uc=; b=mIiThIeaN+4MQUuKp6Yi+3kyqqDyaACD0quOeTXLWGyuw479HiZMhEb5IiBd8RefM3 i4Cf6cIYUluNNNgdB+IUT+iQd737+rHS9hgg3x2GlJkyRhmSw4hNfM6AtyHG6fZ3aXxk T25zHysouRUWx6yYaHDQfiKdU1sYP1uEkMhiOQHbFd4WbR2JKgl93EwKvU1b56nbTwAc Gp82n/CdjQplwkvby24jgwsZsclgEE+WvJbFij0q7rBNMk4aK776g1nQL3sW849FnCa3 sEFJq2W4z60lTNBGYpl5NRUg4dvsfBRgvXsoifzzePorLogWXKFQNWNGGm2WNofGlwQj uUDQ== X-Received: by 10.50.97.33 with SMTP id dx1mr10509694igb.1.1440958842121; Sun, 30 Aug 2015 11:20:42 -0700 (PDT) Original-Received: by 10.79.78.66 with HTTP; Sun, 30 Aug 2015 11:20:42 -0700 (PDT) In-Reply-To: <55E34714.7080608@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105988 Archived-At: --047d7b10c889ebb72f051e8b5f58 Content-Type: text/plain; charset=UTF-8 On Sun, Aug 30, 2015 at 6:10 PM, martin rudalics wrote: > Remarkable. I don't remember why I added them. And obviously I have no > idea why I wrote the ChangeLog entry in reverse. Just as if I read diff > output in the wrong direction. > I thought it might have been ANTINEWS month and I missed it :-) > > And my current understanding is this bug would not occur if that call > were > > removed. The same issue applies to the change to x_set_window_size, but > I'm > > not certain about removing either call. > > Maybe. But the cause of the SEGFAULT must be elsewhere. I have no > idea how > > 4. make_list interrupted by QUIT > > could happen "while the temporary copy is being created" when > timer_check has set Vinhibit_quit to t. > inhibit_quit inhibits process_quit_flag(), but not process_pending_signals(), if I'm reading this correctly: #define QUIT \ do { \ if (!NILP (Vquit_flag) && NILP (Vinhibit_quit)) \ process_quit_flag (); \ else if (pending_signals) \ process_pending_signals (); \ } while (false) Maybe it should. Regards, Pip --047d7b10c889ebb72f051e8b5f58 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sun, Aug 30, 2015 at 6:10 PM, martin rudalics <rudalics@= gmx.at> wrote:
Remarkable.=C2= =A0 I don't remember why I added them.=C2=A0 And obviously I have no idea why I wrote the ChangeLog entry in reverse.=C2=A0 Just as if I read di= ff
output in the wrong direction.

I though= t it might have been ANTINEWS month and I missed it :-)
=C2= =A0
> And my current understanding is this bug would not occur if that call = were
> removed. The same issue applies to the change to x_set_window_size, bu= t I'm
> not certain about removing either call.

Maybe.=C2=A0 But the cause of the SEGFAULT must be elsewhere.=C2=A0 I have = no
idea how

4. make_list interrupted by QUIT

could happen "while the temporary copy is being created" when
timer_check has set Vinhibit_quit to t.

inhibit_quit inhibi= ts process_quit_flag(), but not process_pending_signals(), if I'm readi= ng this correctly:

#define QUIT=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 \
=C2=A0 do {=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2= =A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0 \
=C2=A0=C2=A0=C2=A0 if (!NILP (Vquit_flag) && NILP (Vinh= ibit_quit))=C2=A0=C2=A0=C2=A0 \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 process_q= uit_flag ();=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0 \
=C2=A0=C2=A0=C2=A0 else if (pending_signals)=C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 process_pending_signals ();=C2=A0=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 \
=C2=A0 } while (false)

Maybe it should.

Regards,
Pip
--047d7b10c889ebb72f051e8b5f58--