From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#12834: 24.3.50; OS X selecting a font can lock Emacs Date: Wed, 14 Nov 2012 07:08:17 +0100 Message-ID: <1F0B0E97-56CE-4078-BD56-6B6D690245B6@swipnet.se> References: <2554F49D-A931-422C-B95F-019466CF2878@swipnet.se> <5AFE0BBF-5319-4D84-89D1-E0498AA64B8D@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352873317 13375 80.91.229.3 (14 Nov 2012 06:08:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2012 06:08:37 +0000 (UTC) Cc: "12834@debbugs.gnu.org" <12834@debbugs.gnu.org> To: Ivan Andrus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 14 07:08:46 2012 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 1TYW9W-0005Ex-Fo for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Nov 2012 07:08:46 +0100 Original-Received: from localhost ([::1]:46741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYW9M-0001Ka-Ns for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Nov 2012 01:08:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYW9H-0001KT-U6 for bug-gnu-emacs@gnu.org; Wed, 14 Nov 2012 01:08:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYW9E-0002ER-S9 for bug-gnu-emacs@gnu.org; Wed, 14 Nov 2012 01:08:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYW9E-0002EL-O7 for bug-gnu-emacs@gnu.org; Wed, 14 Nov 2012 01:08:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TYW9m-00076k-Ae for bug-gnu-emacs@gnu.org; Wed, 14 Nov 2012 01:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Nov 2012 06:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12834 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 12834-submit@debbugs.gnu.org id=B12834.135287333627309 (code B ref 12834); Wed, 14 Nov 2012 06:09:02 +0000 Original-Received: (at 12834) by debbugs.gnu.org; 14 Nov 2012 06:08:56 +0000 Original-Received: from localhost ([127.0.0.1]:40391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYW9g-00076P-4p for submit@debbugs.gnu.org; Wed, 14 Nov 2012 01:08:56 -0500 Original-Received: from mailout.melmac.se ([62.20.26.67]:57235) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYW9d-00076F-St for 12834@debbugs.gnu.org; Wed, 14 Nov 2012 01:08:55 -0500 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id B9A2CC684 for <12834@debbugs.gnu.org>; Wed, 14 Nov 2012 07:08:17 +0100 (CET) Original-Received: (qmail 21842 invoked by uid 89); 14 Nov 2012 06:08:17 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 14 Nov 2012 06:08:17 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 389CF7FA05E; Wed, 14 Nov 2012 07:08:17 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Spam-Score: 1.5 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 1.5 (+) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:66905 Archived-At: Hello. 13 nov 2012 kl. 19:40 skrev Ivan Andrus : > On Nov 13, 2012, at 4:19 PM, Jan Dj=E4rv wrote: >=20 >> Hello.=20 >> Please keep the debbugs Cc. >=20 > Sorry. I always forget. I really wish it was the default reply-to. >=20 >> Which version did you build? Are you sure you built the emacs-24 = branch, not trunk? >=20 > To be honest I'm not entirely sure how to figure that out. Every time = I think I understand bzr it doesn't do what I think. Anyway, updating = on the branch I get >=20 > $ bzr pull > Using saved parent location: = bzr://bzr.savannah.gnu.org/emacs/emacs-24/ = = =20 > No revisions or tags to pull. = = =20 >=20 > In src/nsterm.m I see >=20 > 303 static void > 304 hold_event (struct input_event *event) > 305 { > 306 if (hold_event_q.nr =3D=3D hold_event_q.cap) > 307 { > 308 if (hold_event_q.cap =3D=3D 0) hold_event_q.cap =3D 10; > 309 else hold_event_q.cap *=3D 2; > 310 hold_event_q.q =3D (struct input_event *) > 311 xrealloc (hold_event_q.q, hold_event_q.cap * sizeof = (*hold_event_q.q)); > 312 } > 313 =20 > 314 hold_event_q.q[hold_event_q.nr++] =3D *event; > 315 /* Make sure ns_read_socket is called, i.e. we have input. = */ > 316 kill (0, SIGIO); > 317 } >=20 > which I think is the required change. I still see the problem. When = I run under gdb I am unable to interrupt the process with Ctrl-C once it = has stopped responding. I'm afraid I'm not sure how to help debug it = otherwise. Sending SIGIO manually doesn't cause it to become = responsive. >=20 That is the fix. Sending SIGIO manually is pointless. I can not = reproduce the error anymore, so make sure you did make install, and give = the exact steps you did to encounter the bug, starting from -Q. Thanks, Jan D.