From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jordi =?UTF-8?Q?Guti=C3=A9rrez?= Hermoso Newsgroups: gmane.emacs.bugs Subject: bug#11653: 23.2; Segfault with csv-mode Date: Wed, 13 Jun 2012 10:32:00 -0400 Message-ID: References: <831ulpvglh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1339597957 19340 80.91.229.3 (13 Jun 2012 14:32:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2012 14:32:37 +0000 (UTC) Cc: 11653@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 13 16:32:34 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Seoca-00040q-7o for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jun 2012 16:32:32 +0200 Original-Received: from localhost ([::1]:35806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Seoca-0003TZ-3Y for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jun 2012 10:32:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeocR-00038r-B8 for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 10:32:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeocJ-0000lp-Hy for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 10:32:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeocJ-0000lM-Bh for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 10:32:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Seof0-0000oH-UN for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 10:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jordi =?UTF-8?Q?Guti=C3=A9rrez?= Hermoso Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jun 2012 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11653 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11653-submit@debbugs.gnu.org id=B11653.13395980953087 (code B ref 11653); Wed, 13 Jun 2012 14:35:02 +0000 Original-Received: (at 11653) by debbugs.gnu.org; 13 Jun 2012 14:34:55 +0000 Original-Received: from localhost ([127.0.0.1]:40982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Seoes-0000nj-KW for submit@debbugs.gnu.org; Wed, 13 Jun 2012 10:34:55 -0400 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]:52912) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Seoeq-0000nc-14 for 11653@debbugs.gnu.org; Wed, 13 Jun 2012 10:34:53 -0400 Original-Received: by yhq56 with SMTP id 56so567487yhq.3 for <11653@debbugs.gnu.org>; Wed, 13 Jun 2012 07:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YQ7mfCk91Ds/VHyGwkvXnSBiNRZYk/JC0vFxfgha42w=; b=TOTyioK64eArZAJAUfy+NPhnE5Qd2P4Vxrx48+XPJTrcF4JFrCroesnPWCyYZVJvfR Zb/8pXZrW73TFAX7y2/7d0n/GhqON35vvtbQLv7RgcD119hXKmb4d8vOgeuDgJQ+Z0zZ R8CEphmJNwhnb6pxDNx9CRiDFAQeFt4vO7I0Iq9aJUUymzIJAOLQTP6XdHP99weW/Cg8 q9PkiSS7yu8KPeK0Yyr4tO1W1pmJlh7od+53Btj6aqHisuQ8tZuTZOrS284gEkZLtgBh o/kN9D79dYfV/gL+bB7QeqA/+8Q2QtfRKqPMUT2W6UDj+jwplGwRfSmBQVSKh0c7aUb9 uUUQ== Original-Received: by 10.50.41.226 with SMTP id i2mr10959503igl.4.1339597920968; Wed, 13 Jun 2012 07:32:00 -0700 (PDT) Original-Received: by 10.231.105.72 with HTTP; Wed, 13 Jun 2012 07:32:00 -0700 (PDT) In-Reply-To: <831ulpvglh.fsf@gnu.org> X-Google-Sender-Auth: TlODinfS7a1ilXbj7zir0s-70l4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60936 Archived-At: On 8 June 2012 13:49, Eli Zaretskii wrote: >> Date: Fri, 8 Jun 2012 12:29:46 -0400 >> From: Jordi Guti=C3=A9rrez Hermoso >> >> (1) Load the following csv-mode.el: >> >> =C2=A0 =C2=A0 http://jordi.platinum.linux.pl/emacs-bug/csv-mode.el >> >> (2) Open the following csv file: >> >> =C2=A0 =C2=A0 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 >> >> 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=3D0x7fffffffb0c0) at xdisp.c:= 3693 >> 3693 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D (it->current.overlay_string_i= ndex >=3D 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 =C2=A00x0000000000438b03 in handle_face_prop (it=3D0x7fffffffb0c0) 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=3D0x7fffffffb180) at xdisp.c= :3689 3689 =3D (it->current.overlay_string_index >=3D 0 (gdb) p it->current $1 =3D { pos =3D { charpos =3D 1, bytepos =3D 1 }, overlay_string_index =3D 1935, string_pos =3D { charpos =3D 0, bytepos =3D 0 }, dpvec_index =3D -1 } Thank you for your interest, - Jordi G. H.