From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11653: 23.2; Segfault with csv-mode Date: Wed, 13 Jun 2012 19:28:48 +0300 Message-ID: <83vcivxjjz.fsf@gnu.org> References: <831ulpvglh.fsf@gnu.org> <83395zz048.fsf@gnu.org> Reply-To: Eli Zaretskii 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 1339604978 17497 80.91.229.3 (13 Jun 2012 16:29:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2012 16:29:38 +0000 (UTC) Cc: 11653@debbugs.gnu.org To: Jordi =?UTF-8?Q?Guti=C3=A9rrez?= Hermoso Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 13 18:29:36 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 1SeqRl-0002rA-Ns for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jun 2012 18:29:29 +0200 Original-Received: from localhost ([::1]:42207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeqRl-0001hd-Ek for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jun 2012 12:29:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeqRa-0001gc-Bh for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 12:29:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeqRV-0002wJ-Kw for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 12:29:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeqRV-0002wD-Hl for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 12:29:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SeqUD-0004N1-HR for bug-gnu-emacs@gnu.org; Wed, 13 Jun 2012 12:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jun 2012 16:32:01 +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.133960509616760 (code B ref 11653); Wed, 13 Jun 2012 16:32:01 +0000 Original-Received: (at 11653) by debbugs.gnu.org; 13 Jun 2012 16:31:36 +0000 Original-Received: from localhost ([127.0.0.1]:41149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeqTn-0004MF-CF for submit@debbugs.gnu.org; Wed, 13 Jun 2012 12:31:35 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:39133) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SeqTk-0004M6-T8 for 11653@debbugs.gnu.org; Wed, 13 Jun 2012 12:31:34 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M5K00I00DQHVF00@a-mtaout20.012.net.il> for 11653@debbugs.gnu.org; Wed, 13 Jun 2012 19:28:34 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5K00IIFDRMOB50@a-mtaout20.012.net.il>; Wed, 13 Jun 2012 19:28:34 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:60944 Archived-At: > Date: Wed, 13 Jun 2012 12:12:33 -0400 > From: Jordi Guti=C3=A9rrez Hermoso > Cc: 11653@debbugs.gnu.org >=20 > >> =C2=A0 =C2=A0 =C2=A0 overlay_string_index =3D 1935, =C2=A0 <<<<<= <<<<<<<<<<<<<<<<<< > >> =C2=A0 =C2=A0 =C2=A0 string_pos =3D { > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 charpos =3D 0, > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 bytepos =3D 0 > > > > Are there this many overlay strings in the buffer at character > > position 1? =C2=A0If not, this huge number is probably garbage, a= nd is the > > cause for the segfault. >=20 > I don't understand Emacs internals. What's an overlay string, and h= ow > do I count it? It's an overlay with a before-string or an after-string property. Yo= u should be able to see that with "M-x describe-text-properties RET", I think, as well as in the code of the mode you are using. > > Btw, when I tried your recipe, Emacs asked me about the column to= sort > > by, which was not in your recipe. =C2=A0Can you double-check if y= our recipe > > is 100% correct and does not omit any important details? >=20 > I thought the handled it for me, because the function > csv-sort-fields queries you for a value. Yes, the default of 1 is > what's necessary. OK, I will try the recipe again when I have time.