I think this problem has something to do with motif dialog boxes and
not VC. Could somebody please take a look at this please?
|--==> "JH" == John Hutton <jfh(a)fc.hp.com> writes:
JH> In XEmacs 21.4 (patch 2) "Developer-Friendly Unix APIs" [Lucid]
JH> (hppa2.0w-hp-hpux11.00) of Wed Jul 18 2001 on
hpesjfh.fc.hp.com
JH> Please describe exactly what actions triggered the bug
JH> and the precise symptoms of the bug:
home> echo "testing" > dummy1
home> xemacs --vanilla dummy1
xemacs-menu> Tools->VC->Load VC
xemacs-menu> Tools->VC->Register File dummy1
xemacs-menu> Tools->VC->Check in File dummy1
JH> CRASH
I can't reproduce this, but I don't have access to the hardware that
you are using either.
One thing you didn't mention, John, was the version of VC that you are
using. The current version is vc-1.28-pkg.tar.gz. In case I'm wrong
about what is causing your problem, try that version (if you haven't
already).
JH> describe instillation
JH> ---------------------
JH> uname -a: HP-UX hpesjfh B.11.00 U 9000/785 2000025340 unlimited-user license
JH> ./configure
JH> XEmacs 21.4.2 "Developer-Friendly Unix APIs" configured for
`hppa2.0w-hp-hpux11.00'.
JH> Compilation / Installation:
JH> Source code location: /opt/xemacs-21.4.2
JH> Installation prefix: /usr/local
JH> Operating system description file: `s/hpux11.h'
JH> Machine description file: `m/hp800.h'
JH> Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith
JH> Relocating allocator for buffers: yes
JH> GNU version of malloc: yes
JH> Window System:
JH> Compiling in support for the X window system:
JH> - X Windows headers location: /usr/dt/include
/usr/contrib/X11R6/include
JH> - X Windows libraries location: /usr/dt/lib /usr/lib/X11R6
/usr/contrib/X11R6/lib
JH> - Xau (X authority) not available.
JH> - Handling WM_COMMAND properly.
JH> Using Lucid menubars.
JH> Using Lucid scrollbars.
JH> Using Motif dialog boxes.
JH> Using Motif native widgets.
Just wondering if this is a Motif thang[tm]? The lisp backtrace make
me think that the problem has something to do with displaying the
dialog box.
JH> Lisp trace
JH> ----------
JH> Lisp backtrace follows:
JH> make-dialog-box-internal(question (:question "Revert to master version?
" :buttons (["Yes" ...] ["No" ...] nil ["Cancel"
...])))
JH> eval((make-dialog-box-internal (quote question) (quote (:question "Revert to
master version? " :buttons ...))))
JH> byte-code("..." [thunk frames id sym eval gensym lambda (did) when eq
quote (did) mapc (quote enable-frame) (enqueue-eval-event (quote
internal-make-dialog-box-exit) did) remove-hook (quote delete-dialog-box-hook) add-hook
delete-dialog-box-hook disable-frame --cl-block-nil-- (byte-code "Â Ã !«
Ä !Åa«
Æ !a«
ÇÈÉ\"
ª
Ê
!)
ª\\" [id event next-event eval-event-p event-function internal-make-dialog-box-exit
event-object throw --cl-block-nil-- ... dispatch-event] 3)] 11)
JH> # (catch internal-dialog-box-finish ...)
JH> # bind (frames thunk)
JH> dialog-box-modal-loop((make-dialog-box-internal (quote question) (quote
(:question "Revert to master version? " :buttons ...))))
JH> # bind (cl-modal)
JH> # (unwind-protect ...)
JH> # bind (--letf-save--7893 --letf-bound--7894 cl-keys type)
JH> make-dialog-box(question :question "Revert to master version? " :modal
t :buttons (["Yes" (dialog-box-finish t)] ["No" (dialog-box-finish
nil)] nil ["Cancel" (dialog-box-cancel)]))
JH> # (unwind-protect ...)
JH> # bind (ssf7885 prompt)
JH> yes-or-no-p-dialog-box("Revert to master version? ")
JH> # bind (prompt)
JH> yes-or-no-p("Revert to master version? ")
JH> # bind (vc-file vc-type owner version buffer comment verbose file)
JH> vc-next-action-on-file("/home/jfh/dummy1" nil)
JH> byte-code("..." [verbose vc-dired-mode buffer-file-name
vc-parent-buffer files dired-get-marked-files mapconcat #<compiled-function (f)
"...(34)" [f vc-backend CVS vc-cvs-status locally-modified locally-added
"@" "" vc-locking-user] 2> "" vc-next-action-dired nil
"dummy" vc-start-entry "Enter a change comment for the marked files."
throw nogo pop-to-buffer vc-next-action-on-file vc-registration-error] 6)
JH> # (catch nogo ...)
JH> # bind (verbose)
JH> vc-next-action(nil)
JH> # bind (command-debug-status)
JH> call-interactively(vc-next-action)
JH> # (condition-case ... . error)
JH> # (catch top-level ...)
JH> C trace follows
JH> ---------------
JH> (gdb) where
JH> #0 0xc01f4000 in kill () from /usr/lib/libc.2
JH> #1 0xa2f84 in fatal_error_signal (sig=0) at emacs.c:535
JH> #2 <signal handler called>
JH> #3 0xc19614b0 in XtWidgetToApplicationContext () from /usr/lib/X11R6/libXt.3
JH> #4 0xc21768e0 in XmProcessTraversal () from /usr/lib/libXm.4
JH> #5 0x1e03c0 in make_dialog (name=0x0, parent=0x6ff2b6b5, pop_up_p=48
'0',
JH> shell_title=0x4033d200 "@3\322", icon_name=0x2398c4
"dbox-question",
JH> text_input_slot=0 '\000', radio_box=0 '\000', list=0
'\000',
JH> left_buttons=2, right_buttons=1) at lwlib-Xm.c:1307
JH> #6 0x1e0a94 in xm_create_dialog (instance=0x40405c80) at lwlib-Xm.c:1506
JH> #7 0x1d7518 in instantiate_widget_instance (instance=0x40405c80)
JH> at lwlib.c:941
JH> #8 0x1d7664 in lw_make_widget (id=0, parent=0x4037e800, pop_up_p=1
'\001')
JH> at lwlib.c:389
JH> #9 0x1d82f8 in lw_create_widget (type=0x4038dc00 "Q3BR1",
JH> name=0x228118 "dialog", id=65548, val=0x4038e380, parent=0x4037e800,
JH> pop_up_p=1, pre_activate_cb=0,
JH> selection_cb=0x40015eea <dbox_selection_callback>, post_activate_cb=0)
JH> at lwlib.c:993
JH> #10 0xcd7dc in x_make_dialog_box_internal (f=0x403e8300, type=1074031188,
JH> keys=1878244656) at dialog-x.c:269
JH> #11 0xc5f8c in Fmake_dialog_box_internal (type=1074187516, keys=1077470080)
JH> at dialog.c:51
JH> #12 0xacaa4 in Feval (form=1076639284) at eval.c:3331
JH> #13 0xad18c in Ffuncall (nargs=0, args=0x6fff3894) at eval.c:3528
JH> #14 0x7b7c0 in execute_optimized_program (program=0x0, stack_depth=0,
JH> constants_data=0x4021c310) at bytecode.c:746
JH> #15 0x402284d0 in ?? ()
JH> #16 0xa2f84 in fatal_error_signal (sig=1878997076) at emacs.c:535
JH> #17 0x40014d60 in Def_term ()
JH> #18 0xa2f84 in fatal_error_signal (sig=2232512) at emacs.c:535
JH> Cannot access memory at address 0x5dfff6c.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|