From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Maisonobe Newsgroups: gmane.emacs.bugs Subject: emacs dumps core on exit under solaris 2.8 Date: Wed, 06 Nov 2002 15:14:53 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <3DC923DD.494B13EC@c-s.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------61AC7294EF12A394533F5E35" X-Trace: main.gmane.org 1036595041 1807 80.91.224.249 (6 Nov 2002 15:04:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 15:04:01 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189Rhu-0000Oe-00 for ; Wed, 06 Nov 2002 16:03:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 189Rhu-000094-00; Wed, 06 Nov 2002 10:03:02 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189Qz6-0006rv-00 for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2002 09:16:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189Qz2-0006os-00 for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2002 09:16:43 -0500 Original-Received: from pegase1.cie-signaux.fr ([194.2.40.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 189Qz1-0006nM-00 for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2002 09:16:39 -0500 Original-Received: from pegase0.si.c-s.fr by pegase1.cie-signaux.fr with ESMTP id PAA17288 for ; Wed, 6 Nov 2002 15:19:45 +0100 (MET) Original-Received: from pegase0.si.c-s.fr by pegase0.si.c-s.fr with ESMTP id PAA03108 for ; Wed, 6 Nov 2002 15:15:53 +0100 (MET) Original-Received: from hermes8.si.c-s.fr by pegase0.si.c-s.fr with ESMTP id PAA03098 for ; Wed, 6 Nov 2002 15:15:52 +0100 (MET) Original-Received: from c-s.fr ([172.17.52.68]) by hermes8.si.c-s.fr (Netscape Messaging Server 3.62) with ESMTP id 621 for ; Wed, 6 Nov 2002 15:05:56 +0100 X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3831 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3831 This is a multi-part message in MIME format. --------------61AC7294EF12A394533F5E35 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I am trying to compile emacs 21.2 on a solaris 2.8 computer, using gcc 3.2. During the compilation process, the just built emacs is used to do several thing (for example loading blessmail). Everything seem to work fine except that upon exit, emacs dumps core. In this particular place, this stops the make process. I noticed several prior crashes in the previous lines. I even reproduced this with the simple command : ./emacs -q -batch After having read the MACHINE file and the PROBLEMS files, I have tried to configure using --with-xim=no, but I still have this problem. The post-mortem debugging session attached shows there is a segmentation violation, but there is no information on where this comes from. Here are some informations : uname -a : SunOS cepheus 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-5_10 emacs configured with : --prefix=/usr/local --with-x-toolkit=motif --infodir=/usr/local/info --with-sound=no --with-xim=no compiler gcc 3.2 Luc --------------61AC7294EF12A394533F5E35 Content-Type: text/plain; charset=us-ascii; name="gdb-session" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gdb-session" Current directory is /usr/local/src/redhat/BUILD/emacs-21.2/src/ GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.8"... Core was generated by `./emacs -q -batch'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/dt/lib/libXm.so.4...done. Loaded symbols for /usr/dt/lib/libXm.so.4 Reading symbols from /usr/lib/libgen.so.1...done. Loaded symbols for /usr/lib/libgen.so.1 Reading symbols from /usr/openwin/lib/libXp.so.1...done. Loaded symbols for /usr/openwin/lib/libXp.so.1 Reading symbols from /usr/openwin/lib/libXmu.so.4...done. Loaded symbols for /usr/openwin/lib/libXmu.so.4 Reading symbols from /usr/openwin/lib/libXt.so.4...done. Loaded symbols for /usr/openwin/lib/libXt.so.4 Reading symbols from /usr/openwin/lib/libSM.so.6...done. Loaded symbols for /usr/openwin/lib/libSM.so.6 Reading symbols from /usr/openwin/lib/libICE.so.6...done. Loaded symbols for /usr/openwin/lib/libICE.so.6 Reading symbols from /usr/openwin/lib/libXext.so.0...done. Loaded symbols for /usr/openwin/lib/libXext.so.0 Reading symbols from /usr/local/lib/libpng.so.3...done. Loaded symbols for /usr/local/lib/libpng.so.3 Reading symbols from /usr/lib/libm.so.1...done. Loaded symbols for /usr/lib/libm.so.1 Reading symbols from /usr/openwin/lib/libX11.so.4...done. Loaded symbols for /usr/openwin/lib/libX11.so.4 Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /usr/lib/libsocket.so.1 Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /usr/lib/libnsl.so.1 Reading symbols from /usr/lib/libkstat.so.1...done. Loaded symbols for /usr/lib/libkstat.so.1 Reading symbols from /usr/lib/libcurses.so.1...done. Loaded symbols for /usr/lib/libcurses.so.1 Reading symbols from /usr/lib/libc.so.1...done. Loaded symbols for /usr/lib/libc.so.1 Reading symbols from /usr/lib/libdl.so.1...done. Loaded symbols for /usr/lib/libdl.so.1 Reading symbols from /usr/openwin/lib/libdga.so.1...done. Loaded symbols for /usr/openwin/lib/libdga.so.1 Reading symbols from /usr/lib/libmp.so.2...done. Loaded symbols for /usr/lib/libmp.so.2 Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 #0 0xfec9be4c in _libc_kill () from /usr/lib/libc.so.1 DISPLAY = :0.0 TERM = dumb Breakpoint 1 at 0xd8bb8: file emacs.c, line 387. Breakpoint 2 at 0xba4c4: file xterm.c, line 12018. (gdb) bt #0 0xfec9be4c in _libc_kill () from /usr/lib/libc.so.1 #1 0x000d8ba8 in fatal_error_signal (sig=11) at emacs.c:354 #2 #3 0x0004449c in __do_global_dtors_aux () #4 0x001b0760 in _fini () #5 0xfec1b968 in _exithandle () from /usr/lib/libc.so.1 #6 0xfec9bdf0 in exit () from /usr/lib/libc.so.1 #7 0x000da3d8 in Fkill_emacs (arg=271387700) at emacs.c:1830 #8 0x00141680 in Ffuncall (nargs=1, args=0xffbeeba4) at eval.c:2659 #9 0x00170f00 in Fbyte_code (bytestr=-4265056, vector=1, maxdepth=5) at bytecode.c:716 #10 0x00141ae0 in funcall_lambda (fun=1076306636, nargs=0, arg_vector=0xffbeed54) at eval.c:2851 #11 0x00141550 in Ffuncall (nargs=0, args=0xffbeed50) at eval.c:2716 #12 0x00170f00 in Fbyte_code (bytestr=-4264624, vector=0, maxdepth=5) at bytecode.c:716 #13 0x00141ae0 in funcall_lambda (fun=1076302700, nargs=0, arg_vector=0xffbeee70) at eval.c:2851 #14 0x00141998 in apply_lambda (fun=1076302700, args=2882560, eval_flag=1) at eval.c:2770 #15 0x001404a4 in Feval (form=1346824668) at eval.c:2071 #16 0x0013f1a4 in internal_condition_case (bfun=0xdb670 , handlers=271509700, hfun=0xdb314 ) at eval.c:1267 #17 0x000db6bc in top_level_1 () at keyboard.c:1262 #18 0x0013ece4 in internal_catch (tag=271462052, func=0xdb684 , arg=271387652) at eval.c:1030 #19 0x000db5c8 in command_loop () at keyboard.c:1223 #20 0x000db058 in recursive_edit_1 () at keyboard.c:950 #21 0x000db1c0 in Frecursive_edit () at keyboard.c:1006 #22 0x000d9f24 in main (argc=3, argv=0xffbef474, envp=0x2bfc00) at emacs.c:1547 (gdb) info sharedlibrary >>From To Syms Read Shared Object Library 0xff1485b0 0xff2d7380 Yes /usr/dt/lib/libXm.so.4 0xff371b18 0xff375934 Yes /usr/lib/libgen.so.1 0xff351c3c 0xff35681c Yes /usr/openwin/lib/libXp.so.1 0xff0d4e30 0xff0e1bb0 Yes /usr/openwin/lib/libXmu.so.4 0xff06ea94 0xff0ae3c4 Yes /usr/openwin/lib/libXt.so.4 0xff332758 0xff337c20 Yes /usr/openwin/lib/libSM.so.6 0xff033d48 0xff041c08 Yes /usr/openwin/lib/libICE.so.6 0xff003d78 0xff017174 Yes /usr/openwin/lib/libXext.so.0 0xfefb5cac 0xfefd1018 Yes /usr/local/lib/libpng.so.3 0xfef81fd0 0xfef90020 Yes /usr/lib/libm.so.1 0xfee92510 0xfef031d0 Yes /usr/openwin/lib/libX11.so.4 0xfef63868 0xfef69964 Yes /usr/lib/libsocket.so.1 0xfed93ed4 0xfedfd39c Yes /usr/lib/libnsl.so.1 0xfef408c4 0xfef40efc Yes /usr/lib/libkstat.so.1 0xfed3c110 0xfed57da0 Yes /usr/lib/libcurses.so.1 0xfec1b7f8 0xfec9be7c Yes /usr/lib/libc.so.1 0xff390850 0xff3908b0 Yes /usr/lib/libdl.so.1 0xfee44920 0xfee50870 Yes /usr/openwin/lib/libdga.so.1 0xfed10c34 0xfed12b80 Yes /usr/lib/libmp.so.2 0xfed00534 0xfed035e8 Yes /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 (gdb) --------------61AC7294EF12A394533F5E35--