This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
Running gdb and trying to do a "ptype operation":
My program has the following code:
struct hw_interrupt_type {
char *typename;
unsigned int (*startup)();
void (*shutdown)();
void (*enable)();
void (*disable)();
void (*ack)();
void (*end)();
void (*set_affinity)();
};
struct hw_interrupt_type open_pic;
I perform a "ptype open_pic":
---------------------------------------------------------
(gdb) ptype open_pic
type = struct hw_interrupt_type {
char *typename;
---------------------------------------------------------
At this point xemacs is completely hung (does not respond to X
events). Upon killing xemacs I get the following:
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
looking-at("\\(\\(signed \\|unsigned \\)?\\(struct \\|class \\|union \\|enum
\\)?\\(<?[a-zA-Z_~][a-zA-Z0-9_:]*>?\\)\\)[ *]*\\((\\*) *(.*)\\)?")
# bind (pat)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (match-data end start type)
gdb-highlight-arglist(gdb-arglist-types-token 588 612)
# bind (i types tokens do-magic-variable-hack)
gdb-highlight-line()
# bind (p2 p3)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (match-data p string proc)
gdb-filter(#<process "gdb-boot_image.dbg" pid 18075 state:run> "
unsigned int (*startup)(unsigned int);\n")
# (condition-case ... . error)
# (catch top-level ...)
Note "gdb-filter" arguments contain the next string that is expected
from the gdb process.
This does not occur with all debugging sessions; it seems to depend on
the binary being debugged (and thus perhaps the timings of I/O between
xemacs/gdb).
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux
slug.hoob.org 2.4.6 #3 Mon Jul 23 08:07:14 EDT 2001 i686 unknown
./configure '--prefix=/home/mostrows/xemacs' '--with-gtk=no'
'--with-ipv6-cname=no'
XEmacs 21.4.4 "Artificial Intelligence" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/mostrows/xemacs/xemacs-21.4.4
Installation prefix: /home/mostrows/xemacs
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wshadow -Wsign-compare
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.
Using Lucid menubars.
Using Lucid scrollbars.
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.
Sound:
Compiling in support for sound (native).
Databases:
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/eieio/eieio
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/jde/eieio
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/eieio/eieio-custom
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/jde/eieio-custom
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/eieio/eieio-comp
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/jde/eieio-comp
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/gnus/rfc2104
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/mail-lib/rfc2104
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/flyspell
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/text-modes/flyspell
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/vc/vc
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/vc-cc/vc
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/vc/vc-hooks
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/vc-cc/vc-hooks
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/mail-lib/base64
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/w3/base64
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/vc-cc/tq
/home/mostrows/xemacs/lib/xemacs/xemacs-packages/lisp/xemacs-base/tq)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.1 :type regular)
(xemacs-devel :version 1.47 :type single-file)
(xemacs-base :version 1.66 :type regular)
(w3 :version 1.25 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.34 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.33 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.34 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.48 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.23 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.15 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.12 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(psgml :version 1.28 :type regular)
(ps-print :version 1.04 :type regular)
(prog-modes
:version
1
.6
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.63 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.28 :type single-file)
(net-utils :version 1.27 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.14 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.47 :type regular)
(jde :version 1.35 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.27 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.25 :type regular)
(hm--html-menus :version 1.18 :type regular)
(gnus :version 1.62 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.03 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.89 :type single-file)
(ediff :version 1.41 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.12 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.15 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.04 :type regular)
(cc-mode :version 1.28 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.06 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.32 :type regular)
(apel :version 1.25 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular))
Features:
--------
(xemacsbug shadow hyper-apropos dabbrev igrep dired-faces dired-xemacs
dired comint ring fast-lock cc-mode cc-align cc-cmds cc-engine
cc-styles cc-langs cc-vars cc-menus imenu cc-defs efs-cu compile font
disp-table rsz-minibuf func-menu font-lock crypt crypt++ completer
gnuserv vc-hooks smtpmail time-stamp bbdb timezone gnus-demon nnmail
mail-source format-spec nntp nnoo gnus-int gnus gnus-ems gnus-xmas
wid-edit message messagexmas mml mm-decode mm-encode mailcap mm-bodies
uudecode mail-parse rfc2045 rfc2231 rfc2047 qp ietf-drums mail-abbrevs
sendmail rfc822 mailheader gnus-util time-date parse-time nnheader
nnheaderxm mail-utils mm-util mail-prsvr mwheel tex-site time xcscope
cus-face advice advice-preload uniquify zenirc-autoloads
xslt-process-autoloads xemacs-devel-autoloads xemacs-base-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-cc-autoloads vc-autoloads tpu-autoloads
tooltalk-autoloads tm-autoloads time-autoloads textools-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
strokes-autoloads speedbar-autoloads sounds-wav-autoloads
sounds-au-autoloads slider-autoloads sh-script-autoloads
sgml-autoloads semantic-autoloads scheme-autoloads rmail-autoloads
psgml-autoloads ps-print-autoloads prog-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads jde-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads dired-autoloads dictionary-autoloads debug-autoloads
crisp-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
Sun-autoloads -autoloads lisp-autoloads loadhist auto-show fontl-hooks
x-iso8859-1 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 lucid-scrollbars cut-buffer lucid-menubars x
c-balloon-help tty-frames tty toolbar native-sound scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar md5 xemacs gutter tiff png gif jpeg
xpm xbm lisp-float-type linux devices window-system base64)
Recent keystrokes:
-----------------
c t SPC C-x C-s C-x b d e TAB b TAB BS BS BS RET C-home
down down C-x 1 down down down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down down down down down down down down down down down
down next prior M-x g d b BS BS BS C-] C-h a b u g
RET button1 button1up RET button1 button1up RET down
up down up M-x r e p o TAB r TAB x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Loading hyper-apropos...done
Loading hyper-apropos...
Quit
Wrote /tmp/testgdb.c
Wrote /tmp/testgdb.c
Loading dabbrev...done
Loading dabbrev...
Fontifying testgdb.c... done.
(New file)
Fontifying testgdb.c... (syntactically).
Fontifying testgdb.c...
Fontifying *igrep*... done.
Fontifying *igrep*... (regexps)............
Fontifying *igrep*... (regexps).........
Fontifying *igrep*...
Loading igrep...done
Loading igrep...