From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#29031: 25.3; Segmentation fault when starting emacs with my config Date: Mon, 30 Oct 2017 18:57:27 +0000 Message-ID: References: <83r2tkts1f.fsf@gnu.org> <83inewtqnc.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c07f0da4b404f055cc83640" X-Trace: blaine.gmane.org 1509389891 11151 195.159.176.226 (30 Oct 2017 18:58:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2017 18:58:11 +0000 (UTC) Cc: 29031@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 30 19:58:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9FG9-0002Fu-8s for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 19:58:05 +0100 Original-Received: from localhost ([::1]:42160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9FGG-0006eu-NC for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 14:58:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9FGB-0006ee-09 for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 14:58:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9FG6-0003Hd-BL for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 14:58:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33951) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9FG6-0003HZ-7J for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 14:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e9FG6-0003Gq-0l for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 14:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Oct 2017 18:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29031 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29031-submit@debbugs.gnu.org id=B29031.150938986512548 (code B ref 29031); Mon, 30 Oct 2017 18:58:01 +0000 Original-Received: (at 29031) by debbugs.gnu.org; 30 Oct 2017 18:57:45 +0000 Original-Received: from localhost ([127.0.0.1]:42632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9FFo-0003GJ-Pz for submit@debbugs.gnu.org; Mon, 30 Oct 2017 14:57:44 -0400 Original-Received: from mail-yw0-f182.google.com ([209.85.161.182]:46727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9FFn-0003G5-GM for 29031@debbugs.gnu.org; Mon, 30 Oct 2017 14:57:43 -0400 Original-Received: by mail-yw0-f182.google.com with SMTP id t71so12523751ywc.3 for <29031@debbugs.gnu.org>; Mon, 30 Oct 2017 11:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+QZbG+YIjGE1JYeal4gvn3tL0WRw9njK0X3rPVGHRVM=; b=Rjn11cyesAa+itCs7lQiBaIeGieTJ13bUDotnmq/o9kn8ubnhfNXXKleuyynNSTMO+ xfoyANXY2l2r6U2WIXRnP8TYQNeLEA473aYcctdSoCZiHd4AeqQQDGLwDDqsTUIQDLo0 zX5e4uagQTdAIIDwXt9qI7GGHDozTbdJ9iBph29pqqmNI7g6pbZtvswmqPcq3czSorBe WzGknfigohEJZ+JIYpFSCoZj77puwqkbg5afN264GoA7Xa30X/DrHv9Xvo2ncD7QA7pC wZ/k4HuvJudLVIguasVHcQXEwqjrGxEhumg4HouKgGSA9YWlmh9xA/OkhJxo68LLz+fZ Xu7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+QZbG+YIjGE1JYeal4gvn3tL0WRw9njK0X3rPVGHRVM=; b=C3/S6Vy0/26vbAZSiVqEjzIy1TfETfLEgSovHOu27EISlg2DhViODGKoGhJdW+dFIV bF58Gxw0R+KwYdIea2J2yGeD0pujv4lED2y8B0w9FpAnG82JO+cVD8TcEtZ5ins30tmS AfugQVEitmTNnG9e1KDXHC3pmcstoY6wAv/mh+/QfSzaMfx2eYdzHg1cwD/s7tEv0Z4v aZsVm6nx1Mqs0yX1bNDejpAAyEcTibIpUqn3EQxqCKlRzFKV+fehQkgYZRQNPLRualpD Wus11+MbADX3CrcV/hF1XKp9PLQ9N6wEVqGbcU54W5/gX/6ql3n7fj6WZJHSQpLBjlQ+ Oabw== X-Gm-Message-State: AMCzsaV59Z6UMhUbTp4aKy3Sp8XpK/CELoQgA7t5xUNlHTcjBFtekpo7 YeLm1T7AQvu9MB3698rljaOZW84lk/FyNw+IVIo= X-Google-Smtp-Source: ABhQp+SarpI29ARtVEQnmB6KC9Ln/ljDvBQrIQTAc6kgKwgPJh3yEYAfu4H738zEbswM5MIQhaL5COvTC90cCJnZIi8= X-Received: by 10.37.218.136 with SMTP id n130mr6294809ybf.447.1509389857666; Mon, 30 Oct 2017 11:57:37 -0700 (PDT) In-Reply-To: <83inewtqnc.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:139200 Archived-At: --94eb2c07f0da4b404f055cc83640 Content-Type: text/plain; charset="UTF-8" On Mon, Oct 30, 2017 at 2:52 PM Eli Zaretskii wrote: > > From: Kaushal Modi > > Date: Mon, 30 Oct 2017 18:34:22 +0000 > > Cc: 29031@debbugs.gnu.org > > > > (gdb) p glyph > > $1 = (struct glyph *) 0x8f > > (gdb) p glyph->charpos > > Cannot access memory at address 0x8f > > So the problematic data is 'glyph'. What do the following print? > > (gdb) p it->area > (gdb) p it->glyph_row > (gdb) p it->glyph_row->used[area] > (gdb) p it->area $3 = TEXT_AREA (gdb) p it->glyph_row $4 = (struct glyph_row *) 0xe487f0 (gdb) p it->glyph_row->used[area] $5 = 0 -- Kaushal Modi --94eb2c07f0da4b404f055cc83640 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Oct 30= , 2017 at 2:52 PM Eli Zaretskii <eliz@gn= u.org> wrote:
> From: Kau= shal Modi <k= aushal.modi@gmail.com>
> Date: Mon, 30 Oct 2017 18:34:22 +0000
> Cc: 29031@d= ebbugs.gnu.org
>
> (gdb) p glyph
> $1 =3D (struct glyph *) 0x8f
> (gdb) p glyph->charpos
> Cannot access memory at address 0x8f

So the problematic data is 'glyph'.=C2=A0 What do the following pri= nt?

=C2=A0 (gdb) p it->area
=C2=A0 (gdb) p it->glyph_row
=C2=A0 (gdb) p it->glyph_row->used[area]

(gdb) p it->area
$3 =3D TEXT_AREA
(gdb) p it= ->glyph_row
$4 =3D (struct glyph_row *) 0xe487f0
(gd= b) p it->glyph_row->used[area]
$5 =3D 0=C2=A0
--

Kaushal Modi

--94eb2c07f0da4b404f055cc83640--