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

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

Emacs 21.4.1 Solaris 10 gcc 3.4.3/3.4.6 Fatal error (11).Segmentation


From: Richard Jackson
Subject: Emacs 21.4.1 Solaris 10 gcc 3.4.3/3.4.6 Fatal error (11).Segmentation
Date: Tue, 23 May 2006 09:41:58 -0400 (EDT)

This is a followup to my post earlier today.  My post is at the bottom.

The problem is exiting emacs 21.4.1 built via both gcc 3.4.3 and 3.4.6 resulted
in a core dump with this error

error (11).Segmentation Fault(coredump)

Starting src/emacs -q or without -q resulted in the error.  The make operation
also recorded this error

./emacs -q -batch -f list-load-path-shadows
gmake[1]: *** [emacs] Segmentation Fault (core dumped)
gmake[1]: Leaving directory `/usr/local/src/emacs-21.4/src'
(export PARALLEL; PARALLEL=0; cd leim; gmake all  \
          CC='/usr/sfw/bin/gcc' CFLAGS='-g -O2' CPPFLAGS='' \
          LDFLAGS='-L/usr/openwin/lib' MAKE='gmake')
gmake[1]: Entering directory `/usr/local/src/emacs-21.4/leim'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/src/emacs-21.4/leim'

However, compiling emacs 21.4.1 with CFLAGS option 
-fno-zero-initialized-in-bss seemed to solve the problem

CFLAGS='-fno-zero-initialized-in-bss' ./configure --prefix=/usr/local/emacs_21
.4.1 
gmake
src/emacs -q
C-x C-c

This now works.

Original post follows...


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.4.1 (sparc-sun-solaris2.10, X toolkit)
 of 2006-05-22 on mason
configured using `configure  --prefix=/usr/local/emacs_21.4'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I built emacs 21.4.1 with both gcc 3.4.3 (supplied via Solaris 10 3/05
/usr/sfw/bin) and gcc 3.4.6 I built and installed from source.  Emacs
21.4.1 segvi upon exiting (C-x C-c) regardless of being built with
3.4.3 and 3.4.6.

src/emacs -q
C-x C-c

causes the emacs segvi core dump.  gdb 6.4 bt output follows...

------------------------------------------------------
NOTE: emacs was built with the /usr/local/bin/gcc
#0  0xfecc093c in kill () from /usr/lib/libc.so.1
#1  0x000d68b4 in fatal_error_signal (sig=11) at emacs.c:354
#2  <signal handler called>
#3  0x00041d14 in __do_global_dtors_aux ()
#4  0x0018ef9c in _fini ()
#5  0xfec40764 in _exithandle () from /usr/lib/libc.so.1
#6  0xfec2f088 in exit () from /usr/lib/libc.so.1
#7  0x000d67d8 in Fkill_emacs (arg=271232004) at emacs.c:1830
#8  0x0013c274 in Ffuncall (nargs=0, args=0xffbff2c8) at eval.c:2659
#9  0x0016ceb0 in Fbyte_code (bytestr=-4197544, vector=1076028068, maxdepth=0)
    at bytecode.c:716
#10 0x0013bca8 in funcall_lambda (fun=1076027896, nargs=1,
    arg_vector=0xffbff52c) at eval.c:2851
#11 0x0013c05c in Ffuncall (nargs=1, args=0xffbff528) at eval.c:2716
#12 0x00138c50 in Fcall_interactively (function=271459356,
    record_flag=271232004, keys=1076617216) at callint.c:797
#13 0x000dcc20 in Fcommand_execute (cmd=271459356, record_flag=271232004,
    keys=271232004, special=1076027896) at keyboard.c:9250
#14 0x000e5a1c in command_loop_1 () at keyboard.c:1661
#15 0x0013a03c in internal_condition_case (bfun=0xe5570 <command_loop_1>,
    handlers=271354076, hfun=0xdd8e8 <cmd_error>) at eval.c:1267
#16 0x000d88f0 in command_loop_2 () at keyboard.c:1245
#17 0x00139f34 in internal_catch (tag=271306404,
    func=0xd88cc <command_loop_2>, arg=271232004) at eval.c:1030
#18 0x000d8620 in command_loop () at keyboard.c:1224
#19 0x000d8770 in recursive_edit_1 () at keyboard.c:950
#20 0x000d8878 in Frecursive_edit () at keyboard.c:1006
#21 0x000d82cc in main (argc=2, argv=0xffbffc8c, envp=0xffbffc98)
    at emacs.c:1547
------------------------------------------------------

Recent input:
ESC x r e p o r t - e m a c s - b u g RET

Recent messages:
(src/emacs bugreport)
For information about the GNU Project and its goals, type C-h C-p.
(New file)
Loading emacsbug...done
Loading view...done

-- 
Regards,                                                   /~\ The ASCII
Richard Jackson                                            \ / Ribbon Campaign
Computer Systems Engineer,                                  X  Against HTML
Information Technology Unit, Technology Systems Division   / \ Email!
Enterprise Servers and Operations Department
George Mason University, Fairfax, Virginia




reply via email to

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