Subject: bug#15405: 24.3; #[] freezes emacs

From: Stephen Berman <[email-masked]>
Date: Wed, 18 Sep 2013 19:57:39 +0200

On Wed, 18 Sep 2013 19:26:50 +0300 Eli Zaretskii <[email-masked]> wrote:

>> From: Stephen Berman <[email-masked]>
>> Cc: Barry OReilly <[email-masked]>,  [email-masked],  [email-masked]
>> Date: Wed, 18 Sep 2013 17:41:42 +0200
>> 
>> #1  0x00000000005d15e9 in font_delete_unmatched (vec=9179653, spec=19000077, 
>>     size=0) at /data/steve/bzr/emacs/quickfixes/src/font.c:2624
>>         entity = 12809621
>>         val = 12612338
>>         prop = 32767
>>         i = 201326591
>
> Can you show the value of vec, as a Lisp vector, and in particular its
> size?  If the value of i is indeed that large, there's something
> strange happening in that loop.
>
> The value zero of the argument 'size' also looks strange.

In case the followup by Barry OReilly didn't already give you what you
need to know, are these the values you asked for, or if not, how do I
show them?

(gdb) f 1
#1  0x00000000005d15e9 in font_delete_unmatched (vec=9179653, spec=18992085, 
    size=0) at /data/steve/bzr/emacs/quickfixes/src/font.c:2624
2624          entity = AREF (vec, i);
(gdb) p vec
$1 = 9179653
(gdb) pr
#[]
(gdb) p i
$2 = 201326591
(gdb) pr
#<INVALID_LISP_OBJECT 0x0bffffff>
(gdb) p ASIZE (vec)
$3 = 4611686018628714496
(gdb) pr
1152921504657178624

Steve Berman