So I can't reproduce this on RH 7.0, so maybe there is something extra in
your environment. I started XEmacs -vanilla and then brought up the file
and switched on font-lock. Is there anything else I should do?
andy
At 03:57 PM 5/7/01 -0400, James LewisMoss wrote:
>>>>> On Mon, 07 May 2001 09:41:23 -0700, Andy Piper
<andyp(a)bea.com> said:
Andy> If you can send me a file that crashes XEmacs when font-locked
Andy> that would be swell. I should be able to nail it then.
So far it's been a directory listing that I've found to crash it.
I'll try to find a file as well. Kewl. Just found one. Between the
----s
-----------------------------------------------------------------
#include <limits.h>
#include <stdio.h>
int main (void)
{
unsigned long msize = 64;
if (msize != 0 && ((msize - 1) > (2147483647L * 2UL + 1)))
fprintf (stderr, "test FAILED\n");
exit (0);
}
-----------------------------------------------------------------
Andy> Can you also print the contents of w.
(gdb) up
#1 0x8172886 in GaugeExpose (w=0x8642480, event=0xbfffddec,
region=0x8428208) at xlwgauge.c:425
425 XDrawLine(dpy,win,gctop, e0+1,y, e1-1,y) ;
(gdb) print *w
$1 = {core = {self = 0x8642480, widget_class = 0x81a7fe0, parent =
0x8642138, xrm_name = 1131, being_destroyed = 0 '\000', destroy_callbacks
= 0x8647260, constraints = 0x0, x = 0, y = 0, width = 250, height = 24,
border_width = 1, managed = 1 '\001', sensitive = 1 '\001',
ancestor_sensitive = 1 '\001', event_table = 0x0, tm = {translations =
0x8642468, proc_table = 0x84e9038, current_state = 0x0, lastEventTime =
0}, accelerators = 0x0, border_pixel = 0, border_pixmap = 2, popup_list =
0x0, num_popups = 0, name = 0x83f38d7 "Progress", screen = 0x845ef08,
colormap = 32, window = 20971708, depth = 16, background_pixel = 25388,
background_pixmap = 2, visible = 1 '\001', mapped_when_managed = 1
'\001'}}
(gdb) info locals
gw = 0x8642480
dpy = (Display *) 0x83e43c0
win = 20971708
gc = 0x66200008
gctop = 0x66200008
gcbot = 0x66200008
len = 20971708
e0 = 9848
e1 = -9599
x = 135735124
y = 64469
i = 0
v0 = 0
v1 = 100
value = 0
(gdb) info args
w = 0x8642480
event = (XEvent *) 0xbfffddec
region = 0x8428208
(gdb)
Again I just loaded the elisp from the last message (actually missing
the last few related to dired). Then I opened the file. and did M-x
font-lock-mode and it crashed. I an still see the two boxes in the
box at the bottom of the screen. It says "Fontifying
ulong-test.c...".
Thanks
Jim
--
@James LewisMoss <dres(a)debian.org> | Blessed Be!
@
http://jimdres.home.mindspring.com | Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach