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, 08 Nov 2005 12:03:22 -0700 Message-ID: References: <43709E08.60803@rdg.ac.uk> 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 1131477699 21229 80.91.229.2 (8 Nov 2005 19:21:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2005 19:21:39 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 08 20:21:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZZ04-0005ND-AS for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Nov 2005 20:19:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZZ02-0001Eg-GM for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Nov 2005 14:19:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EZYzE-0000ul-2q for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2005 14:18:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EZYzB-0000tK-81 for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2005 14:18:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZYzA-0000t0-Og for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2005 14:18:24 -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 1EZYz9-0007Vr-P9 for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2005 14:18:24 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EZYr5-0008Uy-5u for bug-gnu-emacs@gnu.org; Tue, 08 Nov 2005 20:10:03 +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 ; Tue, 08 Nov 2005 20:10:03 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2005 20:10:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Lines: 71 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: <43709E08.60803@rdg.ac.uk> 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:13953 Archived-At: Andy Heaps 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? 1. The -batch command line option implies -q (aka -no-init-file); try ./emacs -no-site-file -batch -f list-load-path-shadows 2. Why would the -f list-load-path-shadows command line option cause Fcommand_execute and Fcall_interactively to be called? > gcc -v > Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs > Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure > --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as > --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ > --enable-shared > Thread model: posix > gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) > > Compile error: > -------------- > ./emacs -q -batch -f list-load-path-shadows > Fatal error (11).*** Signal 11 (ignored) > > gdb output: > ------------------ > (gdb) run > Starting program: /home/andy/emacs-21.4/src/emacs > > Program received signal SIGSEGV, Segmentation fault. > 0x0808315d in __do_global_dtors_aux () > (gdb) bt > #0 0x0808315d in __do_global_dtors_aux () > #1 0x081b3235 in _fini () > #2 0xfea7f04d in _exithandle () from /lib/libc.so.1 > #3 0xfea71c92 in exit () from /lib/libc.so.1 > #4 0x0810d2ab in Fkill_emacs (arg=405593092) at emacs.c:1830 > #5 0x0816a2b4 in Ffuncall (nargs=1, args=0x80472d0) at eval.c:2662 > #6 0x08195ee2 in Fbyte_code (bytestr=405593092, vector=0, > maxdepth=134509392) > at bytecode.c:716 > #7 0x08169cfa in funcall_lambda (fun=1210387300, nargs=1, > arg_vector=0x80474e4) > at eval.c:2851 > #8 0x0816a0c9 in Ffuncall (nargs=2, args=0x80474e0) at eval.c:2716 > #9 0x0816763a in Fcall_interactively (function=405955612, > record_flag=405593092, > keys=1210978304) at callint.c:797 > #10 0x08112e5b in Fcommand_execute (cmd=405955612, > record_flag=405593092, keys=405593092, > special=405593092) at keyboard.c:9250 > #11 0x0811aa4e in command_loop_1 () at keyboard.c:1661 > #12 0x0816827d in internal_condition_case (bfun=0x811a680 , > handlers=405715164, hfun=0x811391c ) at eval.c:1267 > #13 0x0810f0d2 in command_loop_2 () at keyboard.c:1245 > #14 0x081681c1 in internal_catch (tag=0, func=0x810f0b4 > , arg=405593092) > at eval.c:1030 > #15 0x0810eecc in command_loop () at keyboard.c:1224 > #16 0x0810ef6d in recursive_edit_1 () at keyboard.c:950 > #17 0x0810f09d in Frecursive_edit () at keyboard.c:1006 > #18 0x0810e3d8 in main (argc=1, argv=0x80479e0, envp=0x80479e8) at > emacs.c:1547 > (gdb) -- Kevin Rodgers