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

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

bug#11653: 23.2; Segfault with csv-mode


From: Jordi Gutiérrez Hermoso
Subject: bug#11653: 23.2; Segfault with csv-mode
Date: Wed, 13 Jun 2012 12:12:33 -0400

On 13 June 2012 11:45, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Wed, 13 Jun 2012 10:32:00 -0400
>> From: Jordi Gutiérrez Hermoso <jordigh@octave.org>
>> Cc: 11653@debbugs.gnu.org
>>
>> >> (gdb) bt
>> >> #0  0x0000000000438b03 in handle_face_prop (it=0x7fffffffb0c0) at 
>> >> xdisp.c:3693
>> >
>> > In frame 0, can you show what does the following GDB command print?
>>
>> Sure thing:
>>
>>     Program received signal SIGSEGV, Segmentation fault.
>>     0x0000000000438649 in handle_face_prop (it=0x7fffffffb180) at 
>> xdisp.c:3689
>>     3689              = (it->current.overlay_string_index >= 0
>>     (gdb) p it->current
>>     $1 = {
>>       pos = {
>>         charpos = 1,
>>         bytepos = 1
>>       },
>>       overlay_string_index = 1935,   <<<<<<<<<<<<<<<<<<<<<<<
>>       string_pos = {
>>         charpos = 0,
>>         bytepos = 0
>
> Are there this many overlay strings in the buffer at character
> position 1?  If not, this huge number is probably garbage, and is the
> cause for the segfault.

I don't understand Emacs internals. What's an overlay string, and how
do I count it?

> Btw, when I tried your recipe, Emacs asked me about the column to sort
> by, which was not in your recipe.  Can you double-check if your recipe
> is 100% correct and does not omit any important details?

I thought the <RET> handled it for me, because the function
csv-sort-fields queries you for a value. Yes, the default of 1 is
what's necessary.

Thanks again,
- Jordi G. H.





reply via email to

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