From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.bugs Subject: bug#5515: 23.1.92; OSX: Emacs gets stuck while wanting to display a dialog box Date: Sat, 10 Apr 2010 09:26:04 +0300 Message-ID: <595242C7-4459-464C-837F-5084D2495715@gmail.com> References: <05F4997F-3D28-4D17-8207-BAEDC5E3C050@gmail.com> <5521A25A-8663-4D07-98D2-7655556495FC@tzi.org> <635E47E2-AB4C-4990-85B4-51CEE279B501@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/mixed; boundary=Apple-Mail-14-515788409 X-Trace: dough.gmane.org 1270880953 30490 80.91.229.12 (10 Apr 2010 06:29:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2010 06:29:13 +0000 (UTC) To: Carsten Bormann , 5515@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 10 08:29:12 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O0UBr-0006f8-DX for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Apr 2010 08:29:11 +0200 Original-Received: from localhost ([127.0.0.1]:36283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0UBq-0007LG-SN for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Apr 2010 02:29:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0UBV-0007CY-PC for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 02:28:49 -0400 Original-Received: from [140.186.70.92] (port=40487 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0UBR-0007Bo-3c for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 02:28:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0UBP-0001vz-Kx for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 02:28:45 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37020) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0UBP-0001vt-Ey for bug-gnu-emacs@gnu.org; Sat, 10 Apr 2010 02:28:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O0U9m-0005l3-FH; Sat, 10 Apr 2010 02:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Adrian Robert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Apr 2010 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5515 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 5515-submit@debbugs.gnu.org id=B5515.127088077422125 (code B ref 5515); Sat, 10 Apr 2010 06:27:02 +0000 Original-Received: (at 5515) by debbugs.gnu.org; 10 Apr 2010 06:26:14 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0U8z-0005ko-EX for submit@debbugs.gnu.org; Sat, 10 Apr 2010 02:26:13 -0400 Original-Received: from mail-ew0-f209.google.com ([209.85.219.209]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0U8x-0005ki-7p for 5515@debbugs.gnu.org; Sat, 10 Apr 2010 02:26:11 -0400 Original-Received: by ewy1 with SMTP id 1so1533920ewy.15 for <5515@debbugs.gnu.org>; Fri, 09 Apr 2010 23:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=A+5Bg/WkRBGrL2cZKiejf8JVaKb8hxMJs9W0dyVsvck=; b=jQu/m4CqGhhFUyKwpDRsxPWnV1QybyehvFhiiziMoHQmc4sjPy3nRpPuriPkUt+TNe tM2O77LC6OJ5FvX486HY09C26lGZepLN13M1iK9HFSBKrY5AvCa5H2ZjNfG44HAWHtLF 8Jpo4y/H6/4jG1wHRb31v6WdbQdv5kgYlPOyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=ETmq0ufErK6uglZJ1dNJU8H0uCCB3z99OgdKUYTbJEiY7gk7yyw1SzrjhuL4D1hirV reWrTMmpKGnDN2KUMMLcFXXvz/mZBdDTkVq1X+fkL5dwEQdIyz7/I4f8jDGET2RqsDz/ jmwJL/waDRAkI59eIaPX9AyJfqII8nJDwI+0w= Original-Received: by 10.213.49.79 with SMTP id u15mr919051ebf.20.1270880767510; Fri, 09 Apr 2010 23:26:07 -0700 (PDT) Original-Received: from [10.0.1.2] (dsl-hkibrasgw2-ff6ec300-110.dhcp.inet.fi [88.195.110.110]) by mx.google.com with ESMTPS id 15sm1221437ewy.12.2010.04.09.23.26.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 23:26:06 -0700 (PDT) In-Reply-To: <635E47E2-AB4C-4990-85B4-51CEE279B501@gmail.com> X-Mailer: Apple Mail (2.1077) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 10 Apr 2010 02:27:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36141 Archived-At: --Apple-Mail-14-515788409 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Apr 3, 2010, at 6:18 PM, Adrian Robert wrote: >=20 > On Apr 3, 2010, at 12:57 PM, Carsten Bormann wrote: >=20 >> I have distilled the test case to the attached file. >> Sorry, I don't know how to reduce this further. >> At least it's fully reproduceable with various Emacs versions around = 23.1/24.0. >> I only tried it on 10.6, though. >=20 > Hello Carsten, Thank you for this test case. I tried the procedure outlined, but could = not reproduce the issue on a somewhat older (23.1.90) version of emacs, = running 64-bit on 10.6.2. I guess we have a regression here. However, = I fixed a related dialog problem (bug#5811) with the attached patch. = Would you be able to test it and see if it does anything for the issue = in your case? thanks, Adrian --Apple-Mail-14-515788409 Content-Disposition: attachment; filename=snowLeopard_dialog.patch Content-Type: application/octet-stream; name="snowLeopard_dialog.patch" Content-Transfer-Encoding: 7bit Index: nsmenu.m =================================================================== RCS file: /sources/emacs/emacs/src/nsmenu.m,v retrieving revision 1.31 diff -u -p -r1.31 nsmenu.m --- nsmenu.m 9 Nov 2009 06:21:03 -0000 1.31 +++ nsmenu.m 10 Apr 2010 06:09:44 -0000 @@ -1709,7 +1709,7 @@ void process_dialog (id window, Lisp_Obj - (Lisp_Object)runDialogAt: (NSPoint)p { - int ret; + NSInteger ret; extern EMACS_TIME timer_check (int do_it_now); /* TODO: add to a header */ /* initiate a session that will be ended by pop_down_menu */ --Apple-Mail-14-515788409 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail-14-515788409--