Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

segfault with 21.4.6/cygwin, setup.exe distribution, re_match_2_internal

0 views
Skip to first unread message

Henry S. Thompson

unread,
Jan 8, 2002, 10:28:17 AM1/8/02
to
h...@cogsci.ed.ac.uk (Henry S. Thompson) writes:

> I'm getting a segfault during fontification, when
> re_search_2 calls re_match_2_internal at offset 1016
>
> I'm running cygwin 1.3.6-6.
>
> This is the same fault I hit with 21.4.5.
>
> Doesn't happen with 21.4.3.

A more attentive check shows that fontification of the crash-provoking
file under 21.4.3 provokes an abort! Modest work with edebug does not
reveal any way of finding how the abort is being raised. . . ah, if I
edit out the condition-case in font-lock-default-fontify-buffer, I see

File mode specification error: (error "Stack overflow in regexp matcher")

So it seems possible that under 21.4.5 and .6, under cygwin, (some)
stack overflows cause a segfault --- does this help localise the
problem?

ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: h...@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/

0 new messages