Subject: bug#16223: 24.3.50; Segfault in search.c

From: Nicolas Richard <[email-masked]>
Date: Mon, 23 Dec 2013 17:25:43 +0100

Eli Zaretskii <[email-masked]> writes:
> Seems some kind of memory corruption, otherwise I cannot understand
> how come translating an opening parenthesis via case translation table
> could segfault.

The machine was under heavy load at that moment, if that helps.

>
>> (gdb) p trt
>> $1 = 140997549
>> (gdb) xtype
>> Lisp_Vectorlike
>> PVEC_CHAR_TABLE
>> (gdb) p c
>> $2 = 40
>
> Can you do this and show the results:
>
>  (gdb) p trt
>  (gdb) xchartable

Here it is:

(gdb) p trt
$5 = 140997549
(gdb) xchartable
$6 = (struct Lisp_Char_Table *) 0x86773a8
Purpose: "case-table"  3 extra slots

-- 
Nicolas