From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 21.4a - Solaris 10 x86, Fatal error (11) on exit Date: Tue, 06 Dec 2005 17:24:41 -0700 Message-ID: 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 1133917416 32147 80.91.229.2 (7 Dec 2005 01:03:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2005 01:03:36 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 07 02:03:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EjnhC-00064z-Pd for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Dec 2005 02:02:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjnhP-0000ug-JG for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2005 20:02:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ejn9D-0001wl-A5 for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 19:27:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ejn94-0001jD-Dq for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 19:26:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ejn92-0001ik-7q for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 19:26:53 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Ejn9n-0004i8-2e for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2005 19:27:39 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ejn7Z-0003Ry-3s for bug-gnu-emacs@gnu.org; Wed, 07 Dec 2005 01:25:21 +0100 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Dec 2005 01:25:21 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Dec 2005 01:25:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 49 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: <4395F794.5050304@mitre.org> 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:14506 Archived-At: 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. I was just pointing out that there was no need to specify -q, and that omitting -no-site-file left open the possibility that some local configuration was triggering the error. Not to blame such a configuration, but just to see whether the C crash could be traced back to a particular piece of Lisp. > % ./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. The CSW (Community SoftWare) site at http://www.blastwave.org/ provides 21.3 binaries for Solaris 8 through 11 on both SPARC and x86, all built on Solaris 8, from the stable respository. It also provides 21.4 binaries for those platforms from the unstable repository, also built on version 8. See first the pkg-get site at http://www.bolthole.com/solaris/pkg-get.html > Any ideas? I have tried both with GNU ld/as as part of > binutils and also /usr/ccs/bin/ld (and as). Same problem What does ldd report for the emacs executable? Do you have LD_LIBRARY_PATH set? -- Kevin Rodgers