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.
In XEmacs 21.1 (patch 7) "Biscayne" [Lucid] (i586-pc-linux) of Wed Oct 6 1999
on danton.imw.uni-bielefeld.de
configured using `configure --with-tty --with-x11'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
XEmacs crashes whenever I call "popup-mode-menu" -- even right after
startup (inside buffer "*scratch*"). This happens easily, since this
function is bound to mouse button 3.
BTW: I helped myself by redefining mouse button 3 with
(define-key global-map '(button3) '"")
I only sent you this mail, because XEmacs asked me to. :-)
Thanks a lot for supporting this wonderful Program!
Regards, Leif
P.S: The Logs are:
----------------------------------------------------------------------
M-x describe-installation - output:
----------------------------------------------------------------------
uname -a: Linux danton.imw.uni-bielefeld.de 2.2.12-20 #2 Wed Oct 6 18:58:54 CEST 1999 i586
unknown
/configure '--with-tty' '--with-x11'
XEmacs 21.1.7 "Biscayne" configured for `i586-pc-linux'.
Where should the build process find the source code? /root/Compile/xemacs-21.1.7
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11/include
Where do we find X Windows libraries? /usr/X11/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
----------------------------------------------------------------------
Emacs dying messages:
----------------------------------------------------------------------
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Please report this bug by running the send-pr script included
with XEmacs, or selecting `Send Bug Report' from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /usr/local/bin/emacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
Lisp backtrace follows:
popup-menu(("Lisp-Interaction" ["Evaluate Last S-expression"
eval-last-sexp] ["Evaluate Entire Buffer" eval-current-buffer] ["Evaluate
Region" eval-region :active (region-exists-p)] "---" ["Evaluate This
Defun" eval-defun] ["Debug This Defun" edebug-defun] "---"
["Trace a Function" trace-function-background] ["Untrace All
Functions" untrace-all :active (fboundp ...)] "---" ["Comment Out
Region" comment-region :active (region-exists-p)] ["Indent Region"
indent-region :active (region-exists-p)] ["Indent Line" lisp-indent-line]
"---" ["Debug On Error" (setq debug-on-error ...) :style toggle
:selected debug-on-error] ["Debug On Quit" (setq debug-on-quit ...) :style
toggle :selected debug-on-quit] ["Debug on Signal" (setq debug-on-signal ...)
:style toggle :selected debug-on-signal]))
#<compiled-function nil "...(107)" [run-hooks activate-popup-menu-hook
popup-menu global-popup-menu mode-popup-menu check-menu-syntax title items nil
mode-filters keywordp append ("---" "---") popup-menu-titles
("---" "---") error "No menu defined in this buffer"] 9
926871 "@_">()
# bind (command-debug-status)
call-interactively(popup-mode-menu)
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault (core dumped)
----------------------------------------------------------------------
gdb's where output:
----------------------------------------------------------------------
#0 0x4028f4e1 in __kill () from /lib/libc.so.6
#1 0x809e1b1 in fatal_error_signal (sig=11) at emacs.c:263
#2 0x4028f408 in __restore ()
at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#3 0x402b5f66 in _IO_vfprintf (s=0x4035dfc0,
format=0x4010aacb "%sWarning: %s\n", ap=0xbfffd118) at vfprintf.c:1029
#4 0x402bdf47 in fprintf (stream=0x4035dfc0,
format=0x4010aacb "%sWarning: %s\n") at fprintf.c:32
#5 0x400e505a in _XtDefaultWarning () from /usr/X11R6/lib/libXt.so.6
#6 0x400e5109 in XtWarning () from /usr/X11R6/lib/libXt.so.6
#7 0x400e4caf in DefaultMsg () from /usr/X11R6/lib/libXt.so.6
#8 0x400e4d3f in _XtDefaultWarningMsg () from /usr/X11R6/lib/libXt.so.6
#9 0x400e4e6c in XtAppWarningMsg () from /usr/X11R6/lib/libXt.so.6
#10 0x400de810 in XtDisplayStringConversionWarning ()
from /usr/X11R6/lib/libXt.so.6
#11 0x400dfe4f in XtCvtStringToFontStruct () from /usr/X11R6/lib/libXt.so.6
#12 0x400dde67 in CallConverter () from /usr/X11R6/lib/libXt.so.6
#13 0x400de0c7 in _XtConvert () from /usr/X11R6/lib/libXt.so.6
#14 0x400f3912 in GetResources () from /usr/X11R6/lib/libXt.so.6
#15 0x400f3f25 in _XtGetResources () from /usr/X11R6/lib/libXt.so.6
#16 0x400e219c in xtCreate () from /usr/X11R6/lib/libXt.so.6
#17 0x400e2724 in _XtCreateWidget () from /usr/X11R6/lib/libXt.so.6
#18 0x400e280c in XtCreateManagedWidget () from /usr/X11R6/lib/libXt.so.6
#19 0x815bdf2 in xlw_create_popup_menu (instance=0x855dfc8) at lwlib-Xlw.c:129
#20 0x81554a8 in instantiate_widget_instance (instance=0x855dfc8)
at lwlib.c:866
#21 0x8155584 in lw_make_widget (id=65540, parent=0x8470990, pop_up_p=1 '\001')
at lwlib.c:345
#22 0x8155ef3 in lw_create_widget (type=0x817012a "popup",
name=0x817012a "popup", id=65540, val=0x8470da0, parent=0x8470990,
pop_up_p=1 '\001', pre_activate_cb=0,
selection_cb=0x80b20ac <popup_menu_selection_callback>,
post_activate_cb=0x80b20c8 <popup_menu_down_callback>) at lwlib.c:918
#23 0x80b1fe1 in x_popup_menu (menu_desc=136441772, event=136880628)
at menubar-x.c:819
#24 0x80acdd6 in Fpopup_menu (menu_desc=136441772, event=136880628)
at menubar.c:286
#25 0x80a14c8 in funcall_recording_as (recorded_as=136987324, nargs=1,
args=0xbffff344) at eval.c:3193
#26 0x80a54bd in Ffuncall (nargs=2, args=0xbffff344) at eval.c:3238
#27 0x80851e6 in Fbyte_code (bytestr=136574880, vector=136575024, maxdepth=19)
at bytecode.c:416
#28 0x80a2211 in funcall_lambda (fun=136575284, nargs=0, arg_vector=0xbffff56c)
at eval.c:3597
#29 0x80a16fe in funcall_recording_as (recorded_as=137770368, nargs=0,
args=0xbffff568) at eval.c:3214
#30 0x808693a in Fcall_interactively (function=137770368,
record_flag=136880628, keys=136880628) at callint.c:528
#31 0x80a03f8 in Fcommand_execute (cmd=137770368, record=136880628,
keys=136880628) at eval.c:2584
#32 0x80c2122 in execute_command_event (command_builder=0x83680c0,
event=139958636) at event-stream.c:4346
#33 0x80c27e5 in Fdispatch_event (event=139958636) at event-stream.c:4685
#34 0x808b1ea in Fcommand_loop_1 () at cmdloop.c:579
#35 0x808b3aa in command_loop_1 (dummy=136880628) at cmdloop.c:494
#36 0x80a519b in condition_case_1 (handlers=136880740,
bfun=0x808b394 <command_loop_1>, barg=136880628,
hfun=0x808acf0 <cmd_error>, harg=136880628) at eval.c:1653
#37 0x808b47e in command_loop_2 (dummy=136880628) at cmdloop.c:256
#38 0x80a507f in internal_catch (tag=136955000,
func=0x808b44c <command_loop_2>, arg=136880628, threw=0x0) at eval.c:1328
#39 0x808af2c in initial_command_loop (load_me=136880628) at cmdloop.c:305
#40 0x809cff1 in xemacs_21_1_7_i586_pc_linux (argc=1, argv=0xbffff974,
envp=0xbffff97c, restart=0) at emacs.c:1714
#41 0x809e4ad in main (argc=1, argv=0xbffff974, envp=0xbffff97c)
at emacs.c:2131
----------------------------------------------------------------------
Recent keystrokes:
left left left left left left left left left left left
left left left left left left C-SPC right right right
right right right right right right right right right
right right right right right right right right right
right right right right right right right right right
right right right right right right right right right
right right right right right right right right right
right right right right right right right right right
right right right right left left left left left left
left left left left left left left left right right
right right right M-w misc-user
Recent messages (most recent first):
Parsing /home/leif/.mailrc...
Loading mail-abbrevs...done
Loading mail-abbrevs...
Loading emacsbug...done
Loading emacsbug...
Wrote /home/leif/test.txt
C-. not defined.
Fontifying stealthily... done.
Fontifying stealthily... 95% of .emacs
Fontifying stealthily... 90% of .emacs
--=-=-=
--=-=-=--