Subject: bug#17771: 24.3.91; SIGSEGV in cleanup_vector

From: Stephen Berman <[email-masked]>
Date: Fri, 13 Jun 2014 15:53:35 +0200

On Fri, 13 Jun 2014 16:44:39 +0300 Eli Zaretskii <[email-masked]> wrote:

>> From: Stephen Berman <[email-masked]>
>> Cc: [email-masked]
>> Date: Fri, 13 Jun 2014 15:34:12 +0200
>> 
>> On Fri, 13 Jun 2014 16:28:54 +0300 Eli Zaretskii <[email-masked]> wrote:
>> 
>> >> From: Stephen Berman <[email-masked]>
>> >> Cc: [email-masked]
>> >> Date: Fri, 13 Jun 2014 14:39:42 +0200
>> >> 
>> >> Program received signal SIGSEGV, Segmentation fault.
>> >> 0x00000000005aa564 in cleanup_vector (vector=0x413c318)
>> >>     at ../../../../bzr/emacs/emacs-24/src/alloc.c:2929
>> >> 2929          ((struct font *) vector)->driver->close ((struct font *) vector);
>> >> (gdb) p vector
>> >> $1 = (struct Lisp_Vector *) 0x413c318
>> >> (gdb) p vector->driver
>> >> There is no member named driver.
>> >> (gdb) p vector->driver->close
>> >> There is no member named driver.
>> >
>> >  (gdb) p ((struct font *) vector)->driver
>> >  (gdb) p ((struct font *) vector)->driver->close
>> 
>> (gdb) p ((struct font *) vector)->driver
>> $4 = (struct font_driver *) 0x0
>> (gdb) p ((struct font *) vector)->driver->close
>> Cannot access memory at address 0x40
>
> IOW, the font driver is NULL.

Could that be due to my typing `C-g'?  If I don't do that, the file does
get displayed.  But `C-g' shouldn't make Emacs crash.  Do you see what
the problem is, or can I provide further information?

Steve Berman