From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: bug#5811: 23.1.94; Emacs Nextstep port crashes after graphical yes-or-no-p Date: Tue, 20 Apr 2010 10:33:16 +0200 Message-ID: References: <87ljd7b34s.fsf@stupidchicken.com> <877hoqlxtr.fsf@engster.org> <061906EB-995E-4697-BCCD-993141A6047F@gmail.com> <5A569396-58DA-4C91-A081-1D1866018E8A@gmail.com> <46DD2CEE-3447-4798-979F-30996C4F0776@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271753980 19467 80.91.229.12 (20 Apr 2010 08:59:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2010 08:59:40 +0000 (UTC) Cc: Chong Yidong , 5811@debbugs.gnu.org To: Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 20 10:59:38 2010 connect(): No such file or directory 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 1O49Iw-0003Zy-Ac for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Apr 2010 10:59:38 +0200 Original-Received: from localhost ([127.0.0.1]:47070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O49Iv-0002Pm-Fq for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Apr 2010 04:59:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O49Io-0002PV-7L for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 04:59:30 -0400 Original-Received: from [140.186.70.92] (port=51772 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O49Im-0002P6-Ek for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 04:59:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O49Id-0004g2-K4 for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 04:59:28 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49308) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O49Id-0004ft-Hh for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2010 04:59:19 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O48tB-0002bY-V7; Tue, 20 Apr 2010 04:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Engster Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2010 08:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5811 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 5811-submit@debbugs.gnu.org id=B5811.127175237510005 (code B ref 5811); Tue, 20 Apr 2010 08:33:01 +0000 Original-Received: (at 5811) by debbugs.gnu.org; 20 Apr 2010 08:32:55 +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 1O48t5-0002bK-LF for submit@debbugs.gnu.org; Tue, 20 Apr 2010 04:32:55 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O48t4-0002bF-0q for 5811@debbugs.gnu.org; Tue, 20 Apr 2010 04:32:54 -0400 Original-Received: from imac-c2.pc.gwdg.de ([134.76.4.139]) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1O48t0-00044v-1p; Tue, 20 Apr 2010 10:32:50 +0200 In-Reply-To: <46DD2CEE-3447-4798-979F-30996C4F0776@gmail.com> (Adrian Robert's message of "Sat, 10 Apr 2010 09:11:43 +0300") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.94 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 20 Apr 2010 04:33:01 -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:36340 Archived-At: Adrian Robert writes: > On Apr 6, 2010, at 4:17 PM, Adrian Robert wrote: > >>> Maybe you made a 32bit binary? >>> >>> When I compile with >>> >>> CC="gcc -arch i386" ./configure --with-ns >>> >>> the resulting binary does not crash on the test case. So it appears to >>> be a problem with 64bit only. >> >> Hmm, possibly. Anyway this suggests maybe it is also some sort of signature and/or argument-passing issue. The previous fix just corrected some kind misalignment problem due to the wrong size for the return type being allocated on the stack. > > > This is roughly what it seemed to be. Here is a patch that fixes this issue for me running 10.6.2 64-bit. (I tried to look for other problems of this sort in the source but did not find any -- though that doesn't mean they don't exist!) Sorry for the late reply. I just checked with the latest pretest (23.1.96) and the bug is gone. Thanks! -David