From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29031: 25.3; Segmentation fault when starting emacs with my config Date: Mon, 30 Oct 2017 20:22:04 +0200 Message-ID: <83r2tkts1f.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1509387804 13099 195.159.176.226 (30 Oct 2017 18:23:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2017 18:23:24 +0000 (UTC) Cc: 29031@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 30 19:23:21 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 1e9EiN-0002CT-PV for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 19:23:11 +0100 Original-Received: from localhost ([::1]:42044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9EiT-00061G-EF for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 14:23:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9EiH-0005zc-5b for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 14:23:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9EiE-0004ii-05 for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 14:23:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9EiD-0004iY-St for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 14:23:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e9EiD-0002Lp-MJ for bug-gnu-emacs@gnu.org; Mon, 30 Oct 2017 14:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Oct 2017 18:23: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.15093877528995 (code B ref 29031); Mon, 30 Oct 2017 18:23:01 +0000 Original-Received: (at 29031) by debbugs.gnu.org; 30 Oct 2017 18:22:32 +0000 Original-Received: from localhost ([127.0.0.1]:42564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9Ehk-0002L0-Hh for submit@debbugs.gnu.org; Mon, 30 Oct 2017 14:22:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9Ehi-0002Kk-N9 for 29031@debbugs.gnu.org; Mon, 30 Oct 2017 14:22:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9Eha-0004Pb-9U for 29031@debbugs.gnu.org; Mon, 30 Oct 2017 14:22:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9Eha-0004PV-6G; Mon, 30 Oct 2017 14:22:22 -0400 Original-Received: from [176.228.60.248] (port=3827 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e9EhZ-0002Dc-HQ; Mon, 30 Oct 2017 14:22:22 -0400 In-reply-to: (message from Kaushal Modi on Mon, 30 Oct 2017 14:17:57 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:139190 Archived-At: > From: Kaushal Modi > Date: Mon, 30 Oct 2017 14:17:57 +0000 > Cc: Eli Zaretskii > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x000000000043d101 in append_glyph (it=0x7fffffff2390) at xdisp.c:25880 Line 25880 of xdisp.c is this: glyph->charpos = CHARPOS (it->position); So what is the problematic data here? Is 'glyph' a NULL pointer or something? Or is 'it' a garbled pointer? What do these commands show: (gdb) p glyph (gdb) p glyph->charpos (gdb) p it->position Basically, I need you to run this under a debugger and answer several questions. Bonus points for reproducing this in an unoptimized build configured with --enable-checking='yes,glyphs', and then showing the backtrace from the segfault. IOW, this problem needs to be debugged, and for that we need data that explains the crash. Could you please help in collecting that data? Thanks.