From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#18925: On Mac emacs -nw crashes, emacs doesn't Date: Mon, 03 Nov 2014 08:18:20 +0100 Message-ID: <54572C3C.9030708@swipnet.se> References: <83y4rtwhvb.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1414999173 18676 80.91.229.3 (3 Nov 2014 07:19:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 07:19:33 +0000 (UTC) Cc: 18925@debbugs.gnu.org To: Eli Zaretskii , David Kanter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 08:19:26 2014 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 1XlBvB-0003eU-ND for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 08:19:25 +0100 Original-Received: from localhost ([::1]:60689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlBvB-0002jh-Aj for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 02:19:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlBuz-0002hY-Q5 for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 02:19:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlBuq-0007qI-Gv for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 02:19:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlBuq-0007qE-Dg for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 02:19:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XlBuq-0001hw-7D for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 02:19:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Nov 2014 07:19:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18925 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18925-submit@debbugs.gnu.org id=B18925.14149991116486 (code B ref 18925); Mon, 03 Nov 2014 07:19:04 +0000 Original-Received: (at 18925) by debbugs.gnu.org; 3 Nov 2014 07:18:31 +0000 Original-Received: from localhost ([127.0.0.1]:46735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlBuI-0001gX-Ay for submit@debbugs.gnu.org; Mon, 03 Nov 2014 02:18:30 -0500 Original-Received: from mailfe01.swip.net ([212.247.154.1]:39451 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlBuF-0001gI-Mh for 18925@debbugs.gnu.org; Mon, 03 Nov 2014 02:18:28 -0500 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 540987126; Mon, 03 Nov 2014 08:18:21 +0100 Original-Received: from jdvpro.local (unknown [176.57.193.190]) (Authenticated sender: jhd) by hosdjarv.se (Postfix) with ESMTPSA id DA6951A01EC; Mon, 3 Nov 2014 07:18:20 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <83y4rtwhvb.fsf@gnu.org> 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: 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:95418 Eli Zaretskii skrev den 2014-11-02 19:57: >> From: David Kanter >> Date: Sun, 02 Nov 2014 11:56:06 -0500 >> >> I track emacs-24 using bzr on my Mac, and build Emacs.app using >> --with-ns. Over the last few days emacs -nw crashes on startup, but the >> NeXTstep emacs works fine. >> >> When I start emacs -nw at the terminal, I get >> >> Fatal error 11: Segmentation faultAbort >> >> and come back to the prompt. Below is the crash report generated by the >> Mac. (I don't think I can do report-emacs-bug if Emacs doesn't start, >> right?) > > You can report-emacs-bug from a GUI session. > >> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread >> 0 libsystem_kernel.dylib 0x00007fff8d394292 __kill + 10 >> 1 org.gnu.Emacs 0x00000001000b82f4 terminate_due_to_signal + 148 (emacs.c:378) >> 2 org.gnu.Emacs 0x00000001000d5733 emacs_abort + 19 >> 3 org.gnu.Emacs 0x00000001001a736c ns_term_shutdown + 124 >> 4 org.gnu.Emacs 0x00000001000b84eb shut_down_emacs + 283 (emacs.c:2054) >> 5 org.gnu.Emacs 0x00000001000b82b9 terminate_due_to_signal + 89 (emacs.c:363) >> 6 org.gnu.Emacs 0x00000001000d7066 deliver_fatal_thread_signal + 134 >> 7 libsystem_platform.dylib 0x00007fff913b25aa _sigtramp + 26 >> 8 ??? 000000000000000000 0 + 0 >> 9 org.gnu.Emacs 0x00000001000266da redisplay_internal + 7258 (xdisp.c:13957) > > What is on line 13957 of xdisp.c in the sources used to build this > binary? I'm asking because in the sources I have here, that line > says: > > if (interrupt_input) > > which cannot possibly segfault. Stack smashing makes the backtrace unreliable. It was not xdisp.c, but nsfns.m. Maybe that is the 8 ??? above. Jan D.