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#6621: Emacs crash when trying to report emacs crash Date: Wed, 14 Jul 2010 11:32:09 +0300 Message-ID: <83pqyqqx9y.fsf@gnu.org> References: <83d3urshi9.fsf@gnu.org> <834og3s1r0.fsf@gnu.org> Reply-To: Eli Zaretskii 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 1279098113 8526 80.91.229.12 (14 Jul 2010 09:01:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2010 09:01:53 +0000 (UTC) Cc: 6621@debbugs.gnu.org To: Yair F Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 14 11:01:48 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 1OYxqb-0005B9-FM for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jul 2010 11:01:45 +0200 Original-Received: from localhost ([127.0.0.1]:45000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYxqa-0000ed-QF for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jul 2010 05:01:44 -0400 Original-Received: from [140.186.70.92] (port=56533 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYxpD-0008KB-PB for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 05:00:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYxpB-0003ZZ-4v for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 05:00:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35816) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYxpB-0003ZP-1G for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 05:00:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OYxQj-0002Sl-Pv; Wed, 14 Jul 2010 04:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jul 2010 08:35: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.12790964439456 (code B ref 6621); Wed, 14 Jul 2010 08:35:01 +0000 Original-Received: (at 6621) by debbugs.gnu.org; 14 Jul 2010 08:34:03 +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 1OYxPn-0002ST-BG for submit@debbugs.gnu.org; Wed, 14 Jul 2010 04:34:03 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYxPl-0002S7-LU for 6621@debbugs.gnu.org; Wed, 14 Jul 2010 04:34:02 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L5J00A00H1NH400@a-mtaout21.012.net.il> for 6621@debbugs.gnu.org; Wed, 14 Jul 2010 11:34:08 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.120.144]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5J0086TH4VMS80@a-mtaout21.012.net.il>; Wed, 14 Jul 2010 11:34:08 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 14 Jul 2010 04:35: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:38507 Archived-At: > Date: Tue, 13 Jul 2010 21:29:20 +0300 > From: Yair F > Cc: Kenichi Handa , 6621@debbugs.gnu.org >=20 > 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) a= t xdisp.c:6051 > >> 6051 =A0 =A0 =A0 =A0 =A0 =A0 =A0it->face_id =3D FACE_FOR_CHAR (i= t->f, face, it->c, > >> pos, it->string); > >> (gdb) pit > >> cur=3D150[276] pos=3D150[276] start=3D128[235] end=3D3160 stop= =3D3160 face=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 4195= 671 > > 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. > > >=20 > 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 li= ne > as expected, > but C-x=3D reports column=3D0. going back to point 149 make the cu= rsor invisible >=20 > 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 My Emacs is not compiled with -DENABLE_CHECKING, so the assert triggered here is a no-op for me, and Emacs works for me just fine with this recipe. I will build with -DENABLE_CHECKING and try again, but until I do, could you please show the output of the`pit' command in frame #1? Also, in the same frame #1, what do these commands show: (gdb) pgrowx it->glyph_row (gdb) prowlims it->glyph_row (gdb) pmtxrows it->w->desired_matrix Finally, does the problem persist if you turn off auto-composition-mode before pasting the text?