================================================================
Dear Bug Team!
When I start xemacs, I get the following error and xemacs exits.
[anandn-vpnsc-3.0] /disk2/sw/xemacs-21.4.10-gtk/bin/xemacs
Gdk-ERROR **: BadAccess (attempt to access private resource denied)
serial 2211 error_code 10 request_code 88 minor_code 0
What can I do to fix this. If I remove the init.el, xemacs starts.
Thanks
Anand
========== My init.el file ===================================
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; $HOME/..xemacs/init.el
;;
;; This file is loaded by emacas when it is started. This file will determine
;; the type of the system and load the appropriate init file.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Info path
(setq Info-directory-list (cons "/disk2/sw/gnu/info/" Info-directory-list))
;; Key mappings
(load-library "FuncBind")
;; Match parentesis & braces
(global-set-key "%" 'match-paren)
(global-set-key "\C-]" 'match-paren)
(defun match-paren (arg)
"Go to the matching parenthesis if on parenthesis otherwise insert %."
(interactive "p")
(cond ((looking-at "\\s\(") (forward-list 1) (backward-char 1))
((looking-at "\\s\)") (forward-char 1) (backward-list 1))
(t (self-insert-command (or arg 1)))))
;;; Exit Function
(defun my-exit-from-emacs ()
(interactive)
(if (yes-or-no-p "Do you want to exit ")
(save-buffers-kill-emacs)))
;;(global-set-key "\C-x\C-c" 'my-exit-from-emacs)
; Fundamental mode is worthless. Use Text mode by default
(setq default-major-mode 'text-mode)
;; Display time
(display-time)
;; Multi-mode
(require 'mmm-auto)
(setq auto-mode-alist
(append auto-mode-alist
(list
;; '("\\.xml$" . sxml-mode)
'("\\.l\\'" . c-mode )
'("profile\\.[.]*" . sh-mode )
'("kshrc\\.[.]*" . sh-mode))))
;; PSGML
(setq sgml-content-indent-function 'sgml-indent-according-to-stag)
(setq sgml-attribute-indent-function 'sgml-indent-according-to-stag-end)
(setq sgml-indent-step 4)
(setq sgml-indent-data t)
;; Clearcase
(unless (noninteractive)
(require 'clearcase))
(defconst my-c-style
'((c-tab-always-indent . t )
(c-comment-only-line-offset . 0)
(c-hanging-braces-alist . ((substatement-open after)
(brace-list-open)))
(c-hanging-colons-alist . ((member-init-intro before)
(inher-intro)
(case-label after)
(label after)
(access-label after)))
(c-cleanup-list . (scope-operator
empty-defun-braces
defun-close-semi))
(c-offsets-alist . ((statement-block-intro . +)
(topmost-intro-cont . +)
(block-open . 0)
(inline-open . 0 )
(substatement-open . 0);
(substatement . +)
(knr-argdecl-intro . 5)
(label . 0)
(statement-case-open . +)
(case-label . +)
(statement-cont . +)
(arglist-intro . c-lineup-arglist-intro-after-paren)
(arglist-close . c-lineup-arglist)
(access-label . 0)))
(c-echo-syntactic-information-p . t))
"My C Programming Style")
;; Customizations for all of c-mode, c++-mode, and objc-mode
(defun my-c-mode-common-hook ()
(c-add-style "PERSONAL" my-c-style t)
(setq c-basic-offset 4)
(setq tab-width 4
indent-tabs-mode nil)
(define-key c-mode-base-map "\C-m" 'newline-and-indent)
(define-key c-mode-base-map '(delete) 'backward-delete-char-untabify)
)
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
================= My custom.el file ===========================
(custom-set-variables
'(mmm-mode-ext-classes-alist (quote ((nil "\\.jsp$" jsp) (nil
"\\.jsp$" html-js) (nil "\\.jsp$" embedded-css))) nil (mmm-mode))
'(paren-mode (quote blink-paren) nil (paren))
'(sgml-indent-data t t)
'(sgml-indent-step 4 t)
'(cssm-indent-level 4)
'(clearcase-command-messages t)
'(column-number-mode t)
'(clearcase-suppress-checkout-comments t)
'(mmm-global-mode (quote maybe) nil (mmm-mode))
'(fast-lock-mode t nil (fast-lock))
'(bar-cursor 2)
'(sgml-catalog-files (quote ("CATALOG"
"/disk2/sw/xemacs-21.4.10/lib/xemacs/xemacs-packages/etc/psgml-dtds/CATALOG"
"/disk2/sw/xemacs-21.4.10/lib/xemacs/xemacs-packages/etc/psgml/CATALOG")))
'(tab-width 4)
'(pending-delete-mode t nil (pending-del))
'(efs-ftp-program-name "/auto/ntglocalsol/bin/pftp")
'(line-number-mode t)
'(c-basic-offset 4)
'(blink-cursor-mode t nil (blink-cursor))
'(user-mail-address "anandn(a)cisco.com")
'(indent-tabs-mode nil)
'(clearcase-checkout-dir-on-mkelem t)
'(font-lock-mode t nil (font-lock))
'(clearcase-initial-mkelem-comment t))
(custom-set-faces)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS anandn-ultra 5.8 Generic_108528-17 sun4u sparc
./configure '--prefix=/disk2/sw/xemacs-21.4.10-gtk' '--with-x11'
'--with-menubars=gtk' '--with-scrollbars=gtk' '--with-dialogs=gtk'
'--with-gtk' '--with-widgets=gtk' '--with-ncurses'
'--with-xpm' '--with-png' '--with-jpeg' '--with-tiff'
'--with-xface' '--with-database=gnudbm' '--with-pop'
'--with-tooltalk' '--with-workshop' '--with-site-lisp=yes'
'--with-xfs' '--cflags=-I/disk2/sw/gnu/include -I/disk2/sw/local/include'
'--ldflags=-L/disk2/sw/gnu/lib -L/disk2/sw/local/lib'
'--cppflags=-I/disk2/sw/gnu/include -I/disk2/sw/local/include'
'--error-checking=none' '-libs=-ltinfo' '--with-netinstall'
'--pdump'
XEmacs 21.4.10 "Military Intelligence" configured for
`sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /disk2/sw/local/src/xemacs-21.4.10
Installation prefix: /disk2/sw/xemacs-21.4.10-gtk
Runtime library search path:
/usr/ccs/lib:/disk2/sw/gnu/lib:/disk2/sw/local/lib:/disk2/sw/gnu/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/../../..
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -I/disk2/sw/gnu/include
-I/disk2/sw/local/include
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Using GTK menubars.
Using GTK scrollbars.
Using GTK dialog boxes.
Using GTK native widgets.
TTY:
Compiling in support for ncurses.
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 GNU DBM.
Compiling in support for LDAP.
Internationalization:
- Using XFontSet to provide bilingual menubar.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for Sun WorkShop.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/users/anandn/.xemacs/xemacs-packages/lisp/misc/clearcase
/disk2/sw/xemacs-21.4.10-gtk/lib/xemacs/xemacs-packages/lisp/clearcase/clearcase
/disk2/sw/xemacs-21.4.10-gtk/lib/xemacs/xemacs-packages/lisp/build/build-report
/disk2/sw/xemacs-21.4.10-gtk/lib/xemacs-21.4.10/lisp/build-report)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.04 :type regular)
(xemacs-devel :version 1.5 :type single-file)
(xemacs-base :version 1.75 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.35 :type regular)
(view-process :version 1.12 :type regular)
(vc :version 1.35 :type regular)
(tramp :version 1.11 :type regular)
(tm :version 1.35 :type regular)
(time :version 1.12 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.58 :type single-file)
(texinfo :version 1.23 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.07000000000000001 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.11 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.17 :type regular)
(sasl :version 1.12 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.28 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.38 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.72
:type
single-file)
(pgg :version 1.02 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.3 :type single-file)
(net-utils :version 1.31 :type single-file)
(mule-base :version 1.42 :type regular)
(mmm-mode :version 1.0 :type regular)
(mh-e :version 1.17 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.56 :type regular)
(jde :version 1.43 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.29 :type regular)
(igrep :version 1.1 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(gnus :version 1.65 :type regular)
(gnats :version 1.15 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.09 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.37 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.03 :type regular)
(eshell :version 1.04 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edit-utils :version 1.98 :type single-file)
(ediff :version 1.46 :type regular)
(edebug :version 1.15 :type regular)
(ecb :version 1.01 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.16 :type regular)
(clearcase :version 1.04 :type regular)
(cc-mode :version 1.32 :type regular)
(calendar :version 1.19 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.33 :type regular)
(apel :version 1.26 :type regular)
(Sun :version 1.13 :type regular))
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 zenirc-autoloads
xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads viper-autoloads
view-process-autoloads vc-autoloads tramp-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-au-autoloads sml-mode-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads sasl-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads net-utils-autoloads
mule-base-autoloads mmm-mode-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads ibuffer-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
fsf-compat-autoloads frame-icon-autoloads footnote-autoloads
eudc-autoloads eterm-autoloads ess-autoloads eshell-autoloads
emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads ecb-autoloads
docbookide-autoloads dired-autoloads dictionary-autoloads
debug-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
bbdb-autoloads auctex-autoloads apel-autoloads Sun-autoloads
lisp-autoloads loadhist auto-show fontl-hooks widgets-gtk dialog-gtk
gtk-file-dialog gtk-password-dialog gtk-iso8859-1 x-iso8859-1 gdk
gtk-ffi gutter-items menubar-items x-menubar mode-motion mouse itimer
auto-save lisp-mode easymenu iso8859-1 page buff-menu lib-complete
help-nomule cus-file derived frame text-props obsolete cus-start
custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp sparcworks gtk-scrollbars gtk-menubars gtk-ui
gtk-dialogs gtk tty-frames tty toolbar native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar dbm md5 xemacs gutter tiff png gif
jpeg xface xpm xbm lisp-float-type usg-unix-v dialog devices
window-system base64)
Recent keystrokes:
-----------------
misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Show replies by date