Giacomo Boffi writes:
(insert (emacs-version))
XEmacs 21.2 (beta25) "Hephaestus" [Lucid]
(i586-pc-linux) of Thu Dec 30 1999 on boffi95.stru.polimi.it
i installed (xmkmf; make install) the latest nextaw libs AND headers
the headers were put under /usr/X11R6/include/neXtaw, and all of
libXaw and libXaw3d were left alone (no links)
i then configured like this:
% configure ... --with-athena=next --with-*=athena ...
but it looks like configure decided to use the Xaw3d headers and the
neXtaw libraries (it's recorded in config.status)
of course, xemacs is broken
in particular, it hangs nicely when i try to exit using the menubar
having some modified buffer
ok, it's worse than i thought...
i rebuilt with--athena=3d, without specifying the various widget
types, so that i had xemacs built against the Xaw3d headers and the
Xaw3d libraries
maybe you think that everything is now OK... no, i have exactly the
same problem as in the previous message: exiting using the dialog box
doesn't work, maybe it's the dialog...
here it is the lisp bt
next-command-event()
byte-code("..." [popup-dialog-box dbox dispatch-event next-command-event] 2)
# (catch result ...)
# bind (dbox contents position)
get-dialog-box-response(#<misc-user-event (call-interactively
save-buffers-kill-emacs)> ("Save file /home/jim/a? " ("Yes" . act)
("No" . skip) ("Yes All" . automatic) ("No All" . exit)
("Cancel" . quit) ("Display The Current Buffer" .
[#<compiled-function ... "...(11)" ... 2>])))
# (unwind-protect ...)
# bind (next def elt char prompt map mouse-event user-keys actions
no-cursor-in-echo-area action-alist help list actor prompter)
map-y-or-n-p(#<compiled-function (buffer) "...(84)" [buffer-modified-p
buffer buffer-base-buffer symbol-value-in-buffer save-buffers-skip buffer-file-name
exiting buffer-offer-save buffer-size 0 arg t switch-buffer one-window-p
delete-other-windows switched switch-to-buffer format "Save file %s? "
"Save buffer %s? " buffer-name] 4> #<compiled-function (buffer)
"...(8)" [buffer nil (save-buffer) (...)] 3> (#<buffer "a">
#<buffer "*scratch*"> #<buffer " *Minibuf-0*"> #<buffer
" *Echo Area*"> #<buffer " *pixmap conversion*"> #<buffer
" *Message-Log*">) ("buffer" "buffers" "save")
((?\^R #<compiled-function ... "...(11)" ... 2> "display the current
buffer")))
# bind (switched switch-buffer exiting arg)
save-some-buffers-1(nil t t)
# (unwind-protect ...)
# (unwind-protect ...)
# bind (exiting arg)
save-some-buffers(nil t)
# bind (arg)
save-buffers-kill-emacs(nil)
# bind (command-debug-status)
call-interactively(save-buffers-kill-emacs)
# (condition-case ... . error)
# (catch top-level ...)
and the stack, too...
% gdb /usr/local/bin/xemacs core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `xemacs -vanilla'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/X11R6/lib/libXaw3d.so.6...done.
wReading symbols from /usr/lib/libtiff.so.3...done.
Reading symbols from /usr/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libjpeg.so.62...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /usr/lib/libgpm.so.1...done.
Reading symbols from /usr/lib/libncurses.so.4...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
#0 0x402dc4e1 in __kill () from /lib/libc.so.6
(gdb) where
#0 0x402dc4e1 in __kill () from /lib/libc.so.6
#1 0x80787a1 in fatal_error_signal (sig=6) at emacs.c:276
#2 0x402dc408 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#3 0x402dd868 in abort () at ../sysdeps/generic/abort.c:88
#4 0x814cd68 in wm_delete_window (shell=0x8209748, closure=0xbfffeb44, call_data=0x0)
at lwlib-Xaw.c:590
#5 0x40140504 in HandleActions () from /usr/X11R6/lib/libXt.so.6
#6 0x401409e6 in HandleSimpleState () from /usr/X11R6/lib/libXt.so.6
#7 0x40140f21 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#8 0x4011c2f7 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#9 0x4011cd44 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
#10 0x4011d173 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#11 0x40128acf in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#12 0x812cba6 in emacs_Xt_next_event (emacs_event=0x84b32d4) at event-Xt.c:2396
#13 0x809aaf5 in event_stream_next_event (event=0x84b32d4) at event-stream.c:566
#14 0x809bc0c in next_event_internal (target_event=139145940, allow_queued=1)
at event-stream.c:2021
#15 0x809c116 in Fnext_event (event=139145940, prompt=136087588) at event-stream.c:2238
#16 0x809c61b in Fnext_command_event (event=139145940, prompt=136087588)
at event-stream.c:2393
#17 0x807bf10 in Ffuncall (nargs=1, args=0xbfffee08) at eval.c:3195
#18 0x805b42e in execute_optimized_program (program=0xbfffee48 "À\t!\210ÂÃ
!\207",
stack_depth=2, constants_data=0x834e8a8) at bytecode.c:743
#19 0x805d3e6 in Fbyte_code (instructions=137655540, constants=137685144, stack_depth=5)
at bytecode.c:2398
#20 0x807b552 in Feval (form=137668048) at eval.c:2975
#21 0x807f7af in internal_catch (tag=136363980, func=0x807afa0 <Feval>,
arg=137668048,
threw=0x0) at eval.c:1305
#22 0x805bda4 in execute_rare_opcode (stack_ptr=0xbffff05c,
program_ptr=0x8485900 ")\207", opcode=Bcatch) at bytecode.c:1249
#23 0x805b26e in execute_optimized_program (
program=0x84858d0
"À\t!«\tÂÃ\t!!\210ª\025Ä\t!«\aÂ\t!\210ª\nÅ\t!«\005Æ\t!\210\016\a@ÈÉ\016\aA\"B\036\nËÌ\215)\207",
stack_depth=4, constants_data=0x834e8d0) at bytecode.c:653
#24 0x805b0f6 in funcall_compiled_function (fun=137669436, nargs=2, args=0xbffff154)
at bytecode.c:516
#25 0x807bf63 in Ffuncall (nargs=3, args=0xbffff150) at eval.c:3210
#26 0x805b42e in execute_optimized_program (
program=0x84a2608
"À\031Â\eÂ\034Â\035Â\036\006Â\036\aÂ\036\bÂ\036\t\016\n«\006\016\n9¬\031Ë\016\n!¬\023Ì\016\n!¬\r\016\n:«\013\016\n@Ía«\004Ϊ\002Ï\036\020Ñ
«\026ÒÓÔÕÖ×Ø\016\031\"BBBBB\025\016\032\024ª'\016\031«\013ÛÜ\016\031Ý#ÞPª\002ß\023à
\036!×â\016\031\"\210ã\016!\016$C\"\210\016!)\025Â\216\016%;«\fÍæç\016%èBBE\026%\016\020
\203ÿ\001\016%\016\b!\211\026\006;\203Þ\001Â\026)\f«\017ê\f\016\006\rB\"®\002ë\026\tª8\016,?\036-îÆçï\016\006\013ðñ\0162!!$\"\210ó"...,
stack_depth=10, constants_data=0x828e9d0) at bytecode.c:743
#27 0x805b0f6 in funcall_compiled_function (fun=136979092, nargs=5, args=0xbffff264)
at bytecode.c:516
#28 0x807bf63 in Ffuncall (nargs=6, args=0xbffff260) at eval.c:3210
#29 0x805b42e in execute_optimized_program (
program=0x8423a98 "À\031ÂÃÄÅ
ÆÇÈÉEC%\036\n\016\013\032\016\f\026\016\r¬\nÎÏÐ\016\021\"!«\005ÒÀ!\210À\026\fÓ\036\024\016\nÕV¬\n\016\024¬\006Ö×Ø\"\210\t+\207",
stack_depth=8,
constants_data=0x830bb78) at bytecode.c:743
#30 0x805b0f6 in funcall_compiled_function (fun=137355316, nargs=3, args=0xbffff2fc)
at bytecode.c:516
#31 0x807b79e in Feval (form=137406500) at eval.c:3034
#32 0x807fb07 in Fprogn (args=137406548) at eval.c:767
#33 0x805bd63 in execute_rare_opcode (stack_ptr=0xbffff430,
program_ptr=0x84d4e18 "\004ÉÊ!)\207\b8", opcode=Bsave_window_excursion)
at bytecode.c:1236
#34 0x805b26e in execute_optimized_program (
program=0x84d4e00 "\212\b¬\013Á Â
a¬\004\013¬\tÄ\r\016\006Ç#ª\bÈ\213\004ÉÊ!)\207\b8", stack_depth=4,
constants_data=0x83051b8) at bytecode.c:653
#35 0x805b0f6 in funcall_compiled_function (fun=137355176, nargs=2, args=0xbffff52c)
at bytecode.c:516
#36 0x807bf63 in Ffuncall (nargs=3, args=0xbffff528) at eval.c:3210
#37 0x805b42e in execute_optimized_program (
program=0x84dd460 "À\tÂ\"\210ÂÃÄÅ \"s«\006ÆÇ!KÈÉ!«?É
Ê\036\013\211\036\f«)Í\016\f@!Îs«\030Ï\016\f@!\036\020Ï\016\f@\016\020\"\210\016\020)«\004Â\026\013\016\fA\211\026\f¬Ù\016\013?®\005\212Ñ\213)*\bÒÓ!\003Ô
\207", stack_depth=5, constants_data=0x830fc00)
at bytecode.c:743
#38 0x805b0f6 in funcall_compiled_function (fun=137398412, nargs=1, args=0xbffff62c)
at bytecode.c:516
#39 0x807bf63 in Ffuncall (nargs=2, args=0xbffff628) at eval.c:3210
#40 0x805f36e in Fcall_interactively (function=136173252, record_flag=136087588,
keys=136087588) at callint.c:946
#41 0x807be1a in Ffuncall (nargs=2, args=0xbffff824) at eval.c:3178
#42 0x807ee14 in call1 (fn=136158172, arg0=136173252) at eval.c:3824
#43 0x809ed78 in execute_command_event (command_builder=0x823cc10, event=139144696)
at event-stream.c:4327
#44 0x809f51c in Fdispatch_event (event=139144696) at event-stream.c:4691
#45 0x8062cff in Fcommand_loop_1 () at cmdloop.c:575
#46 0x8062f0e in command_loop_1 (dummy=136087588) at cmdloop.c:490
#47 0x807f8cb in condition_case_1 (handlers=136087684, bfun=0x8062ef8
<command_loop_1>,
barg=136087588, hfun=0x8062800 <cmd_error>, harg=136087588) at eval.c:1630
#48 0x8062fec in command_loop_2 (dummy=136087588) at cmdloop.c:252
#49 0x807f7af in internal_catch (tag=136161540, func=0x8062fb4 <command_loop_2>,
arg=136087588, threw=0x0) at eval.c:1305
#50 0x8062a3c in initial_command_loop (load_me=136087588) at cmdloop.c:301
#51 0x80771d2 in xemacs_21_2_b25_i586_pc_linux (argc=2, argv=0xbffffb94,
envp=0xbffffba0, restart=0) at emacs.c:1898
#52 0x807897f in main (argc=2, argv=0xbffffb94, envp=0xbffffba0) at emacs.c:2323
#53 0x402d61eb in __libc_start_main (main=0x8078880 <main>, argc=2, argv=0xbffffb94,
init=0x804db28 <_init>, fini=0x815bc10 <_fini>, rtld_fini=0x4000a610
<_dl_fini>,
stack_end=0xbffffb8c) at ../sysdeps/generic/libc-start.c:90
(gdb) quit
%