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

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

Crash with edebug of turn-on-font-lock-if-enabled


From: Klaus Zeitler
Subject: Crash with edebug of turn-on-font-lock-if-enabled
Date: Wed, 29 Jun 2005 10:32:15 +0200 (MEST)

Symptoms:

I tried to figure out why syntax highlighting in a major mode doesn't
work anymore by instrumenting turn-on-font-lock-if-enabled for edebug,
but this caused emacs to crash.
I could reduce the problem to the following steps, where only 
global-font-lock-mode and minibuffer-electric-default-mode are needed:

1. emacs -Q&
2. M-x global-font-lock-mode
3. in scratch buffer eval: (minibuffer-electric-default-mode 1)
4. C-x C-f <lisp-dir>/font-core.el
5. search defun turn-on-font-lock-if-enabled
6. instrument this function for edebug (C-u C-M-x)
7. load a file .e.g. ~/x.sh (with a few continues in edebug)
8. try to kill this buffer, i.e. C-x C-k
=> emacs crashes

the backtrace doesn't look good (even when I start emacs in gdb):

#0  0x0014b7c0 in Feval (form=5387445)
    at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:2103
#1  0x001490b8 in Fprogn (args=Cannot access memory at address 0xff3eff08
)
    at /vol/freeware/cvs/emacs/head/emacs/src/eval.c:431
Cannot access memory at address 0xff3eff20


In GNU Emacs 22.0.50.28 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2005-06-29 on sfsws4
X server distributor `Sun Microsystems, Inc.', version 11.0.6410
configured using `configure '--with-gcc' 
'--prefix=/vol/freeware/SunOS-5.8/emacs/cvs' 
'--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share' 
'--with-x-toolkit=motif' 
'--x-includes=/usr/openwin/include:/usr/local/gnu/include:/opt/exp/gnu/include:/opt/exp/include:/opt/exp/lib/xpm/include'
 
'--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib:/opt/exp/gnu/lib:/opt/exp/lib:/opt/exp/lib/xpm/lib'
 '--with-pop' 'CC=gcc''

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: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  next-error-follow-minor-mode:  Fol

Recent input:
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
Loading mwheel...done
(/usr/local/gnu/cvs/head/bin/emacs -Q)
Loading tool-bar...done
Loading image...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done




reply via email to

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