From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#17539: 24.3.91; SIGSEGV due to move_it_in_display_line_to Date: Wed, 21 May 2014 11:57:18 +0200 Message-ID: <87sio31mkh.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1400666307 11553 80.91.229.3 (21 May 2014 09:58:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 May 2014 09:58:27 +0000 (UTC) To: 17539@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 21 11:58:21 2014 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 1Wn3Hw-0006Wm-Jy for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 May 2014 11:58:20 +0200 Original-Received: from localhost ([::1]:58400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn3Hw-00073e-9L for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 May 2014 05:58:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn3Hm-0006qL-Nz for bug-gnu-emacs@gnu.org; Wed, 21 May 2014 05:58:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn3Hf-0002bq-0w for bug-gnu-emacs@gnu.org; Wed, 21 May 2014 05:58:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn3He-0002bc-UK for bug-gnu-emacs@gnu.org; Wed, 21 May 2014 05:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wn3He-0002qm-Fx for bug-gnu-emacs@gnu.org; Wed, 21 May 2014 05:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 May 2014 09:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17539 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140066627310936 (code B ref -1); Wed, 21 May 2014 09:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 May 2014 09:57:53 +0000 Original-Received: from localhost ([127.0.0.1]:54981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wn3HU-0002qI-5X for submit@debbugs.gnu.org; Wed, 21 May 2014 05:57:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39836) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wn3HR-0002px-EX for submit@debbugs.gnu.org; Wed, 21 May 2014 05:57:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn3HF-0002Y2-P0 for submit@debbugs.gnu.org; Wed, 21 May 2014 05:57:43 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn3HF-0002Xy-Lo for submit@debbugs.gnu.org; Wed, 21 May 2014 05:57:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn3HA-0006i9-0m for bug-gnu-emacs@gnu.org; Wed, 21 May 2014 05:57:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wn3H4-0002UC-Dv for bug-gnu-emacs@gnu.org; Wed, 21 May 2014 05:57:31 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:5373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wn3H4-0002QH-8r for bug-gnu-emacs@gnu.org; Wed, 21 May 2014 05:57:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsIABJ3fFOkD4Xn/2dsb2JhbABZg1eqNQEFBgWCXgFWgwOVG3SDPSQ0AYkMARQNoGmQZ5xxAYcShVWCAItABI89ijGBPYUXhEGID4M6Ow Original-Received: from pno-math-231.ulb.ac.be (HELO LDLC-portable) ([164.15.133.231]) by smtp.ulb.ac.be with ESMTP; 21 May 2014 11:57:20 +0200 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:89311 Archived-At: Hello, This is a crash using csv-mode.el which is available from elpa. Here's how I reproduce (assuming csv-mode is installed) : $ emacs -Q -f package-initialize ~/tmp/test.csv At this point the file visiting buffer is in csv-mode. I then hit C-c C-a to align fields, then C-v a few times, M-v a few more times, and I promptly get a crash. The file test.csv weighs 11k, so I make it available online at http://pastie.org/pastes/9195319/text The crash seems to not happen if the frame is too big (i.e. when I maximize the frame in gnome before testing), but it happens using -nw. Here's the gdb backtrace : Starting program: /mnt/gentoo-home/youngfrog/sourcetrees/emacs-git/src/emacs -Q -f package-initialize ~/tmp/test.csv [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [New Thread 0xb611ab40 (LWP 19541)] [New Thread 0xb558cb40 (LWP 19542)] [New Thread 0xb4bffb40 (LWP 19543)] Program received signal SIGSEGV, Segmentation fault. move_it_in_display_line_to (it=it@entry=0xbfffe038, to_charpos=to_charpos@entry=1980, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:8401 8401 { #0 move_it_in_display_line_to (it=it@entry=0xbfffe038, to_charpos=to_charpos@entry=1980, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:8401 #1 0x0807ca89 in move_it_in_display_line_to (it=it@entry=0xbfffe038, to_charpos=to_charpos@entry=1980, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:8896 [snip the duplicate lines] #940 0x0807ca89 in move_it_in_display_line_to (it=it@entry=0xbfffe038, to_charpos=to_charpos@entry=1980, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:8896 #941 0x0807ca89 in move_it_in_display_line_to (it=it@entry=0xbfffe038, to_charpos=to_charpos@entry=1, to_x=to_x@entry=-1, op=op@entry=MOVE_TO_POS) at xdisp.c:8896 #942 0x08083276 in move_it_to (it=it@entry=0xbfffe038, to_charpos=1, to_x=to_x@entry=-1, to_y=to_y@entry=-1, to_vpos=to_vpos@entry=-1, op=op@entry=8) at xdisp.c:9156 #943 0x080a9e6e in window_scroll_pixel_based (window=window@entry=141492053, n=n@entry=1, whole=whole@entry=true, noerror=noerror@entry=0) at window.c:5119 #944 0x080adacd in window_scroll (window=141492053, n=, n@entry=1, whole=whole@entry=true, noerror=noerror@entry=0) at window.c:4839 #945 0x080adde8 in scroll_command (n=n@entry=138869698, direction=direction@entry=1) at window.c:5390 #946 0x080ade01 in Fscroll_up (arg=138869698) at window.c:5411 #947 0x0818bcf0 in Ffuncall (nargs=2, args=0xbfffe9f4) at eval.c:2815 #948 0x081be81b in exec_byte_code (bytestr=1980, vector=1980, maxdepth=-1073747472, args_template=138869698, nargs=nargs@entry=0, args=0x2) at bytecode.c:916 #949 0x0818b78d in funcall_lambda (fun=136952765, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0xbfffebc4) at eval.c:3049 #950 0x0818bac3 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0xbfffebc0) at eval.c:2876 #951 0x08188271 in Fcall_interactively (function=139030170, record_flag=138869698, keys=138878541) at callint.c:836 #952 0x0818bcc9 in Ffuncall (nargs=4, args=0xbfffed0c) at eval.c:2822 #953 0x081be81b in exec_byte_code (bytestr=1980, vector=1980, maxdepth=-1073746692, args_template=args_template@entry=4100, nargs=nargs@entry=1, args=0x4) at bytecode.c:916 #954 0x0818b80e in funcall_lambda (fun=137226917, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0xbfffeeac) at eval.c:2983 #955 0x0818bac3 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0xbfffeea8) at eval.c:2876 #956 0x0818be57 in call1 (fn=138896218, arg1=139030170) at eval.c:2614 #957 0x0812b3d7 in command_loop_1 () at keyboard.c:1559 #958 0x0818a283 in internal_condition_case (bfun=bfun@entry=0x812b0b0 , handlers=138902842, hfun=hfun@entry=0x8122970 ) at eval.c:1354 #959 0x0811e3e5 in command_loop_2 (ignore=138869698) at keyboard.c:1177 #960 0x0818a1b3 in internal_catch (tag=138900890, func=func@entry=0x811e3c0 , arg=138869698) at eval.c:1118 #961 0x081225e2 in command_loop () at keyboard.c:1156 #962 recursive_edit_1 () at keyboard.c:777 #963 0x081228c1 in Frecursive_edit () at keyboard.c:848 #964 0x08058038 in main (argc=, argv=0xbffff154) at emacs.c:1646 Cannot access memory at address 0xbf7ff88f Kill the program being debugged? (y or n) quit In GNU Emacs 24.3.91.1 (i686-pc-linux-gnu, GTK+ Version 2.24.20) of 2014-05-13 on LDLC-portable Windowing system distributor `The X.Org Foundation', version 11.0.11406000 System Description: Ubuntu 13.10 Important settings: value of $LANG: fr_BE.UTF-8 locale-coding-system: utf-8-unix -- Nico.