From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Compro Prasad Newsgroups: gmane.emacs.bugs Subject: bug#34206: Pdumper giving a segfault Date: Mon, 28 Jan 2019 17:49:39 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="83539"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34206@debbugs.gnu.org To: Daniel Colascione Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 28 13:21:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1go5uf-000LXh-0P for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 13:21:17 +0100 Original-Received: from localhost ([127.0.0.1]:58923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go5ue-00011d-0n for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 07:21:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go5uW-00011J-8O for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 07:21:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go5uT-0001Jx-Nb for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 07:21:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1go5uQ-0001J8-Ms for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 07:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1go5uQ-00006o-Cx for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 07:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Compro Prasad Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Jan 2019 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34206 X-GNU-PR-Package: emacs Original-Received: via spool by 34206-submit@debbugs.gnu.org id=B34206.1548678004303 (code B ref 34206); Mon, 28 Jan 2019 12:21:02 +0000 Original-Received: (at 34206) by debbugs.gnu.org; 28 Jan 2019 12:20:04 +0000 Original-Received: from localhost ([127.0.0.1]:48294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go5tU-0008WU-G0 for submit@debbugs.gnu.org; Mon, 28 Jan 2019 07:20:04 -0500 Original-Received: from mail-oi1-f171.google.com ([209.85.167.171]:38877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go5tS-0008Vt-42 for 34206@debbugs.gnu.org; Mon, 28 Jan 2019 07:20:03 -0500 Original-Received: by mail-oi1-f171.google.com with SMTP id a77so12826558oii.5 for <34206@debbugs.gnu.org>; Mon, 28 Jan 2019 04:20:02 -0800 (PST) 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=jDo8acyE9ijQbqzBaUUVTrOZ7reOfVb0pvBIhUXxQy4=; b=BFWaV8jOJ3vlQlq36kE1CmpGLURMP/kMi8Q+lX64RM0SfXUwvweRaXSLD1sEekFp6B X4Y3LkA9LBVnoDaZlRsIRqiq1dYWw7ZOk/cSy5d7YFIobQYEQADozYqk4nlLA+t4X0Y0 a0VQC8HSuZ/DN+R6GvLvQR0cHI79sldWjgcmd8co93rEU6VgVSIE4V0x9qMSGxyUY4dD iDH+RrLr3M8pdu+xyDNwOBp+uYiU9UBzYBkeY3oEplOiPctigt3XmbXe1bGjlN+XSvnR yFLJynK4auh+Jp8Q+KRBvu5PbwMJWCUEkyd30+1NZ94If3Gfnw1if8Ronj5SXDrl7684 hjWg== 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=jDo8acyE9ijQbqzBaUUVTrOZ7reOfVb0pvBIhUXxQy4=; b=dTnVsfllUgK5xvDmpEVMEHZJ7u4A//W3MkhR6eO67L5+o8w0D1AYN3fjgLNVrk1Jv3 7ss3SwbbncGJb508Bdn4n5Y4thk7dq7C5vouAm8ynyNxe7LKljoslS65PXT6ViDMLu/Q zOdQnPeKsfS6C7fIG3B++r8+fkfklzZz6PMj62eegfWG2kWHet6eEGXNxkJI1x1OunMn 0HmMgqpjWneAvAkMW0BAAm55iKRG75Jg6WZGp/SvDjy2b1GGcDslM6arB988+Qg/3rSI Hf4OTMieLPJs4FaCmGSZoL4rR0JETd8Kw8vgH0xClcz4DZe6gbwMmTzsH8nc+ktAqPBR ANWA== X-Gm-Message-State: AJcUukcxtA+69dHRqmFOQ4FAC1RDnHylJfL4ffCyni3/QH+ayQ+aPajh 8PjdnctVEvFOauwST1D/Z0yn00qTnkGIeAsJHMZ4Y3TO X-Google-Smtp-Source: ALg8bN6GZi3LmJ3iOaWhEcoAfBzA1GblaAv3mR/bmIWiE+CJOJ4ekeeyjjeaymXt2NAw4DHbnsJxozCWmYyauVScNkI= X-Received: by 2002:aca:195:: with SMTP id 143mr5632367oib.322.1548677996248; Mon, 28 Jan 2019 04:19:56 -0800 (PST) In-Reply-To: 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: 209.51.188.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:154840 Archived-At: On Sun, Jan 27, 2019 at 9:22 AM Daniel Colascione wrote: > > On 1/25/19 10:33 PM, Compro Prasad wrote: > > Emacs source: official master branch (commit: 7960951d5d) > > Emacs config: https://github.com/Compro-Prasad/spacemacs/tree/pdumper-is-in-master > > (commit: f5eef2127ad4d) > > Spacemacs config: https://github.com/Compro-Prasad/.spacemacs.d > > (commit: 8a1eebc65f9a) > > > > Build command: ./configure --enable-checking='yes,glyphs' > > --enable-check-lisp-object-type CFLAGS='-O0 -g3' --with-xwidgets && > > make -j2 > > > > GDB log: https://pastebin.com/2uMPHCRV > > > > OS: Antergos(Arch Linux) > > Compiler: gcc version 8.2.1 20181127 (GCC) > > > > Can't provide further information because Emacs segfaults before it > > can load any elisp packages while loading the dump file. > > > > I might be doing something wrong here. Can you please guide me how to > > use the pdumper in Emacs or what info topic is it under? > > That looks like a legitimate bug. I don't know anything about spacemacs. > Can you provide a recipe for reproducing this crash starting from a > stock master checkout? Thanks. I fixed it by setting dotspacemacs-editing-style to 'vim from 'hybrid . You can see it here: https://github.com/Compro-Prasad/.spacemacs.d/commit/70033fb6c429244d0a72663e8258fe05637f5cfd#diff-64ed6d0a7a4f2eaf33cacc2454a19cffL234 You can clone the repo in the above link to `~/.spacemacs.d` and clone https://github.com/Compro-Prasad/spacemacs (branch: pdumper-is-in-master) to `~/.emacs.d`. Then start Emacs(Packages will be downloaded for the first time). It should work perfectly fine. You can see the dumping status in `*spacemacs-dumper*` buffer. Then specify the command: emacs-27.0.50 --dump-file ~/.emacs.d/.cache/dumps/spacemacs.pdmp to load the dump. This won't work(will crash) if the dotspacemacs-editing-style is 'hybrid in `~/.spacemacs.d/init.el` The emacs 27 executable used was by building from the official master branch. If you are doubtful about any of the above steps then you can ask me or ask spacemacs specific questions at https://gitter.im/syl20bnr/spacemacs .