bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20703: 24.4; Stack overflow in regexp matcher


From: Dmitry Gutov
Subject: bug#20703: 24.4; Stack overflow in regexp matcher
Date: Mon, 1 Jun 2015 21:45:13 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

Please keep the bug address in Cc.

On 06/01/2015 09:03 PM, lee wrote:

What if you try `M-x find-tag'?

That works.

What if you type `M-x find-tag TAB' (to ask Emacs for all available tags)?

I cut off roughly the bottom half of the TAGS file and tried again. With
that, I'm getting the error when progress is at 85% instead of
42%. Cutting off the bottom half again, leaving about 1/4 of the
original file, does not yield an error and says no matching tags were
found.

The idea was to split the file in half, and do a sort of binary search. E.g., try cutting off the top half in the first step now.

So I guess the problem might have to do with the size of the TAGS file
...

Not necessarily. The TAGS file is parsed sequentially, without recursion in the Lisp code.

In all likelihood, there is a problematic line around 42% of the original TAGS, and the error goes away when that line is not in the file anymore.

We need to know that line to fix the bug.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]