Dear Bug Team!
XEmacs 21.4.13 crashes on Solaris 8 when Buffers Tab is made
visible. When run 'xemacs -vanilla' it crashes on startup because Buffer
Tabs are visible by default. This was compiled with gcc 3.3 and GNU ld
2.14. Lisp
backtrace and stack trace follow:
lelmore@leahy> xemacs
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Your version of XEmacs was distributed with a PROBLEMS file that may
describe
your crash, and with luck a workaround. Please check it first, but do report
the crash anyway. Please report this bug by invoking M-x report-emacs-bug,
or by selecting `Send Bug Report' from the Help menu. If necessary, send
ordinary email to `crashes(a)xemacs.org'. *MAKE SURE* to include the XEmacs
configuration from M-x describe-installation, or equivalently the file
Installation in the top of the build tree.
*Please* try *hard* to obtain a C stack backtrace; without it, we are
unlikely
to be able to analyze the problem. Locate the core file produced as a result
of this crash (often called `core' or `core.<process-id>', and located in
the directory in which you started XEmacs or your home directory), and type
gdb /home/lelmore/bin/xemacs core
then type `where' at the debugger prompt. No GDB on your system? You may
have DBX, or XDB, or SDB. (Ask your system administrator if you need help.)
If no core file was produced, enable them (often with `ulimit -c unlimited'
in case of future recurrance of the crash.
Lisp backtrace follows:
# (unwind-protect ...)
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque-ptr, adr=0x2b722c)
0x2e3000> ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (unwind-protect ...)
set-specifier-dirty-flag(#<gutter-specifier global=((... buffers-tab
"\n") nil) fallback=#<gutter-specifier global=<unspecified>
fallback=(...) 0x13c> 0x13e>)
# bind (gutter-or-location)
set-gutter-dirty-p(top)
# bind (items force-selection frame)
update-tab-in-gutter(#<x-frame "emacs" 0x6e6>)
mapc-internal(update-tab-in-gutter (#<x-frame "emacs" 0x6e6>))
# bind (cl-rest cl-seq cl-func)
mapc(update-tab-in-gutter (#<x-frame "emacs" 0x6e6>))
# bind (visible-p prop)
#<compiled-function (prop visible-p) "...(14)" [visible-p prop
buffers-tab mapc update-tab-in-gutter frame-list] 3>(buffers-tab t)
run-hook-with-args(#<compiled-function (prop visible-p) "...(14)"
[visible-p prop buffers-tab mapc update-tab-in-gutter frame-list] 3>
buffers-tab t)
# bind (tag-set locale visible-p prop gutter-visible-specifier-p)
set-gutter-element-visible-p(#<gutter-visible-specifier
global=(buffers-tab) fallback=((nil . t)) 0x15c> buffers-tab t)
# bind (val var)
(lambda (var val) (set-gutter-element-visible-p default-gutter-visible-p
(quote buffers-tab) val) (setq gutter-buffers-tab-visible-p
val))(gutter-buffers-tab-visible-p t)
# bind (comment value variable)
customize-set-variable(gutter-buffers-tab-visible-p t)
eval((customize-set-variable (quote gutter-buffers-tab-visible-p) (not
gutter-buffers-tab-visible-p)))
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault (core dumped)
lelmore@leahy> gdb /home/lelmore/bin/xemacs core
GNU gdb 5.3
Copyright 2002 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 "sparc-sun-solaris2.8"...
warning: core file may not match specified executable file.
Core was generated by `xemacs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/dt/lib/libXm.so.4...done.
Loaded symbols for /usr/dt/lib/libXm.so.4
Reading symbols from /home/lelmore/lib/libpng.so.2...done.
Loaded symbols for /home/lelmore/lib/libpng.so.2
Reading symbols from /home/lelmore/lib/libz.so...done.
Loaded symbols for /home/lelmore/lib/libz.so
Reading symbols from /usr/dt/lib/libtt.so.2...done.
Loaded symbols for /usr/dt/lib/libtt.so.2
Reading symbols from /usr/openwin/lib/libXmu.so.4...done.
Loaded symbols for /usr/openwin/lib/libXmu.so.4
Reading symbols from /usr/openwin/lib/libXt.so.4...done.
Loaded symbols for /usr/openwin/lib/libXt.so.4
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Loaded symbols for /usr/openwin/lib/libXext.so.0
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Loaded symbols for /usr/openwin/lib/libX11.so.4
Reading symbols from /usr/openwin/lib/libSM.so.6...done.
Loaded symbols for /usr/openwin/lib/libSM.so.6
Reading symbols from /usr/openwin/lib/libICE.so.6...done.
Loaded symbols for /usr/openwin/lib/libICE.so.6
Reading symbols from /usr/lib/libcurses.so.1...done.
Loaded symbols for /usr/lib/libcurses.so.1
Reading symbols from /usr/lib/libldap.so.4...done.
Loaded symbols for /usr/lib/libldap.so.4
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/openwin/lib/libdga.so.1...done.
Loaded symbols for /usr/openwin/lib/libdga.so.1
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
Reading symbols from /usr/lib//liblayout.so...done.
Loaded symbols for /usr/lib//liblayout.so
#0 0xfec1c840 in _libc_kill () from /usr/lib/libc.so.1
(gdb) #0 0xfec1c840 in _libc_kill () from /usr/lib/libc.so.1
#1 0x0007902c in fatal_error_signal (sig=11) at emacs.c:642
#2 <signal handler called>
#3 TabsAllocFgGC (tw=0x514a00) at xlwtabs.c:2099
#4 0x001b8d44 in TabsAllocGCs (tw=0x514a00) at xlwtabs.c:1354
#5 0xfefa9460 in RealizeWidget () from /usr/openwin/lib/libXt.so.4
#6 0xfefa924c in XtRealizeWidget () from /usr/openwin/lib/libXt.so.4
#7 0xfefb4ea0 in ManageChildren () from /usr/openwin/lib/libXt.so.4
#8 0xfefb4b38 in XtManageChildren () from /usr/openwin/lib/libXt.so.4
#9 0xfefb4a40 in XtManageChild () from /usr/openwin/lib/libXt.so.4
#10 0xfefaff44 in XtCreateManagedWidget () from /usr/openwin/lib/libXt.so.4
#11 0x001b2b88 in xlw_create_tab_control (instance=0x49d2c0) at
lwlib-Xlw.c:390
#12 0x001aa7ac in allocate_widget_instance (info=0x3eb220, parent=0xbf,
pop_up_p=4 '\004') at lwlib.c:941
#13 0x001a9654 in lw_make_widget (id=0, parent=0x4b3c00, pop_up_p=0 '\0')
at lwlib.c:977
#14 0x0018d718 in x_widget_instantiate (image_instance=5320064,
instantiator=5249792, pointer_fg=1907784, pointer_bg=2014208,
dest_mask=2014208, domain=3949568, type=0x1d1c48 "tab-control",
wv=0x3d5180) at glyphs-x.c:2562
#15 0x0018c580 in x_tab_control_instantiate (image_instance=5320064,
instantiator=5249792, pointer_fg=-24430016, pointer_bg=-24430016,
dest_mask=111, domain=3949568) at glyphs-x.c:2770
#16 0x000fe4b0 in instantiate_image_instantiator
(governing_domain=-24440720,
domain=3949568, instantiator=5249792, pointer_fg=-24430016,
pointer_bg=-24430016, dest_mask=111, glyph=5250688) at glyphs.c:808
#17 0x000fc5d0 in image_instantiate (specifier=-24430016,
matchspec=5104088,
domain=3949568, instantiator=5249792, depth=2843648) at glyphs.c:3262
#18 0x00084440 in call_with_suspended_errors_1 (opaque_arg=23) at
eval.c:2114
#19 0x0007cbd4 in internal_catch (tag=3026944,
func=0x84368 <call_with_suspended_errors_1>, arg=3030608, threw=0xffbecbe4)
at eval.c:1318
#20 0x0007d29c in call_with_suspended_errors (fun=0xffbeccf0,
retval=-24631424, class=-4273172, errb=22, nargs=1) at eval.c:2205
#21 0x00166bc0 in specifier_instance_from_inst_list (specifier=5566720,
matchspec=-24631424, domain=3949568, inst_list=5103908, errb=ERROR_ME_NOT,
no_quit=-24074400, depth=3) at specifier.c:2510
#22 0x0015f2b0 in specifier_instance (specifier=5566720,
matchspec=-24631424,
domain=3949568, errb=ERROR_ME_NOT, no_quit=1, no_fallback=0, depth=3)
at specifier.c:2619
#23 0x000f64c8 in invalidate_glyph_geometry_maybe (glyph_or_ii=5250688,
w=0x3c4400) at glyphs.c:3856
#24 0x0013a6e8 in add_glyph_rune (data=0x2b7400, gb=0x4b3e00, pos_type=0,
allow_cursor=0, cachel=0x0) at redisplay.c:1671
#25 0x00147350 in create_string_text_block (w=0x3c4400,
disp_string=5088100,
dl=0xffbed078, start_pos=0, prop=0xffbed074, default_face=0)
at redisplay.c:1963
#26 0x0013ed6c in generate_displayable_area (w=0x3c4400,
disp_string=5088100,
xpos=1, ypos=4, width=594, height=-4272008, dla=0x49d440, start_pos=0,
default_face=0) at redisplay.c:5146
#27 0x00112a38 in gutter_specs_changed (specifier=-24085480, w=0x3c4400,
oldval=4934884, pos=TOP_GUTTER) at gutter.c:359
#28 0x00166cd0 in recompute_cached_specifier_everywhere_mapfun (w=0x3c4400,
closure=0x111830) at specifier.c:2888
#29 0x0019c2b8 in map_windows (f=0x3c4400,
mapfun=0x166c4c <recompute_cached_specifier_everywhere_mapfun>,
closure=0xfe907c18) at window.c:4840
#30 0x0015f48c in recompute_cached_specifier_everywhere (specifier=3275548)
at specifier.c:2971
#31 0x00163adc in Fset_specifier_dirty_flag (specifier=-24085480)
at specifier.c:2997
#32 0x0007ef14 in Ffuncall (nargs=519948, args=0x4) at eval.c:3536
#33 0x00055afc in execute_optimized_program (
program=0xffbed464 "?\212\037\230?\220|\030", stack_depth=-23464620,
constants_data=0xfe99f22c) at bytecode.c:748
#34 0x00055688 in funcall_compiled_function (fun=-23308420, nargs=1,
args=0x501ac0) at bytecode.c:516
#35 0x0007edf8 in Ffuncall (nargs=1, args=0xffbed63c) at eval.c:3572
#36 0x00055afc in execute_optimized_program (
program=0xffbed63c "?\212\037??\212?0", stack_depth=-23461840,
constants_data=0xfe99fcb8) at bytecode.c:748
#37 0x00055688 in funcall_compiled_function (fun=-23307580, nargs=1,
args=0x4d3480) at bytecode.c:516
#38 0x0007edf8 in Ffuncall (nargs=1, args=0xffbed860) at eval.c:3572
#39 0x000e64a4 in mapcar1 (leni=2843648, vals=0x0, function=4933864,
sequence=4933864) at fns.c:2976
#40 0x000e5448 in Fmapc_internal (function=4933864, sequence=4933864)
at fns.c:3103
#41 0x0007ef28 in Ffuncall (nargs=519964, args=0x8) at eval.c:3536
#42 0x00055afc in execute_optimized_program (
program=0xffbeda04 "?\213\022P?\212+ ", stack_depth=-23421364,
constants_data=0xfe9a9b34) at bytecode.c:748
#43 0x00055688 in funcall_compiled_function (fun=-23291620, nargs=15,
args=0x402bc0) at bytecode.c:516
#44 0x0007edf8 in Ffuncall (nargs=2, args=0xffbedbe4) at eval.c:3572
#45 0x00055afc in execute_optimized_program (
program=0xffbedbe4 "?\213\022\200?\212+ ", stack_depth=-23464712,
constants_data=0xfe99f1e4) at bytecode.c:748
#46 0x00055688 in funcall_compiled_function (fun=-23308476, nargs=2,
args=0x504f20) at bytecode.c:516
#47 0x0007edf8 in Ffuncall (nargs=2, args=0xffbedf20) at eval.c:3572
#48 0x0007f6c8 in run_hook_with_args_in_buffer (buf=0xfe8b3a40, nargs=3,
args=0xffbedf20, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4027
#49 0x0007ee68 in Ffuncall (nargs=3, args=0xffbedf1c) at eval.c:3558
#50 0x00055afc in execute_optimized_program (
program=0xffbedf1c
"?\213,`?\234WD?\212\234\220?\2135??\213\004p?\213:@?\213:@?\213:@",
stack_depth=-23436768, constants_data=0xfe9a5ef8) at bytecode.c:748
#51 0x00055688 in funcall_compiled_function (fun=-23298340, nargs=3,
args=0xfe901238) at bytecode.c:516
#52 0x0007e5c8 in Feval (form=-23616064) at eval.c:3392
#53 0x0007c4d0 in Fprogn (args=-23616052) at eval.c:775
#54 0x0007f518 in funcall_lambda (fun=-23616004, nargs=2, args=0xffbee350)
at eval.c:3863
#55 0x0007edb4 in Ffuncall (nargs=2, args=0xffbee34c) at eval.c:3580
#56 0x00055afc in execute_optimized_program (
program=0xffbee34c "?\227???\212\234`?\2135??\213:@?\213:@???????L",
stack_depth=2845696, constants_data=0x4b0110) at bytecode.c:748
#57 0x00055688 in funcall_compiled_function (fun=5341412, nargs=2,
args=0x54f180) at bytecode.c:516
#58 0x0007e5c8 in Feval (form=-23777284) at eval.c:3392
#59 0x0007ef14 in Ffuncall (nargs=519948, args=0x4) at eval.c:3536
#60 0x0007fa2c in call1 (fn=-24439904, arg0=-23777284) at eval.c:4190
#61 0x000b2ad8 in execute_command_event (command_builder=0x38c780,
event=4411860) at event-stream.c:3919
#62 0x000ae618 in Fdispatch_event (event=4411860) at event-stream.c:4258
#63 0x0005f3c0 in Fcommand_loop_1 () at cmdloop.c:583
#64 0x0007cd0c in condition_case_1 (handlers=3066076,
bfun=0x5f6dc <command_loop_1>, barg=-24430016, hfun=0x5f700 <cmd_error>,
harg=-24430016) at eval.c:1652
#65 0x0005f8d4 in command_loop_2 (dummy=-24430016) at cmdloop.c:256
#66 0x0007cbd4 in internal_catch (tag=-24607112,
func=0x5f894 <command_loop_2>, arg=-24430016, threw=0x0) at eval.c:1318
#67 0x0005f0a8 in initial_command_loop (load_me=391316) at cmdloop.c:305
#68 0x0007975c in xemacs_21_4_13_sparc_sun_solaris2_8 (argc=1, argv=0x1,
envp=0x18, restart=24) at emacs.c:2460
#69 0x0007aae0 in main (argc=1, argv=0xffbeec6c, envp=0xffbeec74)
at emacs.c:2892
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS leahy 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10
./configure '--prefix=/home/lelmore'
'--site-includes=/home/lelmore/include'
'--site-libraries=/home/lelmore/lib' '--pdump'
XEmacs 21.4.13 "Rational FORTRAN" configured for `sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /opt/local/src/xemacs-21.4.13
Installation prefix: /home/lelmore
Additional header files: /home/lelmore/include
Additional libraries: /home/lelmore/lib
Runtime library search path: /usr/ccs/lib:/home/lelmore/lib:/usr/openwin/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes
-Wsign-compare -Wshadow -Wpointer-arith
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/openwin/include
- X Windows libraries location: /usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
WARNING: -----------------------------------------------------------
WARNING: Compiling without XPM image support.
Reason: Xpm library version is too old!
WARNING: You should strongly consider installing XPM.
WARNING: Otherwise toolbars and other graphics will look suboptimal.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
Compiling in support for PNG images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/home/lelmore/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print
/home/lelmore/lib/xemacs/xemacs-packages/lisp/ps-print-nomule/ps-print)
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.52 :type single-file)
(xemacs-base:version 1.75 :type regular)
(w3:version 1.28 :type regular)
(view-process:version 1.12 :type regular)
(vc:version 1.37 :type regular)
(text-modes:version 1.6 :type single-file)
(texinfo:version 1.23 :type regular)
(strokes:version 1.08 :type regular)
(speedbar:version 1.26 :type regular)
(sounds-au:version 1.1 :type regular)
(slider:version 1.13 :type regular)
(sh-script:version 1.17 :type regular)
(semantic:version 1.17 :type regular)
(scheme:version 1.13 :type regular)
(ps-print-nomule:version 1.05 :type regular)
(ps-print:version 1.08 :type regular)
(prog-modes
:version
1
.67
:type
single-file)
(pcomplete:version 1.02 :type regular)
(pcl-cvs:version 1.64 :type regular)
(pc:version 1.25 :type single-file)
(os-utils:version 1.29 :type single-file)
(net-utils:version 1.28 :type single-file)
(misc-games:version 1.15 :type single-file)
(mine:version 1.14 :type regular)
(mail-lib:version 1.54 :type regular)
(ispell:version 1.24 :type regular)
(ilisp:version 1.28 :type regular)
(igrep:version 1.1 :type regular)
(games:version 1.13 :type regular)
(fsf-compat:version 1.11 :type single-file)
(frame-icon:version 1.09 :type regular)
(eterm:version 1.13 :type regular)
(emerge:version 1.09 :type regular)
(elib:version 1.1 :type single-file)
(eieio:version 1.03 :type regular)
(efs:version 1.29 :type regular)
(edit-utils:version 1.95 :type single-file)
(ediff:version 1.44 :type regular)
(edebug:version 1.14 :type regular)
(dired:version 1.12 :type regular)
(debug:version 1.16 :type regular)
(cc-mode:version 1.31 :type regular)
(calc:version 1.23 :type regular)
(c-support:version 1.16 :type single-file)
(apel:version 1.25 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 font disp-table paren
blink-paren byte-optimize bytecomp byte-compile advice advice-preload
show-temp-buffer gnuserv autorevert timer ruby-mode whitespace
pending-del pc-select font-lock cus-face xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads view-process-autoloads vc-autoloads
text-modes-autoloads texinfo-autoloads strokes-autoloads
speedbar-autoloads sounds-au-autoloads slider-autoloads
sh-script-autoloads semantic-autoloads scheme-autoloads
ps-print-nomule-autoloads ps-print-autoloads prog-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads misc-games-autoloads mine-autoloads
mail-lib-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
eterm-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
dired-autoloads debug-autoloads cc-mode-autoloads calc-autoloads
c-support-autoloads apel-autoloads lisp-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 gutter-items menubar-items x-menubar
mode-motion mouse itimer auto-save lisp-mode easymenu iso8859-1 page
buff-menu lib-complete help-nomule cus-file derived frame text-props
obsolete cus-start custom widget cl-extra mini-cl cl cl-19 packages
backquote very-early-lisp tooltalk lucid-scrollbars cut-buffer
lucid-menubars motif-dialogs x c-balloon-help tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar dbm md5 xemacs
gutter png gif xbm lisp-float-type usg-unix-v dialog devices
window-system base64)
Recent keystrokes:
-----------------
button1 button1up M-x r e p TAB o r t - x TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Loading font...done
Loading font...
Paren mode is paren
Loading paren...done
Loading paren...
Loading iCode...done
Loading iCode...
Loading byte-optimize...done
Loading byte-optimize...
Loading bytecomp...done
Loading bytecomp...
Loading advice...done
Loading advice...
Loading autorevert...done
Loading autorevert...
Loading whitespace.el...done
Loading whitespace.el...