>>>>> On Thu, 24 Feb 2000, Andy Piper <andy(a)xemacs.org> said:
Andy> Your compiler has inlined some stuff, so its difficult to see which object
Andy> its complaining about. Can you recompile glyphs.c with debugging on only
Andy> (no optimization) and get another stack trace.
I turned off the -O3 optimization altogether. Here's the backtrace:
#0 0x40288d61 in __kill () from /lib/libc.so.6
#1 0x8087f91 in fatal_error_signal (sig=6)
at /usr/local/src/xemacs-21.2-2000-02-24/src/emacs.c:272
#2 0x40288c98 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#3 0x4028a1c0 in abort () at ../sysdeps/generic/abort.c:88
#4 0x808aa28 in assert_failed (
file=0x820dde0 "/usr/local/src/xemacs-21.2-2000-02-24/src/glyphs.h", line=816,
expr=0x820de60 "RECORD_TYPEP (obj, lrecord_type_glyph)")
at /usr/local/src/xemacs-21.2-2000-02-24/src/emacs.c:2770
#5 0x80b2d3d in error_check_glyph (obj=137325984)
at /usr/local/src/xemacs-21.2-2000-02-24/src/glyphs.h:816
#6 0x81034c2 in text_query_geometry (image_instance=139893680, width=0xbffff1bc,
height=0xbffff1b8, disp=IMAGE_DESIRED_GEOMETRY, domain=142114528)
at /usr/local/src/xemacs-21.2-2000-02-24/src/glyphs.c:1998
#7 0x8102d1c in image_instance_layout (image_instance=139893680, width=4294967295,
height=4294967295, domain=142114528) at /usr/local/src/xemacs-21.2-2000-02-24/src/glyphs.c:1707
#8 0x8100150 in instantiate_image_instantiator (device=137415288, domain=142114528,
instantiator=141921608, pointer_fg=139512816, pointer_bg=139602584, dest_mask=-1,
glyph=137325984) at /usr/local/src/xemacs-21.2-2000-02-24/src/glyphs.c:615
#9 0x8105602 in image_instantiate (specifier=137326352, matchspec=136595532, domain=142114528,
instantiator=141921608, depth=3) at /usr/local/src/xemacs-21.2-2000-02-24/src/glyphs.c:2839
#10 0x808eff6 in call_with_suspended_errors_1 (opaque_arg=137297840)
at /usr/local/src/xemacs-21.2-2000-02-24/src/eval.c:2046
#11 0x808dd52 in internal_catch (tag=137284584, func=0x808ee9c <call_with_suspended_errors_1>,
arg=137297840, threw=0xbffff414) at /usr/local/src/xemacs-21.2-2000-02-24/src/eval.c:1304
#12 0x808f594 in call_with_suspended_errors (fun=0x81050ec <image_instantiate>, retval=136595532,
class=137097236, errb={
really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42}, nargs=5)
at /usr/local/src/xemacs-21.2-2000-02-24/src/eval.c:2157
#13 0x8181c66 in specifier_instance_from_inst_list (specifier=137326352, matchspec=136595532,
domain=142114528, inst_list=142137904, errb={
really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42}, no_quit=1, depth=3)
at /usr/local/src/xemacs-21.2-2000-02-24/src/specifier.c:2455
#14 0x8181fe6 in specifier_instance (specifier=137326352, matchspec=136595532, domain=142114528,
errb={really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42}, no_quit=1,
no_fallback=1, depth=3) at /usr/local/src/xemacs-21.2-2000-02-24/src/specifier.c:2564
#15 0x80dc091 in update_face_cachel_data (cachel=0xbffff5f4, domain=142114528, face=137325984)
at /usr/local/src/xemacs-21.2-2000-02-24/src/faces.c:1194
#16 0x80dcf68 in add_face_cachel (w=0x8787ee0, face=137325984)
---Type <return> to continue, or q <return> to quit---
at /usr/local/src/xemacs-21.2-2000-02-24/src/faces.c:1330
#17 0x80dd120 in get_builtin_face_cache_index (w=0x8787ee0, face=137325984)
at /usr/local/src/xemacs-21.2-2000-02-24/src/faces.c:1361
#18 0x80dd1d7 in reset_face_cachels (w=0x8787ee0)
at /usr/local/src/xemacs-21.2-2000-02-24/src/faces.c:1380
#19 0x81582bc in redisplay_window (window=142114528, skip_selected=0)
at /usr/local/src/xemacs-21.2-2000-02-24/src/redisplay.c:5936
#20 0x81593dc in redisplay_frame (f=0x8744620, preemption_check=0)
at /usr/local/src/xemacs-21.2-2000-02-24/src/redisplay.c:6410
#21 0x8159aee in redisplay_device (d=0x830ca78, automatic=1)
at /usr/local/src/xemacs-21.2-2000-02-24/src/redisplay.c:6518
#22 0x8159f1e in redisplay_without_hooks ()
at /usr/local/src/xemacs-21.2-2000-02-24/src/redisplay.c:6577
#23 0x815a1ca in redisplay () at /usr/local/src/xemacs-21.2-2000-02-24/src/redisplay.c:6634
#24 0x80c6d0e in Fnext_event (event=141568704, prompt=137097236)
at /usr/local/src/xemacs-21.2-2000-02-24/src/event-stream.c:2238
#25 0x806d4c4 in Fcommand_loop_1 () at /usr/local/src/xemacs-21.2-2000-02-24/src/cmdloop.c:566
#26 0x806d28f in command_loop_1 (dummy=137097236)
at /usr/local/src/xemacs-21.2-2000-02-24/src/cmdloop.c:490
#27 0x808e1b2 in condition_case_1 (handlers=137097332, bfun=0x806d268 <command_loop_1>,
barg=137097236, hfun=0x806ca94 <cmd_error>, harg=137097236)
at /usr/local/src/xemacs-21.2-2000-02-24/src/eval.c:1629
#28 0x806cbbb in command_loop_3 () at /usr/local/src/xemacs-21.2-2000-02-24/src/cmdloop.c:252
#29 0x806cbe3 in command_loop_2 (dummy=137097236)
at /usr/local/src/xemacs-21.2-2000-02-24/src/cmdloop.c:263
#30 0x808dd52 in internal_catch (tag=137169044, func=0x806cbd8 <command_loop_2>, arg=137097236,
threw=0x0) at /usr/local/src/xemacs-21.2-2000-02-24/src/eval.c:1304
#31 0x806ce18 in initial_command_loop (load_me=137097236)
at /usr/local/src/xemacs-21.2-2000-02-24/src/cmdloop.c:301
#32 0x808931d in xemacs_21_2_b31_i686_pc_linux (argc=1, argv=0xbffffbf4, envp=0xbffffbfc,
restart=0) at /usr/local/src/xemacs-21.2-2000-02-24/src/emacs.c:1879
#33 0x8089fbf in main (argc=1, argv=0xbffffbf4, envp=0xbffffbfc)
at /usr/local/src/xemacs-21.2-2000-02-24/src/emacs.c:2305
- vin