XEmacs of vanilla SUSE Linux 10.0 crashing using c++ mode
Ben Wing
ben at xemacs.org
Thu Oct 27 20:01:29 EDT 2005
Ulrich Müller wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>
>
>Hi.
>
>
>I currently use the recently released SUSE Linux 10.0 (german
>commercial edition).
>
>
>I can easily crash the XEmacs using this ~/.xemacs/custom.el
>
>
>
>>(load "completion")
>>(initialize-completions)
>>
>>(load "font-lock")
>>
>>
>
>along with an empty ~/.xemacs/init.el
>
>
>
>* Invoke xemacs
>* Open a file (C-x C-f): foo.cc
>* Now it should be in c++-mode 'C++ Font Abbrev'
>* Now write: #include <iostream
>* When typing the final '>' it crashes (classic SIGSEGV)
>
>
>I can reproduce this behavior on all machines running SUSE 10.0.
>
>I've reported this behaviour to the SUSE folks but no reaction
>occured. May be you can make them react to patch their version of
>XEmacs. Nobody wants a crashing XEmacs in such an widly uses distro.
>
>
>
>
>Thanks in advance
>
>UM
>
>
>
>
>
>
>
>Here is the output trace:
>
>
> # (unwind-protect ...)
> # (unwind-protect ...)
> # (unwind-protect ...)
> # (unwind-protect ...)
> # (unwind-protect ...)
> # (unwind-protect ...)
> # (unwind-protect ...)
> set-extent-properties(#<extent [14, 15) syntax-table 0x8812d98 in buffer foo.cc> (syntax-table (4 . ?>) start-open t end-open t))
> # bind (ext value property pos)
> c-put-char-property-fun(14 syntax-table (4 . ?>))
> # bind (pos beg-pos end-pos limit)
> #<compiled-function (limit) "...(50)" [c->-as-paren-syntax c-<-as-paren-syntax ext beg-pos end-pos pos 8 ?> c-put-char-property-fun syntax-table extent-at nil delete-extent] 5>(16)
> # (unwind-protect ...)
> # bind (match-data matcher lowdarks highlights pre-match-value keywords limit highlights matcher keyword nkeywords iter old-progress progress bufname keywords case-fold-search loudly loudvar end start)
> font-lock-fontify-keywords-region(5 17 nil)
> # (unwind-protect ...)
> # bind (modified buffer-undo-list inhibit-read-only old-syntax-table buffer-file-name buffer-file-truename loudly end beg)
> font-lock-default-fontify-region(5 17 nil)
> # bind (loudly end beg)
> font-lock-fontify-region(5 17)
> # bind (val end beg)
> #<compiled-function (beg end val) "...(5)" [end beg font-lock-fontify-region] 3>(5 17 t)
> map-range-table(#<compiled-function (beg end val) "...(5)" [end beg font-lock-fontify-region] 3> #<range-table [5 17) t 0x20cd>)
> # (unwind-protect ...)
> # (unwind-protect ...)
> # (unwind-protect ...)
> # bind (dummy buffer)
> #<compiled-function (buffer dummy) "...(47)" [font-lock-pending-buffer-table font-lock-range-table buffer remhash buffer-live-p clear-range-table map-extents #<compiled-function (ex dummy-maparg) "...(32)" [font-lock-range-table ex end beg extent-start-position extent-end-position 0 1 put-range-table t] 5> nil font-lock-pending t put-text-property map-range-table #<compiled-function (beg end val) "...(5)" [end beg font-lock-fontify-region] 3>] 9>(#<buffer "foo.cc"> t)
> # (unwind-protect ...)
> maphash(#<compiled-function (buffer dummy) "...(47)" [font-lock-pending-buffer-table font-lock-range-table buffer remhash buffer-live-p clear-range-table map-extents #<compiled-function (ex dummy-maparg) "...(32)" [font-lock-range-table ex end beg extent-start-position extent-end-position 0 1 put-range-table t] 5> nil font-lock-pending t put-text-property map-range-table #<compiled-function (beg end val) "...(5)" [end beg font-lock-fontify-region] 3>] 9> #<hash-table size 0/29 weakness key 0x20cb>)
> # (unwind-protect ...)
> # bind (match-data)
> font-lock-fontify-pending-extents()
> #<compiled-function nil "...(10)" [font-lock-pending-buffer-table hash-table-count 0 font-lock-fontify-pending-extents] 2>()
> # (unwind-protect ...)
> call-with-condition-handler(#<compiled-function (__call_trapping_errors_arg__) "...(17)" [__call_trapping_errors_arg__ errstr error-message-string lwarn general warning "Error in %s: %s\n\nBacktrace follows:\n\n%s" "unknown" backtrace-in-condition-handler-eliminating-handler] 8> #<compiled-function nil "...(10)" [font-lock-pending-buffer-table hash-table-count 0 font-lock-fontify-pending-extents] 2>)
> # (condition-case ... . ((error)))
> font-lock-pre-idle-hook()
> # (unwind-protect ...)
> # (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x407f5ca8> ...)
> # (unwind-protect ...)
> # (unwind-protect ...)
> # bind (inhibit-quit)
> # (unwind-protect ...)
> # (unwind-protect ...)
> # bind (inhibit-quit)
> # (condition-case ... . error)
> # (catch top-level ...)
>
>Segmentation fault
>
>
>- -------------------------------------------------------
>
>uname -a: Linux macintyre 2.6.12 #1 SMP Wed Mar 23 21:52:37 UTC 2005 i686 athlon i386 GNU/Linux
>
>./configure 'i386-suse-linux' '--with-gcc' '--with-dynamic' '--enable-debug=no' '--enable-error-checking=none' '--with-cflags=-O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -Wno-switch -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing' '--with-ldflags=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/X11R6/bin' '--datadir=/usr/share' '--with-archlibdir=/usr/lib/xemacs/21.5.21.20050721/i386-suse-linux' '--with-docdir=/usr/lib/xemacs/21.5.21.20050721/i386-suse-linux' '--with-lispdir=/usr/share/xemacs/21.5.21.20050721/lisp' '--with-etcdir=/usr/share/xemacs/21.5.21.20050721/etc' '--with-statedir=/var/lib/xemacs' '--with-moduledir=/usr/lib/xemacs/21.5.21.20050721/i386-suse-linux/modules' '--infodir=/usr/share/xemacs/info' '--mandir=/usr/share/man/man1' '--enable-database=gdbm,berkdb' '--with-ncurses' '--with-tty=yes' '--with-site-lisp' '--disable-mc-alloc' '--disable-kkcc' '--enable-sound=!
> native' '--with-gpm' '--enable-pdump' '--disable-dump-in-exec' '--with-xpm' '--with-gif' '--with-tiff' '--with-jpeg' '--with-png' '--with-x' '--with-athena=3d' '--enable--menubars=lucid' '--enable-scrollbars=lucid' '--enable-dialogs=athena' '--enable-widgets=athena' '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' '--enable-mule' '--with-xim=xlib' '--with-xfs' '--enable-clash-detection' '--with-ldap' '--with-pop' 'CFLAGS=-O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -Wno-switch -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing' 'LDFLAGS=' 'build_alias=i386-suse-linux' 'host_alias=i386-suse-linux' 'target_alias=i386-suse-linux'
>
>
>XEmacs 21.5-b21 "corn" (+CVS-20050720) configured for `i386-suse-linux'.
>
> WARNING: --------------------------------------------------------------
> WARNING: This was produced from a new autoconf-2.5 based configuration.
> WARNING: If this configuration seems buggy then copy etc/configure-2.13
> WARNING: to configure and try again. Also please report the bug.
> WARNING: --------------------------------------------------------------
>
>Compilation Environment and Installation Defaults:
> Source code location: /usr/src/packages/BUILD/xemacs-21.5.21.20050721
> Installation prefix: /usr
> Operating system description file: `s/linux.h'
> Machine description file: `m/intel386.h'
> Compiler version: gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
> - GCC specs file: specs.
> - Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -Wno-switch -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing
> libc version: 2.3.5
> Relocating allocator for buffers: no
> GNU version of malloc: yes
> - Using Doug Lea's new malloc from the GNU C Library.
>
>Window System:
> Compiling in support for the X window system:
> - X Windows headers location: /usr/X11R6/include
> - X Windows libraries location: /usr/X11R6/lib
> - Handling WM_COMMAND properly.
> Compiling in support for the Athena widget set:
> - Athena headers location: X11/Xaw3d
> - Athena library to link: Xaw3d
> Using Lucid menubars.
> Using Lucid scrollbars.
> Using Athena dialog boxes.
> Using Athena native widgets.
>
>TTY:
> Compiling in support for ncurses.
> Compiling in support for GPM (General Purpose Mouse).
>
>Images:
> Compiling in support for GIF images (builtin).
> Compiling in support for XPM images.
> Compiling in support for PNG images.
> Compiling in support for JPEG images.
> Compiling in support for TIFF images.
> Compiling in support for X-Face message headers.
>
>Sound:
> Compiling in support for sound (native).
>
>Databases:
> Compiling in support for Berkeley database.
> Compiling in support for GNU DBM.
> Compiling in support for LDAP.
>
>Internationalization:
> Compiling in support for Mule (multi-lingual Emacs).
> Compiling in support for XIM (X11R5+ I18N input method).
> - Using raw Xlib to provide XIM support.
> - Using XFontSet to provide bilingual menubar.
> Compiling in support for Canna on Mule.
> Compiling in support for the WNN input method on Mule.
>
>Mail:
> Compiling in support for POP mail retrieval.
> Compiling in support for "file" mail spool file locking method.
>
>Other Features:
> Inhibiting IPv6 canonicalization at startup.
> Compiling in support for dynamic shared object modules.
> Using the new portable dumper.
>
>
>
>Load-Path Lisp Shadows:
>- ----------------------
>(/usr/share/xemacs/mule-packages/lisp/mule-base/ethio-util
>/usr/share/xemacs/21.5.21.20050721/lisp/mule/ethio-util
>/usr/share/xemacs/mule-packages/lisp/mule-base/china-util
>/usr/share/xemacs/21.5.21.20050721/lisp/mule/china-util
>/usr/share/xemacs/mule-packages/lisp/mule-base/cyril-util
>/usr/share/xemacs/21.5.21.20050721/lisp/mule/cyril-util
>/usr/share/xemacs/mule-packages/lisp/mule-base/korea-util
>/usr/share/xemacs/21.5.21.20050721/lisp/mule/korea-util
>/usr/share/xemacs/mule-packages/lisp/mule-base/viet-util
>/usr/share/xemacs/21.5.21.20050721/lisp/mule/viet-util
>/usr/share/xemacs/mule-packages/lisp/mule-base/japan-util
>/usr/share/xemacs/21.5.21.20050721/lisp/mule/japan-util
>/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
>/usr/share/xemacs/21.5.21.20050721/lisp/easy-mmode
>/usr/share/xemacs/mule-packages/lisp/mule-ucs/unicode
>/usr/share/xemacs/21.5.21.20050721/lisp/unicode
>/usr/share/xemacs/xemacs-packages/lisp/build/build-report
>/usr/share/xemacs/21.5.21.20050721/lisp/build-report
>/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
>/usr/share/xemacs/21.5.21.20050721/lisp/regexp-opt
>/usr/share/xemacs/site-packages/lisp/term/gnome
>/usr/share/xemacs/21.5.21.20050721/lisp/gnome)
>
>
>Installed XEmacs Packages:
>- -------------------------
>
>
>
>Installed Modules:
>- -----------------
>
>
>Features:
>- --------
>
>(mail-abbrevs xemacsbug shadow sendmail rfc822 tempo sgml-mode psgml
>psgml-html outline font-latex font latex tex advice advice-preload
>winmgr-mode make-mode makefile inf-ruby compile comint ring ruby-mode
>cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
>cc-defs regexp-opt efs-cu saveconf tex-site time font-lock cus-face
>gnuserv completion un-define latin-euro-input quail overlay
>latin-unity-tables latin-euro-standards latin-euro-latin10
>latin-euro-latin9 latin-euro-latin7 latin-unity-vars latin-unity
>ispell latin-euro-latin8 x-compose zenirc-autoloads xwem-autoloads
>edmacro xslt-process-autoloads xslide-autoloads xlib-autoloads
>xetla-autoloads xemacs-devel-autoloads xemacs-base-autoloads
>x-symbol-autoloads w3-autoloads vm-autoloads viper-autoloads
>view-process-autoloads vhdl-autoloads vc-autoloads tramp-autoloads
>tpu-autoloads tm-autoloads time-autoloads textools-autoloads
>text-modes-autoloads texinfo-autoloads supercite-autoloads
>strokes-autoloads speedbar-autoloads slider-autoloads sieve-autoloads
>sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
>ruby-modes-autoloads rmail-autoloads riece-autoloads reftex-autoloads
>re-builder-autoloads python-modes-autoloads psgml-autoloads
>ps-print-autoloads prog-modes-autoloads pgg-autoloads
>perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
>pc-autoloads os-utils-autoloads ocaml-autoloads net-utils-autoloads
>misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
>mailcrypt-autoloads mail-lib-autoloads liece-autoloads jde-autoloads
>ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
>ibuffer-autoloads hm--html-menus-autoloads haskell-mode-autoloads
>gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
>fortran-modes-autoloads forms-autoloads footnote-autoloads
>eudc-autoloads eterm-autoloads ess-autoloads eshell-autoloads
>escreen-autoloads erc-autoloads emerge-autoloads eieio-autoloads
>efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
>ediff-hook edebug-autoloads ecrypto-autoloads ecb-autoloads
>docbookide-autoloads dired-autoloads dictionary-autoloads
>debug-autoloads cookie-autoloads clearcase-autoloads cc-mode-autoloads
>calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
>bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
>mule-ucs-autoloads mule-base-autoloads leim-autoloads
>latin-unity-autoloads egg-its-autoloads edict-autoloads
>gnugo-autoloads modules-autoloads mule-autoloads auto-autoloads
>disp-table loadhist rsz-minibuf auto-show fontl-hooks canna-leim
>tibetan lao devanagari indian slovenian czech romanian ccl code-cmds
>gutter-items menubar-items x-menubar mode-motion mouse behavior itimer
>auto-save lisp-mode easymenu easy-mmode iso8859-1 page buff-menu
>lib-complete cus-file derived newcomment env text-props frame obsolete
>cus-start custom widget cl-extra cl cl-19 packages backquote CANNA wnn
>unicode lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x
>c-balloon-help tty-frames tty toolbar native-sound scrollbar
>unix-processes multicast network-streams subprocesses modules
>menu-accelerator-support menubar berkeley-db dbm md5 xemacs xim mule
>gutter tiff png gif jpeg xface xpm xbm lisp-float-type file-coding
>linux dialog devices window-system base64)
>
>
>Recent keystrokes:
>- -----------------
>
>M-x button2 button2up RET
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.2 (GNU/Linux)
>
>iD8DBQFDYMEa1IN0H7SJ5foRAiXqAJwJeuu8PgSDgBX0BQd9m/5Cswz0xACfY4bv
>OAqgHoFbIKKxDTfnPYskGwU=
>=4Pks
>-----END PGP SIGNATURE-----
>
>
>
can you get a c stacktrace?
see
http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_3.html#SEC103
More information about the XEmacs-Beta
mailing list