From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#15575: 24.3.50; New tty menus crash Emacs Date: Wed, 9 Oct 2013 20:20:33 +0200 Message-ID: <18226F5E-6C35-4DD0-AD21-255DD7FF7551@swipnet.se> References: <7A5C065F-4E90-4846-80EE-650AF314DCB2@swipnet.se> <83a9iiqr49.fsf@gnu.org> <5D661800-C7B5-495B-BF9D-F2E1F16C9B93@swipnet.se> <27D25540-245D-4328-9F1D-096816B9ABAC@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381344678 1104 80.91.229.3 (9 Oct 2013 18:51:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 18:51:18 +0000 (UTC) Cc: 15575@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 20:51:21 2013 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 1VTyqu-0003gr-CE for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 20:51:20 +0200 Original-Received: from localhost ([::1]:43371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyqt-0004KA-NJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 14:51:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyqk-0004DN-8B for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 14:51:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTyqe-0007gy-9z for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 14:51:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyqe-0007en-2n for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 14:51:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VTyNc-0003o2-AS for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 14:21:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2013 18:21:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15575 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15575-submit@debbugs.gnu.org id=B15575.138134284014579 (code B ref 15575); Wed, 09 Oct 2013 18:21:04 +0000 Original-Received: (at 15575) by debbugs.gnu.org; 9 Oct 2013 18:20:40 +0000 Original-Received: from localhost ([127.0.0.1]:38317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTyNC-0003n4-JY for submit@debbugs.gnu.org; Wed, 09 Oct 2013 14:20:39 -0400 Original-Received: from mail01.bdtv.se ([176.10.222.34]:52113) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1VTyN8-0003ms-Mm for 15575@debbugs.gnu.org; Wed, 09 Oct 2013 14:20:35 -0400 Original-Received: (qmail 25571 invoked by uid 89); 9 Oct 2013 18:20:33 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.bdtv.se with ESMTPA; 9 Oct 2013 18:20:33 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id C2D381A0188; Wed, 9 Oct 2013 18:20:33 +0000 (UTC) In-Reply-To: <27D25540-245D-4328-9F1D-096816B9ABAC@swipnet.se> X-Mailer: Apple Mail (2.1510) 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:79110 Archived-At: Hello. Values from Fedora 19: $1 =3D 5056 $2 =3D 268 $3 =3D 0 $4 =3D (struct glyph *) 0x0 $5 =3D (struct glyph *) 0x2011 $6 =3D (struct glyph *) 0x14f4330 $7 =3D 5056 $8 =3D 268 $9 =3D 0 $10 =3D (struct glyph *) 0x0 $11 =3D (struct glyph *) 0x3b400 $12 =3D (struct glyph *) 0x3e640 $13 =3D 48 $14 =3D 5324 $15 =3D 0 Jan D. 9 okt 2013 kl. 20:17 skrev Jan Dj=E4rv : > Hello. >=20 > FWIW, I get the same crash on Fedora 19. >=20 > Jan D. >=20 > 9 okt 2013 kl. 19:58 skrev Jan Dj=E4rv : >=20 >> Hello. >>=20 >> 9 okt 2013 kl. 19:41 skrev Eli Zaretskii : >>=20 >>>> From: Jan Dj=E4rv >>>> Date: Wed, 9 Oct 2013 19:05:30 +0200 >>>>=20 >>>> Hello. >>>>=20 >>>> Starting emacs with -Q -nw and then press F10 gives a crash: >>>>=20 >>>> Program received signal EXC_BAD_ACCESS, Could not access memory. >>>> Reason: KERN_INVALID_ADDRESS at address: 0x000000000002fe21 >>>> 0x00007fff8a1cb20d in memmove$VARIANT$sse3x () >>>> #0 0x00007fff8a1cb207 in memmove$VARIANT$sse3x () >>>> #1 0x00000001000484bc in deep_copy_glyph_row (to=3D0x10383ae00, = from=3D0x10383c600) at /Users/jhd/src/emacs/current/src/xdisp.c:20619 >>>=20 >>> Can you tell the values of the following, after stopping at line >>> 20617 of xdisp.c: >>>=20 >>> from->used[0] >>> from->used[1] >>> from->used[2] >>> from->glyphs[0] >>> from->glyphs[1] >>> from->glyphs[2] >>> to->used[0] >>> to->used[1] >>> to->used[2] >>> to->glyphs[0] >>> to->glyphs[1] >>> to->glyphs[2] >>> sizeof(struct glyph) >>> sum_used >>> i >>>=20 >>=20 >> (gdb) p from->used[0] >> $1 =3D 30065 >> (gdb) p from->used[1] >> $2 =3D 26977 >> (gbd) p from->used[2] >> $3 =3D 12140 >> $4 =3D (struct glyph *) 0x10403bc00 >> (gdb) p from->glyphs[1] >> $5 =3D (struct glyph *) 0x10403bbe8 >> (gdb) p from->glyphs[2] >> $6 =3D (struct glyph *) 0x102a1f548 >> (gdb) p to->used[0] >> $7 =3D 4 >> (gdb) p to->used[1] >> $8 =3D 0 >> (gdb) p to->used[2] >> $9 =3D 0 >> (gdb) p to->glyphs[0] >> $10 =3D (struct glyph *) 0x4 >> (gdb) p to->glyphs[1] >> $11 =3D (struct glyph *) 0x4 >> (gdb) p to->glyphs[2] >> $12 =3D (struct glyph *) 0x4 >> (gdb) p sizeof(struct glyph) >> $13 =3D 48 >> (gdb) p sum_used >> $14 =3D 86334 >> (gdb) p i >> $15 =3D 3969 >>=20 >> These values vary if run again. Here is another run: >>=20 >> $1 =3D 12346 >> $2 =3D 384 >> $3 =3D 1 >> $4 =3D (struct glyph *) 0x3000000000000088 >> $5 =3D (struct glyph *) 0x100f11e21 >> $6 =3D (struct glyph *) 0x10180300a >> $7 =3D 12346 >> $8 =3D 384 >> $9 =3D 1 >> $10 =3D (struct glyph *) 0x104033e00 >> $11 =3D (struct glyph *) 0x1040c48e0 >> $12 =3D (struct glyph *) 0x1040c90e0 >> $13 =3D 48 >> $14 =3D 12731 >> $15 =3D 0 >>=20 >>=20 >> Jan D. >>=20 >>=20 >>=20 >=20