I installed the latest beta XEmacs 21.5.31 and was testing toolbars and
found a bug.
I put on a bottom toolbar with only text glyphs in it, though otherwise
identical to the default toolbar.
When I clicked open button, find-file dialog comes up, then 3-4 seconds
later XEmacs crashes and goes away.
If I use the open button on the default toolbar, it works fine.
I also noticed the bottom toolbar shows up on the find-file dialog
before it crashes.
Below is the lisp backtrace for XEmacs -vanilla, and attached are a C
backtrace, and the code I ran to put the toolbar up.
This works repeatedly, and was the same when running xemacs -vanilla.
It is similar to issue 697, but triggered differently. Should I start
another issue? Or put this in as a message under that issue?
exact error message:
Fatal error: assertion failed, file redisplay.c, line 9179, pos >= 0 &&
pos < dy->largest_
Fatal error (6).
--------------------------------------------------------------------------------------------
Lisp backtrace follows:
# (unwind-protect ...)
event-window(#<motion-event 28, 701 0x10b5>)
# bind (frame event)
default-mouse-motion-handler(#<motion-event 28, 701 0x10b5>)
("execute_internal_event()" "[internal]")
(dispatch-event "[internal]")
# (condition-case ... . error)
# (unwind-protect ...)
read-minibuffer-internal("Find file: ")
byte-code("..." [standard-output standard-input prompt
recursion-depth minibuffer-depth t read-minibuffer-internal] 2)
# (catch exit ...)
# bind (mouse-grabbed-buffer current-prefix-arg
minibuffer-history-variable minibuffer-history-position
minibuffer-scroll-window)
# (unwind-protect ...)
# bind (minibuffer-default oconfig mconfig frame buffer window oframe
owindow dir default abbrev-table history readp keymap initial-contents
prompt)
read-from-minibuffer("Find file: " "~/" #<keymap
read-file-name-map
size 2 0x3c> nil file-name-history nil "~/toolbar-text-menu.el")
# bind (minibuffer-completion-table minibuffer-completion-predicate
minibuffer-completion-confirm last-exact-completion insert completer
initial-contents must-match default dir prompt history)
read-file-name-2(file-name-history "Find file: " nil
"~/toolbar-text-menu.el" nil nil read-file-name-internal)
# (unwind-protect ...)
# bind (window-min-height user-data dirwin filewin frame butbuf
dirbuf filebuf file-p completer initial-contents must-match default dir
prompt history)
mouse-read-file-name-1(file-name-history "Find file: " nil
"~/toolbar-text-menu.el" nil nil read-file-name-internal)
byte-code("..." [initial-contents must-match default dir prompt
history mouse-read-file-name-1 completer] 8)
# bind (completer initial-contents must-match default dir prompt
history type)
read-file-name-1(file file-name-history "Find file: " nil
"~/toolbar-text-menu.el" nil nil read-file-name-internal)
# bind (history initial-contents must-match default dir prompt)
read-file-name("Find file: ")
(list (read-file-name "Find file: ") (and current-prefix-arg
(read-coding-system "Coding system: ")) t)
call-interactively(find-file)
#<compiled-function (from toolbar-open) nil "...(4)"
[toolbar-open-function call-interactively] 2 1466147 nil 0xa40>()
call-interactively(toolbar-open)
# bind (callback button event)
release-and-activate-toolbar-button(#<buttonup-event button1up 0xf55>)
# bind (command-debug-status)
call-interactively(release-and-activate-toolbar-button)
(dispatch-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
-----------------------------------------------------------------------------------------
Steve Mitchell
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta