bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs dumps core on exit under solaris 2.8


From: Luc Maisonobe
Subject: emacs dumps core on exit under solaris 2.8
Date: Wed, 06 Nov 2002 15:14:53 +0100

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
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  <signal handler called>
#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 <top_level_2>, 
handlers=271509700, 
    hfun=0xdb314 <cmd_error>) at eval.c:1267
#17 0x000db6bc in top_level_1 () at keyboard.c:1262
#18 0x0013ece4 in internal_catch (tag=271462052, func=0xdb684 <top_level_1>, 
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) 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]