>>>> "AP" == Andy Piper <andyp(a)bea.com>
writes:
AP> Try replacing the face mark with this:
AP> mark_object (i->u.subwindow.face);
sorry, need a bit more help..... is this in glyphs.c ? which function?
is this what you're referring to?
static Lisp_Object
mark_glyph (Lisp_Object obj)
{
Lisp_Glyph *glyph = XGLYPH (obj);
mark_object (glyph->image);
mark_object (glyph->contrib_p);
mark_object (glyph->baseline);
mark_object (glyph->face); <------- here?
return glyph->plist;
}
AP> Thanks
AP> andy
AP> At 07:16 PM 6/15/00 -0400, Jeff Miller wrote:
>>>>>> "JM" == Jeff Miller
<jmiller(a)cablespeed.com> writes:
>
> This exact crash has repeated on me, doing the exact same thing,
> composing an email in vm.
>
> jeff
>
>
JM> Program received signal SIGSEGV, Segmentation fault.
JM> 0x8132fd9 in image_instance_parent_glyph (ii=0x9001598) at glyphs.c:1341
JM> 1341 if (IMAGE_INSTANCEP (IMAGE_INSTANCE_PARENT (ii)))
JM> (gdb)
>
>
JM> i get the XtRemoveGrab messages whenever i close a frame, i.e. send an
JM> email.
>
JM> I did a "where" and get this
JM> #0 0x8132fd9 in image_instance_parent_glyph (ii=0x9001598) at
AP> glyphs.c:1341
JM> #1 0x8132fe4 in image_instance_parent_glyph (ii=0x9001f70) at
AP> glyphs.c:1344
JM> #2 0x81262a9 in mark_image_instance (obj=151002992) at glyphs.c:784
JM> #3 0x8083ed9 in mark_object (obj=151002992) at alloc.c:2500
JM> #4 0x80819e8 in mark_cons (obj=147492696) at alloc.c:877
JM> #5 0x8083ed9 in mark_object (obj=147492696) at alloc.c:2500
JM> #6 0x80dcd60 in mark_widget_value_mapper (val=0x8e11a10, closure=0x0)
AP> at gui-x.c:70
JM> #7 0x81df98a in lw_map_widget_values (id=66403, mapfunc=0x80dcd4c
AP> <mark_widget_value_mapper>, closure=0x0)
JM> at lwlib.c:446
JM> #8 0x80dcd41 in mark_popup_data (obj=151004664) at gui-x.c:90
JM> #9 0x8083ed9 in mark_object (obj=147488124) at alloc.c:2500
JM> #10 0x80819e8 in mark_cons (obj=147487788) at alloc.c:877
JM> #11 0x8083ed9 in mark_object (obj=147335012) at alloc.c:2500
JM> #12 0x80853c2 in garbage_collect_1 () at alloc.c:3449
JM> #13 0x80b82dc in Feval (form=137298940) at eval.c:2938
JM> #14 0x80bd6c6 in Fprogn (args=137535972) at eval.c:768
JM> #15 0x80ae9f0 in Fsave_excursion (args=137535972) at editfns.c:400
JM> #16 0x80b85b1 in Feval (form=137298928) at eval.c:2986
JM> #17 0x80b994e in funcall_lambda (fun=137537544, nargs=0,
AP> args=0xbfffebe8) at eval.c:768
JM> #18 0x80b91ab in Ffuncall (nargs=1, args=0xbfffebe4) at eval.c:3257
JM> #19 0x80b88a2 in Feval (form=140180536) at eval.c:3040
JM> #20 0x80b860b in Feval (form=140180524) at eval.c:3002
JM> #21 0x80bdb18 in Fand (args=140180512) at eval.c:663
JM> #22 0x80b85b1 in Feval (form=140180476) at eval.c:2986
JM> #23 0x80bda8d in For (args=140180464) at eval.c:644
JM> #24 0x80b85b1 in Feval (form=140180416) at eval.c:2986
JM> #25 0x80b4e77 in Fif (args=140280800) at eval.c:683
JM> #26 0x80b85b1 in Feval (form=140180404) at eval.c:2986
JM> #27 0x80b5519 in FletX (args=140180392) at eval.c:768
JM> #28 0x80b85b1 in Feval (form=140180080) at eval.c:2986
JM> #29 0x80b994e in funcall_lambda (fun=140226592, nargs=0,
AP> args=0xbffff2b8) at eval.c:768
JM> #30 0x80b8c00 in Feval (form=140179192) at eval.c:3120
JM> #31 0x80b4e8b in Fif (args=140179180) at eval.c:684
JM> #32 0x80b85b1 in Feval (form=140179156) at eval.c:2986
JM> #33 0x80b994e in funcall_lambda (fun=140179588, nargs=0,
AP> args=0xbffff5fc) at eval.c:768
JM> #34 0x80b91ab in Ffuncall (nargs=1, args=0xbffff5f8) at eval.c:3257
JM> #35 0x80b9c93 in run_hook_with_args_in_buffer (buf=0x8f3abe0, nargs=1,
AP> args=0xbffff5f8,
JM> cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3700
JM> #36 0x80bc7d7 in run_hook_with_args (nargs=1, args=0xbffff5f8,
AP> cond=RUN_HOOKS_TO_COMPLETION) at eval.c:3713
JM> #37 0x80be2ad in catch_them_squirmers_run_hook (hook_symbol=137055420)
AP> at eval.c:3567
JM> #38 0x80ba63e in safe_run_hook_trapping_errors (
JM> warning_string=0x821a320 "Error in `post-command-hook' (setting
AP> hook to nil)", hook_symbol=137055420,
JM> allow_quit=1) at eval.c:1640
JM> #39 0x80f1f87 in post_command_hook () at event-stream.c:3932
JM> #40 0x80f1d21 in execute_command_event (command_builder=0x8498690,
AP> event=140221840) at event-stream.c:3841
JM> #41 0x80f279c in Fdispatch_event (event=140221840) at event-stream.c:4157
JM> #42 0x809b65d in Fcommand_loop_1 () at cmdloop.c:579
JM> #43 0x809b890 in command_loop_1 (dummy=136965764) at cmdloop.c:494
JM> #44 0x80bd3ba in condition_case_1 (handlers=136965860, bfun=0x809b858
AP> <command_loop_1>, barg=136965764,
>
>
>
AP>
--------------------------------------------------------------
AP> Dr Andy Piper
AP> Principal Consultant, BEA Systems Ltd