In XEmacs 21.2 (beta19) "Sneaky Bastard 19991102" [Lucid] (i686-pc-linux, Mule)
of Tue Nov 9 1999 on
ulysses.jprc.com
configured using `configure --prefix=/home/xemacs/debug --with-mule
--site-libraries=/home/xemacs/lib --site-includes=/home/xemacs/include
--site-runtime-libraries=/home/xemacs/lib '--cflags=-g -Wall -Wno-switch'
--with-dialogs=athena --with-widgets=athena'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
xemacs -vanilla
in the *scratch* buffer evaluate:
(make-frame-on-display (concat (system-name) ":0"))
I discovered the crash when trying to use gnuclient between machines,
but I can make XEmacs crash by giving make-frame-on-display a
hostname. If I use ":0.0", "localhost:0.0", or "unix:0.0",
make-frame-on-display works fine, but if I give it the name of my
host, XEmacs crashes.
This is a RedHat Linux 5.2 box running a 2.2.12 kernel; XFree86 info
from rpm:
Name : XFree86 Distribution: Manhattan
Version : 3.3.2.3 Vendor: Red Hat Software
Release : 25 Build Date: Sat Oct 10 04:01:26 1998
Install date: Mon Feb 8 15:46:28 1999 Build Host:
porky.redhat.com
Group : X11/XFree86 Source RPM: XFree86-3.3.2.3-25.src.rpm
The describe-installation, lisp backtrace, and the contents of my
*gdb* buffer follow.
uname -a: Linux
ulysses.jprc.com 2.2.12 #1 SMP Wed Sep 8 17:41:43 EDT 1999 i686 unknown
../xemacs-cvs-snapshot-19991102/configure '--prefix=/home/xemacs/debug'
'--with-mule' '--site-libraries=/home/xemacs/lib'
'--site-includes=/home/xemacs/include'
'--site-runtime-libraries=/home/xemacs/lib' '--cflags=-g -Wall
-Wno-switch' '--with-dialogs=athena' '--with-widgets=athena'
XEmacs 21.2-b19 "Sneaky Bastard 19991102" configured for `i686-pc-linux'.
Where should the build process find the source code?
/home/xemacs/build/xemacs-cvs-snapshot-19991102
What installation prefix should install use? /home/xemacs/debug
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 -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/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Additional header files: /home/xemacs/include
Additional libraries: /home/xemacs/lib
Runtime library search path: /home/xemacs/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 GNU DBM.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena native widgets.
Using Athena dialog boxes.
Compiling in DSO module support.
movemail will use "dot-locking" for locking mail spool files.
Compiling in extra code for debugging.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Lisp backtrace follows:
# bind (frame-being-created)
make-frame(nil #<x-device on "ulysses.jprc.com:0.0" 0x27ad>)
# bind (props connection type)
make-frame-on-device(x "ulysses.jprc.com:0" nil)
# bind (props display)
make-frame-on-display("ulysses.jprc.com:0")
eval((make-frame-on-display (concat (system-name) ":0")))
# bind (expr)
eval-interactive((make-frame-on-display (concat (system-name) ":0")))
# bind (standard-output opoint ignore-quotes eval-last-sexp-arg-internal)
eval-last-sexp(t)
# bind (standard-output)
#<compiled-function nil "...(13)" [standard-output terpri eval-last-sexp t]
2 920714 nil>()
call-interactively(eval-print-last-sexp)
# (condition-case ... . error)
# (catch top-level ...)
[1] + 19143 segmentation fault xemacs-21.2-b19 -vanilla
*gdb* buffer contents (changed non-ASCII characters to hexadecimal):
Current directory is /home/xemacs/debug/bin/
GNU gdb 4.17.0.4 with Linux/x86 hardware watchpoint and FPU support
(gdb) attach 19143
Attaching to program `/home/xemacs/debug/bin/xemacs-21.2-b19', Pid 19143
Reading symbols from /usr/arla/lib/libgetcwd.so.0.27...done.
Reading symbols from /usr/X11R6/lib/libXaw.so.6...done.
Reading symbols from /usr/lib/libtiff.so.3...done.
Reading symbols from /home/xemacs/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.2...done.
Reading symbols from /usr/lib/libgdbm.so.2...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.1...done.
0x2ad732de in __select ()
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x2ac21502 in XGetIMValues ()
(gdb) where
#0 0x2ac21502 in XGetIMValues ()
#1 0x80cf621 in IMInstantiateCallback (dpy=0x86a2bd8,
client_data=0x86aba70 "\034\200=d9*P=baj\b=ba'", call_data=0x0)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/input-method-xlib.c:249
#2 0x2ac46846 in _XimRegisterIMInstantiateCallback ()
#3 0x2ac219aa in XRegisterIMInstantiateCallback ()
#4 0x80cf915 in XIM_init_frame (f=0x86aba70)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/input-method-xlib.c:333
#5 0x81cf9ab in x_popup_frame (f=0x86aba70)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/frame-x.c:2085
#6 0x81cfc3a in x_init_frame_3 (f=0x86aba70)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/frame-x.c:2204
#7 0x8118a3d in Fmake_frame (props=137151492, device=141086784)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/frame.c:472
#8 0x8098577 in Ffuncall (nargs=3, args=0x7fffe954)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:3178
#9 0x8063608 in execute_optimized_program (
program=0x86a0140 "=c0\t=c2\013\f\t#\"\207", stack_depth=6,
constants_data=0x83e2358)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:743
#10 0x80630b1 in funcall_compiled_function (fun=138258500, nargs=3,
args=0x7fffeaf8)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:516
#11 0x8098811 in Ffuncall (nargs=4, args=0x7fffeaf4)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:3210
#12 0x8063608 in execute_optimized_program (
program=0x86a0118 "\b=c1k=ab\003=c2\020=c3=c4\b\r#\207\204=d9*",
stack_depth=4,
constants_data=0x853cf00)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:743
#13 0x80630b1 in funcall_compiled_function (fun=139671456, nargs=1,
args=0x7fffec00)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:516
#14 0x8097fda in Feval (form=139568696)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:3034
#15 0x809854e in Ffuncall (nargs=2, args=0x7fffee24)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:3178
#16 0x8063608 in execute_optimized_program (
program=0x8687448
"\b=a2=c1a=ab!\bG=c2V=ab\e=c3=c4\bAB!\210\r=ab\r=c6=c7!\210=c8=c9!\210=c6=ca!\210\bA@\207\b=a2=cba=ab0\bG=c2V=ab*=cc\bA@!=ab#=cd\bA@=c3=c2\b8!\"\210=c3\b!\210\r=ab\r=c6=ce!\210=c8=c9!\210=c6=ca!\210\bA@\207=c3\b!\207",
stack_depth=5, constants_data=0x83fc518)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:743
#17 0x80630b1 in funcall_compiled_function (fun=138392680, nargs=1,
args=0x7fffefcc)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:516
#18 0x8098811 in Ffuncall (nargs=2, args=0x7fffefc8)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:3210
#19 0x8063608 in execute_optimized_program (
program=0x86872e0 "\b=ab\004p=aa\002=c1`=c2\e\034\035=c6=c7=c8
\036\t=ca\216=cb\016\f!\210\212=c2f=cda=ae\005=ce
=cda\023=cf=d0!\210\013=ab\n=c2f=d1a=ab\004=c2u\210\214e\f}\210=d2p!\211\036\023=a2=d4a=ab\r=d5=d6=d7\016\023=d8BBBD=aa\003\016\023-!!+\207a",
stack_depth=8,
constants_data=0x83fc568)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:743
#20 0x80630b1 in funcall_compiled_function (fun=138392708, nargs=1,
args=0x7ffff178)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:516
#21 0x8098811 in Ffuncall (nargs=2, args=0x7ffff174)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:3210
#22 0x8063608 in execute_optimized_program (
program=0x867dd58 "p\030=c1 \210=c2=c3!\210=c1 )\207", stack_depth=2,
constants_data=0x84aa9e0)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:743
#23 0x80630b1 in funcall_compiled_function (fun=138392652, nargs=0,
args=0x7ffff344)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/bytecode.c:516
#24 0x8098811 in Ffuncall (nargs=1, args=0x7ffff340)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:3210
#25 0x8099ab7 in apply1 (fn=138392652, arg=137151492)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:3793
#26 0x8069113 in Fcall_interactively (function=138395404,
record_flag=137151492, keys=137151492)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/callint.c:394
#27 0x8096b64 in Fcommand_execute (cmd=138395404, record=137151492,
keys=137151492)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:2613
#28 0x80eb712 in execute_command_event (command_builder=0x85df450,
event=141149120)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/event-stream.c:4343
#29 0x80ebe4f in Fdispatch_event (event=141149120)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/event-stream.c:4634
#30 0x8072aed in Fcommand_loop_1 ()
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/cmdloop.c:575
#31 0x807286f in command_loop_1 (dummy=137151492)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/cmdloop.c:490
#32 0x8094972 in condition_case_1 (handlers=137151588,
bfun=0x8072848 <command_loop_1>, barg=137151492,
hfun=0x8072064 <cmd_error>, harg=137151492)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:1630
#33 0x807218b in command_loop_3 ()
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/cmdloop.c:252
#34 0x80721b3 in command_loop_2 (dummy=137151492)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/cmdloop.c:263
#35 0x8094502 in internal_catch (tag=137225708,
func=0x80721a8 <command_loop_2>, arg=137151492, threw=0x0)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/eval.c:1305
#36 0x80723f8 in initial_command_loop (load_me=137151492)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/cmdloop.c:301
#37 0x808fa9c in xemacs_21_2_b19_i686_pc_linux (argc=2, argv=0x7ffff9b4,
envp=0x7ffff9c0, restart=0)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/emacs.c:1873
#38 0x80906a4 in main (argc=2, argv=0x7ffff9b4, envp=0x7ffff9c0)
at /home/xemacs/build/xemacs-cvs-snapshot-19991102/src/emacs.c:2298
(gdb) quit
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /home/xemacs/debug/bin/xemacs-21.2-b19 Pid 19143