unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Emacs 21.4a - Solaris 10 x86,  Fatal error (11) on exit
Date: Tue, 08 Nov 2005 12:03:22 -0700	[thread overview]
Message-ID: <dkqsps$gpd$1@sea.gmane.org> (raw)
In-Reply-To: <43709E08.60803@rdg.ac.uk>

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 
<command_loop_1>,
 >     handlers=405715164, hfun=0x811391c <cmd_error>) at eval.c:1267
 > #13 0x0810f0d2 in command_loop_2 () at keyboard.c:1245
 > #14 0x081681c1 in internal_catch (tag=0, func=0x810f0b4
 > <command_loop_2>, 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

  reply	other threads:[~2005-11-08 19:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08 12:46 Emacs 21.4a - Solaris 10 x86, Fatal error (11) on exit Andy Heaps
2005-11-08 19:03 ` Kevin Rodgers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-12-06 20:41 Jeff Blaine
2005-12-07  0:24 ` Kevin Rodgers
2005-12-15 22:55 ` Jeff Blaine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='dkqsps$gpd$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).