I'm suspicious of my text instantiation changes, but I don't understand why
this has only just started happening. Have you updated from CVS since b31
or was b32 your first update?
Can you break on the line that sets cachel (glyphs.c:1963 in my build) and
see what the domain actually is (i.e. is it a window?). What happens if you
insert this code from faces.c before WINDOW_FACE_CACHEL is accessed:
struct window *w = XWINDOW (domain);
/* #### It's possible for this function to get called when the
face cachels have not been initialized. I don't know why. */
if (!Dynarr_length (w->face_cachels))
reset_face_cachels (w);
Thank
andy
At 03:15 PM 3/21/00 +0900, SL Baur wrote:
The attached configurations also crash immediately before creating an
X frame. Here is a C stack backtrace: (it crashes on the same line
in the noMule build)
#0 ensure_face_cachel_contains_charset (cachel=0x0, domain=140801432,
charset=137849936) at /local/devel/xemacs-21.2/src/faces.c:1035
#1 0x813231e in ensure_face_cachel_complete (cachel=0x0, domain=140801432,
charsets=0xbfffe728 "") at /local/devel/xemacs-21.2/src/faces.c:1119
#2 0x81547f9 in query_string_geometry (string=140315556, face=137315044,
width=0xbfffe844, height=0xbfffe848, descent=0xbfffe7f8,
domain=140801432)
at /local/devel/xemacs-21.2/src/glyphs.c:1961
#3 0x8154abf in text_query_geometry (image_instance=141052184,
width=0xbfffe844, height=0xbfffe848, disp=IMAGE_DESIRED_GEOMETRY,
domain=140801432) at /local/devel/xemacs-21.2/src/glyphs.c:2028
#4 0x81545e4 in image_instance_layout (image_instance=141052184,
width=4294967295, height=4294967295, domain=140801432)
at /local/devel/xemacs-21.2/src/glyphs.c:1735
#5 0x8151d9a in instantiate_image_instantiator (device=140153264,
domain=140801432, instantiator=140774544, pointer_fg=140809760,
pointer_bg=140884632, dest_mask=-1, glyph=137839904)
at /local/devel/xemacs-21.2/src/glyphs.c:617
#6 0x8156844 in image_instantiate (specifier=137840272,
matchspec=136899340,
domain=141041280, instantiator=140774544, depth=3)
at /local/devel/xemacs-21.2/src/glyphs.c:2877
#7 0x80c3f01 in call_with_suspended_errors_1 (opaque_arg=137532072)
at /local/devel/xemacs-21.2/src/eval.c:2108
#8 0x80c4206 in call_with_suspended_errors (
fun=0x8156344 <image_instantiate>, retval=136899340, class=137436452,
errb={
really_unlikely_name_to_have_accidentally_in_a_non_errb_structure =
42},
nargs=5) at /local/devel/xemacs-21.2/src/eval.c:1310
#9 0x81c5b85 in specifier_instance_from_inst_list (specifier=137840272,
matchspec=136899340, domain=141041280, inst_list=138259756, errb={
really_unlikely_name_to_have_accidentally_in_a_non_errb_structure =
42},
no_quit=1, depth=3) at
/local/devel/xemacs-21.2/src/specifier.c:2457
#10 0x81c5ef7 in specifier_instance (specifier=137840272,
matchspec=136899340,
domain=141041280, errb={
really_unlikely_name_to_have_accidentally_in_a_non_errb_structure =
42},
no_quit=1, no_fallback=1, depth=1)
at /local/devel/xemacs-21.2/src/specifier.c:2572
#11 0x812f8ea in update_face_cachel_data (cachel=0xbfffec2c,
domain=141041280,
face=137839904) at /local/devel/xemacs-21.2/src/faces.c:1194
#12 0x8130385 in get_builtin_face_cache_index (w=0x8681e80, face=137839904)
at /local/devel/xemacs-21.2/src/faces.c:1330
#13 0x8132504 in reset_face_cachels (w=0x8681e80)
at /local/devel/xemacs-21.2/src/faces.c:1381
#14 0x8147d76 in Fmake_frame (props=137315044, device=140153264)
at /local/devel/xemacs-21.2/src/frame.c:423
#15 0x80c67ac in Ffuncall (nargs=3, args=0xbffff0a8)
at /local/devel/xemacs-21.2/src/eval.c:3218
#16 0x8098d49 in execute_optimized_program (
program=0x8601d20 "@ \210A ?$B-.B\(B013D
\"$B,\(B037$BE\(B016\006\016\a\"\026\b$BI\(B016\006$BB\(B016\nK
\"@\"\211\026\f\026\r$BN\(B016\006!\026\006$BO\(B016\020!\210$BQ\(B211
\023\207/\b$B|B(B/\b4OI\bX", stack_depth=5, constants_data=0x84173d0)
at /local/devel/xemacs-21.2/src/bytecode.c:747
#17 0x809898f in funcall_compiled_function (fun=138498236, nargs=0,
args=0xbffff1fc) at /local/devel/xemacs-21.2/src/bytecode.c:519
#18 0x80c694f in Ffuncall (nargs=1, args=0xbffff1f8)
at /local/devel/xemacs-21.2/src/eval.c:3253
#19 0x8098d49 in execute_optimized_program (
program=0x86059e0
"\bA\031$BBC(B\034\035$BF\(Bt!\021$BGH(B!$B+\(B004I
\210\016\n$B+\(B020\016\013$B,\(Bf$BLMN\(B016\n!$BOQ(B! \210P
\210*Q \210R \210r$BST(B!q\210U
\210$BVW(B!\210\016\030$BYa+\(B005\016\032 \210)[ $B\a+\(BbK
$B,\(B004] \210^ \210$BW\(B026\037K $B-\(B004$B`C(B!)\207a\001",
stack_depth=4, constants_data=0x84a28f0)
at /local/devel/xemacs-21.2/src/bytecode.c:747
#20 0x809898f in funcall_compiled_function (fun=138997468, nargs=0,
args=0xbffff34c) at /local/devel/xemacs-21.2/src/bytecode.c:519
#21 0x80c694f in Ffuncall (nargs=1, args=0xbffff348)
at /local/devel/xemacs-21.2/src/eval.c:3253
#22 0x8098d49 in execute_optimized_program (
program=0x83c36d8 "\b$B+\(B005$BAB(B!\207$BC\(B020D
\211\035$B+\(B030\rG\016\006GW$B+\(B020$BG\(B016\006!$BG\(Br!k$B+\
(B006$BH\(Br!\026\006)$BI\(B016\006!\026\006J \210K
\210\016\f$B.\(Ba$BMN(B!$B-\(B002$BC\(B036\f$BO\(B016\020\016\021\
"\026\022\016\f$B+\(Bn$BSTU\(B016\022\"$BV\(B"\210\016\022$B,\(B006W
\210$B*\(B016$BX\(B016\022\016\031\016\032\016\e\016\f%\210\
\210)\016\035$B,\(B022\016\036$B+\(B016$B_`a\(B016\"!\016\036\"$BcC(
B#\210\016\035$B,\(B024\016\032$B,\(B006$Bd\(B016%!\210$Bd\(B016&!\2
10$Bd\(B016'!\210$Bh\(B216i )\207", stack_depth=7,
constants_data=0x84a1f48)
at /local/devel/xemacs-21.2/src/bytecode.c:747
#23 0x809898f in funcall_compiled_function (fun=138997412, nargs=0,
args=0xbffff404) at /local/devel/xemacs-21.2/src/bytecode.c:519
#24 0x80c607e in Feval (form=138872236)
at /local/devel/xemacs-21.2/src/eval.c:3077
#25 0x80cbf06 in condition_case_1 (handlers=137315140, bfun=0x80c54a4
<Feval>,
barg=138872236, hfun=0x80a68a0 <cmd_error>, harg=137315044)
at /local/devel/xemacs-21.2/src/eval.c:1644
#26 0x80a6927 in top_level_1 (dummy=137315044)
at /local/devel/xemacs-21.2/src/cmdloop.c:202
#27 0x80cbdcc in internal_catch (tag=137389164, func=0x80a68f8
<top_level_1>,
arg=137315044, threw=0x0) at
/local/devel/xemacs-21.2/src/eval.c:1310
#28 0x80a5c6b in initial_command_loop (load_me=137315044)
at /local/devel/xemacs-21.2/src/cmdloop.c:281
#29 0x80bf4f8 in sort_args (argc=2, argv=0xbffff854)
at /local/devel/xemacs-21.2/src/emacs.c:1873
#30 0x80c150f in main (argc=2, argv=0xbffff854, envp=0xbffff860)
at /local/devel/xemacs-21.2/src/emacs.c:2292
#31 0x403984be in __libc_start_main (main=0x80c1410 <main>, argc=2,
argv=0xbffff854, init=0x8083aa0 <_init>, fini=0x8224a40 <_fini>,
rtld_fini=0x4000a130 <_dl_fini>, stack_end=0xbffff84c)
at ../sysdeps/generic/libc-start.c:90
[ *** Stack backtrace made from this XEmacs *** ]
uname -a: Linux
musashimaru.m17n.org 2.2.13-23 #1 Mon Feb 14 18:26:01 JST
2000 i686
unknown
../xemacs-21.2/configure '--srcdir=../xemacs-21.2'
'--site-prefixes=/usr/local/pgsql' '--with-mule'
'--error-checking=all'
'--debug=yes' '--extra-verbose=no' '--verbose=no' '--cflags=-g
-O3'
XEmacs 21.2-b32 "Kastor & Polydeukes" configured for `i686-pc-linux'.
Where should the build process find the source code?
/local/devel/xemacs-21.2
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
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? no
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 prefixes: /usr/local/pgsql
Athena library to link: Xaw
Athena header include path: X11/Xaw
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 Enlightened Sound Daemon (ESD).
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
Using PostgreSQL V7 bindings.
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 Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena native widgets.
Using Athena dialog boxes.
Compiling in dynamic shared object 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: ---------------------------------------------------------
----------------------------------------------------------------------
uname -a: Linux
musashimaru.m17n.org 2.2.13-23 #1 Mon Feb 14 18:26:01 JST
2000 i686
unknown
../xemacs-21.2/configure '--srcdir=../xemacs-21.2'
'--site-prefixes=/usr/local/pgsql' '--with-mule'
'--error-checking=all'
'--debug=yes' '--extra-verbose=no' '--verbose=no'
'--with-xfs' '--cflags=-g
-O3'
XEmacs 21.2-b32 "Kastor & Polydeukes" configured for `i686-pc-linux'.
Where should the build process find the source code?
/local/devel/xemacs-21.2
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
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? no
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 prefixes: /usr/local/pgsql
Athena library to link: Xaw
Athena header include path: X11/Xaw
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 Enlightened Sound Daemon (ESD).
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
Using PostgreSQL V7 bindings.
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.
Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena native widgets.
Using Athena dialog boxes.
Compiling in dynamic shared object 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: ---------------------------------------------------------
----------------------------------------------------------------------
uname -a: Linux
musashimaru.m17n.org 2.2.13-23 #1 Mon Feb 14 18:26:01 JST
2000 i686
unknown
../xemacs-21.2/configure '--srcdir=../xemacs-21.2'
'--site-prefixes=/usr/local/pgsql' '--without-widgets'
'--with-mule'
'--error-checking=all' '--debug=yes' '--extra-verbose=no'
'--verbose=no'
'--with-xfs' '--cflags=-g -O3'
XEmacs 21.2-b32 "Kastor & Polydeukes" configured for `i686-pc-linux'.
Where should the build process find the source code?
/local/devel/xemacs-21.2
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
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? no
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 prefixes: /usr/local/pgsql
Athena library to link: Xaw
Athena header include path: X11/Xaw
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 Enlightened Sound Daemon (ESD).
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
Using PostgreSQL V7 bindings.
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.
Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in dynamic shared object 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: ---------------------------------------------------------
----------------------------------------------------------------------
uname -a: Linux
musashimaru.m17n.org 2.2.13-23 #1 Mon Feb 14 18:26:01 JST
2000 i686
unknown
../xemacs-21.2/configure '--srcdir=../xemacs-21.2'
'--site-prefixes=/usr/local/pgsql' '--without-widgets'
'--error-checking=none' '--debug=no' '--extra-verbose=no'
'--verbose=no'
'--cflags=-g -O3'
XEmacs 21.2-b32 "Kastor & Polydeukes" configured for `i686-pc-linux'.
Where should the build process find the source code?
/local/devel/xemacs-21.2
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
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? no
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 prefixes: /usr/local/pgsql
Athena library to link: Xaw
Athena header include path: X11/Xaw
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 Enlightened Sound Daemon (ESD).
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
Using PostgreSQL V7 bindings.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in support for proper WM_COMMAND handling.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in dynamic shared object module support.
movemail will use "dot-locking" for locking mail spool files.
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd