From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yair F Newsgroups: gmane.emacs.bugs Subject: bug#6621: Emacs crash when trying to report emacs crash Date: Tue, 13 Jul 2010 21:29:20 +0300 Message-ID: References: <83d3urshi9.fsf@gnu.org> <834og3s1r0.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279047628 28604 80.91.229.12 (13 Jul 2010 19:00:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Jul 2010 19:00:28 +0000 (UTC) Cc: 6621@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 13 21:00:24 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OYkiO-0003AU-5I for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 21:00:24 +0200 Original-Received: from localhost ([127.0.0.1]:56166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYkiN-0002US-Gb for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Jul 2010 15:00:23 -0400 Original-Received: from [140.186.70.92] (port=42157 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYkiG-0002Sc-BL for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 15:00:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYkiE-0005sh-RY for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 15:00:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52897) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYkiE-0005sd-Or for bug-gnu-emacs@gnu.org; Tue, 13 Jul 2010 15:00:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OYkKn-0006T8-Vn; Tue, 13 Jul 2010 14:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yair F Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Jul 2010 18:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6621-submit@debbugs.gnu.org id=B6621.127904613724818 (code B ref 6621); Tue, 13 Jul 2010 18:36:01 +0000 Original-Received: (at 6621) by debbugs.gnu.org; 13 Jul 2010 18:35:37 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYkKO-0006SB-QY for submit@debbugs.gnu.org; Tue, 13 Jul 2010 14:35:37 -0400 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYkKM-0006Rj-40 for 6621@debbugs.gnu.org; Tue, 13 Jul 2010 14:35:34 -0400 Original-Received: by wyb40 with SMTP id 40so4360388wyb.3 for <6621@debbugs.gnu.org>; Tue, 13 Jul 2010 11:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5oLga2l7RNHZ9jJGv5xUaCZnPhWPrzCgp187I260amY=; b=k4J+V09F0tNUEi7qGRhjkc8AXQsc+tWYIiijvSVvvJWHJrmcz166FuFrUGG8AMpYJx iSmHr2dk9nbe1sMVjHgYKl0XCvGpL/XkoAl74aeQtEY37UcfIcwH4OFdkCe4Ci+nc3Ag LbS4sVJM+pQKBr0O/FfJeno73Uo+sLnf23WcU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=W53978GDjKuuURsLQsu8G095iSoJQFCK70nGxHdtfNaHvDsAoAOqT4JPL+Va8h8Xrg 5UceMLVvGEZ+Dmm14CJGKggGtEVTtR0oj8t75GIVY3261DA8BHe4l9tzAaTsi2aQU1fO es4KZMCiBRYN5bavsaZzwGSlbCoVlgD5iwVOw= Original-Received: by 10.227.137.136 with SMTP id w8mr14573464wbt.100.1279045760193; Tue, 13 Jul 2010 11:29:20 -0700 (PDT) Original-Received: by 10.216.166.7 with HTTP; Tue, 13 Jul 2010 11:29:20 -0700 (PDT) In-Reply-To: <834og3s1r0.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 13 Jul 2010 14:36:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38492 Archived-At: On Tue, Jul 13, 2010 at 8:57 PM, Eli Zaretskii wrote: >> Date: Tue, 13 Jul 2010 19:15:33 +0300 >> From: Yair F >> Cc: 6621@debbugs.gnu.org >> >> (gdb) frame 7 >> #7 =A00x0809c519 in get_next_display_element (it=3D0xbfffc338) at xdisp.= c:6051 >> 6051 =A0 =A0 =A0 =A0 =A0 =A0 =A0it->face_id =3D FACE_FOR_CHAR (it->f, fa= ce, it->c, >> pos, it->string); >> (gdb) pit >> cur=3D150[276] pos=3D150[276] start=3D128[235] end=3D3160 stop=3D3160 fa= ce=3D13 MB >> ch=3D[4195671,2] >> vpos=3D6 hpos=3D15 y=3D102 lvy=3D561 x=3D98 vx=3D0-640 w=3D0 a+d=3D13+4= =3D17 max=3D13+4=3D17 > > Strange. =A0Looks like the iterator indeed loaded this value 4195671 > somehow. =A0But it claims that the character took 2 bytes, which is > correct for HET, but incorrect for such large values. =A0Perhaps > Handa-san will have ideas. > I found a shorter way to reproduce the problem : 1. start with emacs -Q 2. create a buffer 3. paste the first 7 lines from the file *without the newline* 4. while at EOB press enter Emacs is now at a strange state: the cursor does not go to a new line as expected, but C-x=3D reports column=3D0. going back to point 149 make the cursor inv= isible Pressing return again crashes emacs with the flowing trace: Breakpoint 1, abort () at emacs.c:430 430 kill (getpid (), SIGABRT); (gdb) bt #1 0x0809cd6b in set_iterator_to_next (it=3D0xbfffdee4, reseat_p=3D1) at xdisp.c:6254 #2 0x0809ced6 in set_iterator_to_next (it=3D0xbfffdee4, reseat_p=3D1) at xdisp.c:6301 #3 0x080c5db2 in display_line (it=3D0xbfffdee4) at xdisp.c:17764 #4 0x080af796 in redisplay_internal (preserve_echo_area=3D0) at xdisp.c:11= 855 #5 0x080acac9 in redisplay () at xdisp.c:11267 #6 0x0823d4bb in read_char (commandflag=3D1, nmaps=3D2, maps=3D0xbfffea70, prev_event=3D142115250, used_mouse_menu=3D0xbfffebc4, end_time=3D0x0) at keyboard.c:2544 #7 0x08250b39 in read_key_sequence (keybuf=3D0xbfffec7c, bufsize=3D30, prompt=3D142115250, dont_downcase_last=3D0, can_return_switch_frame=3D1, fix_current_buffer=3D1) at keyboard.c:9326 #8 0x0823a9ae in command_loop_1 () at keyboard.c:1618 #9 0x08307493 in internal_condition_case (bfun=3D0x823a105 , handlers=3D142145978, hfun=3D0x8239812 ) at eval.c:1463 #10 0x08239d08 in command_loop_2 (ignore=3D142115250) at keyboard.c:1341 #11 0x08306ecd in internal_catch (tag=3D142144098, func=3D0x8239ce4 , arg=3D142115250) at eval.c:1207 #12 0x08239cc2 in command_loop () at keyboard.c:1320 #13 0x08238f1a in recursive_edit_1 () at keyboard.c:943 #14 0x08239436 in Frecursive_edit () at keyboard.c:1005 #15 0x0823709b in main (argc=3D2, argv=3D0xbffff3d4) at emacs.c:1778 Pasting the buffer without the Dagesh (05BC) and then pressing retun causes emacs to react normally. I suspect some Dagesh-EOL interaction here.