================================================================
Dear Bug Team!
My XEmacs crashes every time I close a frame by clicking the window
systems widget to close the given xemacs window. If I delete the
frame or quit with keyboard commands or the XEmacs menu options
then everything is fine.
The crash occurs even with -vanilla and immediately after startup.
Many thanks to everyone that looks at this!
Barnabas
Lisp backtrace follows:
kill-emacs()
# bind (arg)
save-buffers-kill-emacs()
delete-frame(#<x-frame "emacs" 0x820> t)
eval((delete-frame #<x-frame "emacs" 0x820> t))
# (condition-case ... . error)
# (catch top-level ...)
[1]+ Segmentation fault (core dumped) xemacs
#0 0x40553001 in kill () from /lib/libc.so.6
(gdb) where
#0 0x40553001 in kill () from /lib/libc.so.6
#1 0x80b3378 in fatal_error_signal (sig=11) at emacs.c:642
#2 <signal handler called>
#3 0x402e089f in XtWidgetToApplicationContext ()
from /usr/X11R6/lib/libXt.so.6
#4 0x402e70f1 in XtGetValues () from /usr/X11R6/lib/libXt.so.6
#5 0x81a8416 in x_get_frame_parent (f=0x849ce90) at frame-x.c:2262
#6 0x811deb7 in delete_frame_internal (f=0x849ce90, force=1,
called_from_delete_device=1, from_io_error=0) at frame.c:1455
#7 0x80a5cfb in delete_device_internal (d=0x83892c0, force=1,
called_from_delete_console=1, from_io_error=0) at device.c:798
#8 0x809e2fe in delete_console_internal (con=0x8386910, force=1,
called_from_kill_emacs=1, from_io_error=0) at console.c:689
#9 0x80b4c5f in Fkill_emacs (arg=1080582564) at emacs.c:2968
#10 0x80baa78 in Ffuncall (nargs=1, args=0xbfffec28) at eval.c:3536
#11 0x8091589 in execute_optimized_program (
program=0x86ff200 "Ä\bÅ\"\210ÅÆÇÈ \"s«\006ÉÊ!?ËÌ!«3Ì Í\032\211\e«
Î\013@!Ïs«\022Ð\013@!\031Ð\013@\t\"\21
0\t)«\003Å\022\013A\211\023¬â\n?®\005\212Ñ\213)*\bÒÓ!\003Ô \207\200",
stack_depth=5, constants_data=0x40708
340)
at bytecode.c:748
#12 0x8091269 in funcall_compiled_function (fun=1081576080, nargs=0,
args=0xbfffed88) at bytecode.c:516
#13 0x80bac3f in Ffuncall (nargs=1, args=0xbfffed84) at eval.c:3572
---Type <return> to continue, or q <return> to quit---
#14 0x80bfb11 in call0 (fn=1080456852) at eval.c:4175
#15 0x809e234 in delete_console_internal (con=0x8386910, force=1,
called_from_kill_emacs=0, from_io_error=0) at console.c:639
#16 0x80a5c28 in delete_device_internal (d=0x83892c0, force=1,
called_from_delete_console=0, from_io_error=0) at device.c:736
#17 0x811dc09 in delete_frame_internal (f=0x849ce90, force=1,
called_from_delete_device=0, from_io_error=0) at frame.c:1318
#18 0x81219d8 in Fdelete_frame (frame=139054736, force=1080580740)
at frame.c:1685
#19 0x80ba116 in Feval (form=141764720) at eval.c:3335
#20 0x80baa78 in Ffuncall (nargs=2, args=0xbffff078) at eval.c:3536
#21 0x80bfb6a in call1 (fn=1080563052, arg0=141764720) at eval.c:4190
#22 0x80f8d7e in execute_command_event (command_builder=0x84063b0,
event=141727904) at event-stream.c:3919
#23 0x80f9493 in Fdispatch_event (event=141727904) at event-stream.c:4258
#24 0x809c3ca in Fcommand_loop_1 () at cmdloop.c:583
#25 0x809c659 in command_loop_1 (dummy=1080582564) at cmdloop.c:494
#26 0x80c06d6 in condition_case_1 (handlers=1080582204,
bfun=0x809c640 <command_loop_1>, barg=1080582564,
hfun=0x809c6d0 <cmd_error>, harg=1080582564) at eval.c:1652
#27 0x809c7cf in command_loop_2 (dummy=1080582564) at cmdloop.c:256
#28 0x80c059c in internal_catch (tag=1080387108,
func=0x809c790 <command_loop_2>, arg=1080582564, threw=0x0) at
eval.c:1318
---Type <return> to continue, or q <return> to quit---
#29 0x809c0fe in initial_command_loop (load_me=1080582564) at cmdloop.c:305
#30 0x80b43a4 in xemacs_21_4_14_i686_pc_linux () at emacs.c:2460
#31 0x80b4af7 in main (argc=1, argv=0xbffff4dc, envp=0xbffff4e4)
at emacs.c:2829
#32 0x40542c6f in __libc_start_main () from /lib/libc.so.6
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux itdcdev 2.4.4-64GB-SMP #1 SMP Fri May 18 14:54:08 GMT
2001 i686 unknown
./configure '--with-dialogs=athena' '--with-widge
ts=athena' '--with-mule'
XEmacs 21.4.14 "Reasonable Discussion" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /usr/local/src/xemacs/xemacs-21.4.14
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch
-Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow
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/X11/include
- X Windows libraries location: /usr/X11/lib
- Handling WM_COMMAND properly.
Compiling in support for Motif.
*WARNING* Many versions of Motif are buggy, requiring workarounds.
You are likely to experience slow redisplay.
You may need to install vendor patches to Motif.
See PROBLEMS for more information.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
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.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using Motif to provide XIM support.
Mail:
Compiling in support for "dot-locking" 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:
----------------------
nil
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.58 :type single-file)
(xemacs-base :version 1.81 :type regular)
(w3 :version 1.28 :type regular)
(vc :version 1.37 :type regular)
(time :version 1.13 :type regular)
(text-modes :version 1.66 :type single-file)
(strokes :version 1.09 :type regular)
(speedbar :version 1.26 :type regular)
(slider :version 1.14 :type regular)
(sh-script :version 1.17 :type regular)
(semantic :version 1.17 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.41 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.89
:type
single-file)
(pgg :version 1.03 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.32 :type single-file)
(oo-browser :version 1.03 :type regular)
(net-utils :version 1.32 :type single-file)
(mule-ucs :version 1.04 :type regular)
(mule-base :version 1.43 :type regular)
(mmm-mode :version 1.0 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.62 :type regular)
(jde :version 1.45 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.32 :type regular)
(igrep :version 1.11 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.21 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.1 :type regular)
(eterm :version 1.14 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.31 :type regular)
(edit-utils :version 2.07 :type single-file)
(ediff :version 1.47 :type regular)
(edebug :version 1.19 :type regular)
(ecrypto :version 0.13 :type regular)
(ecb :version 1.12 :type regular)
(dired :version 1.14 :type regular)
(debug :version 1.16 :type regular)
(cc-mode :version 1.4 :type regular)
(calendar :version 1.21 :type regular)
(c-support :version 1.17 :type single-file))
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 pending-del pc-select
buffer-stack touchstream xmljs efs-cu redo tempo sgml-mode psgml
psgml-html bk view-less view x-migrant sccs-complete vc timer man diff
diff-mode advice advice-preload jflex-mode javascript-mode comint ring
cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs completer font disp-table paren blink-paren vc-hooks id-select
mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils
mmm-compat overlay regexp-opt font-lock cus-face
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vc-autoloads
time-autoloads text-modes-autoloads strokes-autoloads
speedbar-autoloads slider-autoloads sh-script-autoloads
semantic-autoloads python-modes-autoloads psgml-dtds-autoloads
psgml-autoloads ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pc-autoloads
os-utils-autoloads oo-browser-autoloads net-utils-autoloads
mule-ucs-autoloads mule-base-autoloads mmm-mode-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads ibuffer-autoloads
hm--html-menus-autoloads fsf-compat-autoloads frame-icon-autoloads
eterm-autoloads elib-autoloads eieio-autoloads efs-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads dired-autoloads debug-autoloads
cc-mode-autoloads calendar-autoloads c-support-autoloads
lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 slovenian
czech romanian ccl mule-help code-cmds gutter-items menubar-items
x-menubar mode-motion mouse itimer auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete cus-file derived frame
text-props obsolete cus-start custom widget cl-extra mini-cl cl cl-19
packages backquote very-early-lisp file-coding mule 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 gutter tiff png gif jpeg xpm xbm
lisp-float-type linux dialog devices window-system base64)
Recent keystrokes:
-----------------
M-x x e TAB r TAB BS TAB BS BS BS BS BS BS BS r e TAB
p TAB o TAB r TAB x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Making completion list...
Making completion list...
Making completion list...
Touchstream mode Enabled.
Loading /home/intranet/.xemacs/wolfb01.el...done
Touchstream mode Enabled.
Loading /home/intranet/.xemacs/wolfb01.el...
Loading cl-macs...done
Loading cl-macs...
Loading font...done
Loading font...
Paren mode is sexp
Loading paren...done
Loading paren...
Loading vc-hooks...done
Loading vc-hooks...
Loading id-select-startup.el...done
Show replies by date
>>>> "Barnabas" == Barnabas Wolf
<barnabas.wolf(a)mssm.edu> writes:
Barnabas> ./configure '--with-dialogs=athena'
'--with-widgets=athena'
Barnabas> '--with-mule'
Barnabas> Compiling in support for Motif.
Barnabas> *WARNING* Many versions of Motif are buggy, [...]
Barnabas> You are likely to experience slow redisplay.
Barnabas> You may need to install vendor patches to Motif.
We aren't kidding. This is obviously our fault, though.
Barnabas> Compiling in support for XIM (X11R5+ I18N input method).
Barnabas> - Using Motif to provide XIM support.
Try adding --with-xim=no (recommended if you don't know what XIM is)
or --with-xim=xlib to the configure line.
I think this bug in configure will be fixed in 21.4.15 (not yet
released).
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.