Raymond Toy <toy(a)rtp.ericsson.se> writes:
I just got a crash while editing in the minibuf, too. :-(
I was doing a filename completion, and had just pressed tab when the
crash occurred.
The back trace (shown in part below), is very similar to Karl's:
Hmm. It seems to be a very real problem:
#7 0x18f364 in bufpos_to_bytind (buf=0x430c00, x=0) at buffer.h:986
x is a Bufpos so it should never ever be 0.
I am not sure whether the new wordskipping logic in syntax.c is
correct (it might contain a off by one error). However this code
should never ever be reached if from = 1 and count = -1 as from
already is the lowest possible value!
Could you check the value of 'limit' in this frame?
#8 0x2249fc in scan_words (buf=0x430c00, from=1, count=-1) at
#syntax.c:427
If limit is 0 above somebody has screwed up the BUF_BEGV of the
minibuffer.
That would then be the real problem the scan_words change is just
exposing it.
Jan