From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeff Blaine Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 21.4a - Solaris 10 x86, Fatal error (11) on exit Date: Thu, 15 Dec 2005 17:55:28 -0500 Message-ID: <43A1F460.9080708@mitre.org> References: <4395F794.5050304@mitre.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134689852 8053 80.91.229.2 (15 Dec 2005 23:37:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2005 23:37:32 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 16 00:37:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1En2cX-0005SA-RO for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2005 00:34:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1En2dD-0003x6-2j for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Dec 2005 18:35:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1En21L-0002p4-FK for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2005 17:56:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1En21G-0002lg-8G for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2005 17:56:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1En21F-0002lK-Af for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2005 17:56:13 -0500 Original-Received: from [192.160.51.76] (helo=smtp-bedford.mitre.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1En23Z-0007BV-2F for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2005 17:58:37 -0500 Original-Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with SMTP id jBFMtUk03451 for ; Thu, 15 Dec 2005 17:55:30 -0500 Original-Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (Postfix) with ESMTP id A2BBABF00 for ; Thu, 15 Dec 2005 17:55:30 -0500 (EST) Original-Received: from linus.mitre.org (linus.mitre.org [129.83.10.1]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id jBFMtUR03437 for ; Thu, 15 Dec 2005 17:55:30 -0500 Original-Received: from [127.0.0.1] (unity-200-167.mitre.org [129.83.200.167]) by linus.mitre.org (8.12.10/8.12.10) with ESMTP id jBFMtT6O002003 for ; Thu, 15 Dec 2005 17:55:30 -0500 (EST) User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: bug-gnu-emacs@gnu.org In-Reply-To: <4395F794.5050304@mitre.org> X-Mailman-Approved-At: Thu, 15 Dec 2005 18:35:06 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:14655 Archived-At: FWIW, this is solved with 21.3 by getting the CVS version of src/unexelf.c and src/unexsol.c as of 12/15/2005 at least. How to get the files: cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs \ co emacs I would be surprised if the same did not work for 21.4 Works for SPARC and x86 Solaris 10 with GCC 3.4 (and I bet others). Jeff Blaine wrote: > > I've compiled emacs21.4a on a Solaris 10 x86 box and get a > > strange "Fatal error (11).Segmentation Fault" on exit of the emacs > > program. Emacs seems to work okay apart from this exit error. > > Any ideas what the problem might be? > > Kevin Rodgers commented: > > 1. The -batch command line option implies > -q (aka -no-init-file); try > > ./emacs -no-site-file -batch -f list-load-path-shadows > > Kevin, I think this is missing the main problem. > > % ./emacs -no-site-file -batch -f list-load-path-shadows > Fatal error (11).Segmentation Fault (core dumped) > % > > This is on Solaris 10 for SPARC in my case, not x86. The > problem exists back in 21.3 under Solaris 10 as well FWIW. > > Note, however, that as Andy Heaps mentioned above, emacs > does in fact run (./emacs), then segfaults at exit time. > > Curious how there's no Emacs 21.x up on sunfreeware.com yet > after the OS has been out for over a year now. > > Any ideas? I have tried both with GNU ld/as as part of > binutils and also /usr/ccs/bin/ld (and as). Same problem > >