From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs Subject: bug#14319: Abort in ns_select - `accept-process-output' in menu Date: Fri, 25 Dec 2015 19:33:15 -0500 Message-ID: References: <517D5509.70903@sift.info> <22736A49-1573-44C8-A1A2-C9C6237EAAAD@gmail.com> <877fk2nlam.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1139b2e2b4f3010527c23710 X-Trace: ger.gmane.org 1451090064 13901 80.91.229.3 (26 Dec 2015 00:34:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2015 00:34:24 +0000 (UTC) Cc: "14319@debbugs.gnu.org" <14319@debbugs.gnu.org>, robert goldman To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 26 01:34:14 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 1aCcoG-00072z-6v for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 01:34:12 +0100 Original-Received: from localhost ([::1]:36957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCcoF-0003Pd-Cl for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Dec 2015 19:34:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCcoB-0003PY-Kl for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 19:34:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCco6-00033t-Ms for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 19:34:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCco6-00033p-IQ for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 19:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCco6-0005Ts-Bo for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 19:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Reitter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2015 00:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14319 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 14319-submit@debbugs.gnu.org id=B14319.145109000821026 (code B ref 14319); Sat, 26 Dec 2015 00:34:02 +0000 Original-Received: (at 14319) by debbugs.gnu.org; 26 Dec 2015 00:33:28 +0000 Original-Received: from localhost ([127.0.0.1]:36192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCcnV-0005T0-2b for submit@debbugs.gnu.org; Fri, 25 Dec 2015 19:33:28 -0500 Original-Received: from mail-qg0-f52.google.com ([209.85.192.52]:35950) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCcnQ-0005Sk-NY for 14319@debbugs.gnu.org; Fri, 25 Dec 2015 19:33:24 -0500 Original-Received: by mail-qg0-f52.google.com with SMTP id e32so24892779qgf.3 for <14319@debbugs.gnu.org>; Fri, 25 Dec 2015 16:33:20 -0800 (PST) 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=ySYfuIFb/EE4e3pNGWVZZYXLPSgjBOvkfFrEcqVz9pI=; b=H4IKF9G3GzoGOX7K2BVTb+iGi7nhxaYU2d02rEi8DQLGMk1H3p6mwNUFae9cay8rsU HzJLBcTYarFHiKVuMxFOrV4wjzvZ/vJ5UCzsynVfQ+R1+BQBXu8TIsmNI+oARHfU8ZfV YUrP6/xU7ivLnDFQUsWELldjgBGbqWQjtDgGUuV0oM6Pz0VwiBQm3TiEbrGoHQfvJvVy D2etPwYsVSrJZAJLH9jAK1zK3wZq/q7PbEisCEy8tHRkBPJzJn8AFx5kPyGEr0kL/kc1 3/Ab5SuPN5+CsmCbp+BWfKs3S1/xuQ/M7zeEa2yrXhwqcIkmgGL0zfHo/kO7idy/xVRR ZjoQ== X-Received: by 10.140.162.214 with SMTP id i205mr60188319qhi.32.1451089995295; Fri, 25 Dec 2015 16:33:15 -0800 (PST) Original-Received: by 10.55.19.36 with HTTP; Fri, 25 Dec 2015 16:33:15 -0800 (PST) In-Reply-To: <877fk2nlam.fsf@gnus.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110524 Archived-At: --001a1139b2e2b4f3010527c23710 Content-Type: text/plain; charset=UTF-8 I will see if I can reproduce it once I get back to a real computer in January. On Friday, December 25, 2015, Lars Ingebrigtsen wrote: > David Reitter > writes: > > > X-Debbugs-CC: Robert Goldman > > > > > I received the crash report below from a user. > > After some inspection, I think this happens in ns_select (nsterm:3748): > > > > if (++apploopnr != 1) > > { > > emacs_abort (); > > } > > > > The code below actually reproduces a crash similar to this (when opening > a menu after evaluating the code), even though I have no idea where actual > code would do such a thing. I think the reporting user has SLIME installed. > > > > (define-key-after menu-bar-file-menu [kill-buffer] > > `(menu-item "test" > > 'test-menu > > :enable (accept-process-output (first (process-list)) 0 100)) > > 'separator-save) > > Is this still a problem in Emacs 25? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --001a1139b2e2b4f3010527c23710 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I will see if I can reproduce it once I get back to a real computer in Janu= ary.=C2=A0

On Friday, December 25, 2015, Lars Ingebrigt= sen <larsi@gnus.org> wrote:
=
David Reitter <dav= id.reitter@gmail.com> writes:

> X-Debbugs-CC: Robert Goldman <rpgoldman@sift.inf= o>
>
> I received the crash report below from a user.
> After some inspection, I think this happens in ns_select (nsterm:3748)= :
>
>=C2=A0 =C2=A0if (++apploopnr !=3D 1)
>=C2=A0 =C2=A0 =C2=A0{
>=C2=A0 =C2=A0 =C2=A0 =C2=A0emacs_abort ();
>=C2=A0 =C2=A0 =C2=A0}
>
> The code below actually reproduces a crash similar to this (when openi= ng a menu after evaluating the code), even though I have no idea where actu= al code would do such a thing.=C2=A0 I think the reporting user has SLIME i= nstalled.
>
> (define-key-after menu-bar-file-menu [kill-buffer]
>=C2=A0 =C2=A0`(menu-item "test"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'test-menu
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:enable (accept-process= -output (first (process-list)) 0 100))
>=C2=A0 =C2=A0'separator-save)

Is this still a problem in Emacs 25?

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--001a1139b2e2b4f3010527c23710--