[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crash when visiting source file
From: |
Stefan Monnier |
Subject: |
Re: Crash when visiting source file |
Date: |
Mon, 30 May 2005 17:21:26 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> > This is the output from gdb:
>> > as "i586-suse-linux"...Using host libthread_db library
>> > "/lib/tls/libthread_db.so.1". (gdb) run
>> Have you tried with -q --no-site-file?
> Sorry about not following up on this. I tried to find out where the message
> went, so that I could add my new observations. It seems that cedet's ede is
> the source of the problem. When I removed it from my .gnu-emacs, Emacs
> stopped crashing. I believe the problem is related to the fact that the file
> is under svn version control. This is because I was able to visit it
> successfully after moving it out of the repository image.
> I filed a bug report with the ede developers.
If Emacs crashes it's a bug in Emacs (tho it may indeed be triggered by
EDE). If Emacs hangs, it may be a bug in Emacs or (more commonly) a badly
written regexp that leads to exponential time behavior (or a few other cases
such as improperly using inhibit-quit). For regexps-misbehavior, we usulyl
need a C backtrace and then we need you to examine which regexp is the
culprit by examining a few C variables using gdb macros like "xtype" and
"xstring".
Stefan
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;;This is .emacs
> (if (string-match "XEmacs\\|Lucid" emacs-version)
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;;; XEmacs
> ;;; ------
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> (progn
> (if (file-readable-p "~/.xemacs/init.el")
> (load "~/.xemacs/init.el" nil t))
> )
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;;; GNU-Emacs
> ;;; ---------
> ;;; load ~/.gnu-emacs or, if not exists /etc/skel/.gnu-emacs
> ;;; For a description and the settings see /etc/skel/.gnu-emacs
> ;;; ... for your private ~/.gnu-emacs your are on your one.
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> (if (file-readable-p "~/.gnu-emacs")
> (load "~/.gnu-emacs" nil t)
> (if (file-readable-p "/etc/skel/.gnu-emacs")
> (load "/etc/skel/.gnu-emacs" nil t)))
> ;; Custum Settings
> ;; ===============
> ;; To avoid any trouble with the customization system of GNU emacs
> ;; we set the default file ~/.gnu-emacs-custom
> (setq custom-file "~/.gnu-emacs-custom")
> (load "~/.gnu-emacs-custom" t t)
> ;;;
> )
> ;;;
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;;This is the .gnu-emacs
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; http://emacs-session.sourceforge.net/
> (setq load-path
> (cons (expand-file-name "~/.emacs.d/lisp")
> load-path))
> (require 'session)
> (add-hook 'after-init-hook 'session-initialize)
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; from eldoc.el
> (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
> (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
> (add-hook 'ielm-mode-hook 'turn-on-eldoc-mode)
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; cedet:
> ;; http://cedet.sourceforge.net
> (setq semantic-load-turn-everything-on t)
> (load-file "~/.emacs.d/lisp/cedet/common/cedet.el")
> (autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
> (autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
> (global-set-key [(f4)] 'speedbar-get-focus)
> (semantic-load-enable-code-helpers)
> (setq semanticdb-project-roots
> (list "/download/org/openscenegraph/"
> ))
> (setq load-path
> (cons (expand-file-name "~/.emacs.d/lisp/ecb-snap")
> load-path))
> (require 'ecb)
> (require 'ede)
> (global-ede-mode t) ;; commenting this out prevents the crash
> ;; Texinfo fancy chapter tags
> ;;(add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo)))
> ;; HTML fancy chapter tags
> ;;(add-hook 'html-mode-hook (lambda () (require 'sb-html)))
> ;; w3 link listings
> ;;(autoload 'w3-speedbar-buttons "sb-w3" "s3 specific speedbar button
> generator.")
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; autoinsert.el
> ;;http://www.linuxgazette.com/issue39/marsden.html
> (setq auto-mode-alist
> (append '(("\\.h$" . c++-mode)
> ("\\.cpp\\'" . c++-mode)
> ("\\.moc\\'" . c++-mode))
> auto-mode-alist))
> (add-hook 'find-file-hooks 'auto-insert)
> (setq-default auto-insert-query nil)
> (server-start)
> ;;http://pivarski.watson.org/home/mathematica.el
> (autoload 'mathematica-mode "mathematica.el" "Mathematica package file mode"
> t)
> (setq auto-mode-alist(cons '("\\.m\\'" . mathematica-mode) auto-mode-alist))
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> ;; This is my .gnu-emacs-custom
> (custom-set-variables
> ;; custom-set-variables was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(backup-by-copying t)
> '(backup-directory-alist (quote ((".*" . "~/.emacs.d/backups"))))
> '(c-report-syntactic-errors t)
> '(column-number-mode t)
> '(cua-mode nil)
> '(frame-title-format "%f" t)
> '(global-font-lock-mode t nil (font-core))
> '(history-length 100)
> '(load-home-init-file t)
> '(pc-selection-mode t nil (pc-select))
> '(scroll-bar-mode (quote right))
> '(show-paren-mode t nil (paren))
> '(transient-mark-mode t)
> '(uniquify-buffer-name-style (quote forward) nil (uniquify)))
> (custom-set-faces
> ;; custom-set-faces was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(default ((t (:stipple nil :background "#e3e3e3" :foreground
> "#000000" :inverse-video nil :box nil :strike-through nil :overline
> nil :underline nil :slant normal :weight bold :height 129 :width
> normal :family "adobe-courier")))))
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> I've also attached one of the problematic files, but as I say, I do not
> believe the file will cause the failure out of context.
> --
> Regards,
> Steven
> _______________________________________________
> Emacs-pretest-bug mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
- Crash when visiting source file, Steven T. Hatton, 2005/05/28
- Re: Crash when visiting source file, Richard Stallman, 2005/05/29
- Re: Crash when visiting source file, Stefan Monnier, 2005/05/29
- Re: Crash when visiting source file, Steven T. Hatton, 2005/05/30
- Re: Crash when visiting source file,
Stefan Monnier <=
- Re: Crash when visiting source file, Steven T. Hatton, 2005/05/30
- Re: Crash when visiting source file, Eli Zaretskii, 2005/05/31
- Re: Crash when visiting source file, Kim F. Storm, 2005/05/31
- Re: Crash when visiting source file, Stefan Monnier, 2005/05/31
- Re: Crash when visiting source file, Steven T. Hatton, 2005/05/31