all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jordi Gutiérrez Hermoso" <jordigh@octave.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 11653@debbugs.gnu.org
Subject: bug#11653: 23.2; Segfault with csv-mode
Date: Wed, 13 Jun 2012 10:32:00 -0400	[thread overview]
Message-ID: <CAPHS2gzh1GmgHBggRC39kyBf--bOAkbNvtRfcFckEs46oL6bXw@mail.gmail.com> (raw)
In-Reply-To: <831ulpvglh.fsf@gnu.org>

On 8 June 2012 13:49, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Fri, 8 Jun 2012 12:29:46 -0400
>> From: Jordi Gutiérrez Hermoso <jordigh@octave.org>
>>
>> (1) Load the following csv-mode.el:
>>
>>     http://jordi.platinum.linux.pl/emacs-bug/csv-mode.el
>>
>> (2) Open the following csv file:
>>
>>     http://jordi.platinum.linux.pl/emacs-bug/foo.csv
>>
>> (3) Align all fields: C-x h C-c C-a
>>
>> (4) Attempt to sort them: M-x csv-sort-fields <RET>
>>
>> In Emacs 23, this incurred an immediate crash. At bzr revno: 108512,
>> after attempting to move the point a little (C-e, C-a, C-p, C-n, maybe
>> C-g), I obtained the following stack trace:
>>
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x0000000000438b03 in handle_face_prop (it=0x7fffffffb0c0) at xdisp.c:3693
>> 3693          = (it->current.overlay_string_index >= 0
>
> I cannot reproduce this with today's trunk (revision 108257).

I can reproduce it quite reliably. I'm not sure I'm at the correct
revision, but I just tried this again at revno 108581 with the same
results.

I tried 108257 (which seems to be from May 17? Not "today"?), and also
got the same result. It seems to take a little while for the segfault
to occur. Trying a few motion keys (C-n, C-e, C-a) seems to trigger it
for me.

>> (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
      },
      dpvec_index = -1
    }

Thank you for your interest,
- Jordi G. H.





  reply	other threads:[~2012-06-13 14:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 16:29 bug#11653: 23.2; Segfault with csv-mode Jordi Gutiérrez Hermoso
2012-06-08 17:49 ` Eli Zaretskii
2012-06-13 14:32   ` Jordi Gutiérrez Hermoso [this message]
2012-06-13 15:45     ` Eli Zaretskii
2012-06-13 16:12       ` Jordi Gutiérrez Hermoso
2012-06-13 16:28         ` Eli Zaretskii
2012-06-15 18:13         ` Eli Zaretskii
2012-06-15 18:30           ` Eli Zaretskii
2012-06-16 10:28             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPHS2gzh1GmgHBggRC39kyBf--bOAkbNvtRfcFckEs46oL6bXw@mail.gmail.com \
    --to=jordigh@octave.org \
    --cc=11653@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.