From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Shuguang Sun Newsgroups: gmane.emacs.help Subject: Re: How to debug/gdb emacs/runemacs in windows? Date: Mon, 27 May 2019 17:37:16 +0800 Message-ID: <39694.0232183383$1558949877@news.gmane.org> References: <834l5l6yxv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="40070"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 27 11:37:50 2019 Return-path: Envelope-to: geh-help-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 1hVC4j-000ACZ-FI for geh-help-gnu-emacs@m.gmane.org; Mon, 27 May 2019 11:37:49 +0200 Original-Received: from localhost ([127.0.0.1]:42680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVC4i-0008EM-3D for geh-help-gnu-emacs@m.gmane.org; Mon, 27 May 2019 05:37:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVC4O-0008Bg-DA for help-gnu-emacs@gnu.org; Mon, 27 May 2019 05:37:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVC4N-0006tS-G9 for help-gnu-emacs@gnu.org; Mon, 27 May 2019 05:37:28 -0400 Original-Received: from smtpproxy19.qq.com ([184.105.206.84]:48999) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVC4M-0006sM-JN for help-gnu-emacs@gnu.org; Mon, 27 May 2019 05:37:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1558949838; bh=CLDAdPTX+gS5CCNE2boevk1ROsiummbuxw4mJ0WjzjE=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=KIUfYcNHbBV21UcRuDfTeB+krNraERKi/MGiSw0vl/vrxFLw7lwBX0kInK8+FwxAc giLslhZCM8xDeFw583yeGW0LBlTU/VEqob2AHwMBr/Ot6I4M5D8vlNGjnA/H/V/mpt dOW7QYIiQ6t02v0rOk0L5Xbe/afOXGjJvkZcn1fQ= X-QQ-mid: esmtp4t1558949837tqjibhifv Original-Received: from rshmx11052 (unknown [211.144.221.1]) by esmtp4.qq.com (ESMTP) with id ; Mon, 27 May 2019 17:37:17 +0800 (CST) X-QQ-SSF: 01000000000000F0F7200F00000000G X-QQ-FEAT: 6ugjij1k5i9QXXMXEY0D2R610JdCe3fNytFI2FhBjs8jVWKnK1B0N5YBaTi3Y o8WOLAG3cmp14ni4iJtHElXXlpeGn2NvsulhpuCPqBcpHDZMQT42EYcotU5Py4PCvofUJqP H4w0lm8Aogako4FwNnt0IVKYYJaCw1F3NSTdEM2MFdBF6++Ckr48S9cS7zmkSYg243cMeVm 1Wf6N4yb7/zliL9sbyyG68kUhtxZvXVE5VYXbVAiVuIWjPGhynBRu9vPK1FqHWQCPNOsxp1 M/GLiE8eUdJy8rJ84ChEyTAriXsEuJDiyUjA== X-QQ-GoodBg: 0 In-Reply-To: <834l5l6yxv.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 23 May 2019 17:13:48 +0300") X-QQ-SENDSIZE: 520 Feedback-ID: esmtp:qq.com:bgforeign:bgforeign2 X-QQ-Bgrelay: 1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 184.105.206.84 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120647 Archived-At: Eli Zaretskii writes: > > One thing to try is to load the src/.gdbinit file from the Emacs > distribution before you issue the "run" command, it might help you by > stopping Emacs earlier, before it does something that destroys the > stack. If that doesn't work, put a breakpoint inside some function > that recentf-edit-list calls, like Fformat perhaps, invoke > recentf-edit-list, then step through the code until you see where it > crashes. > > (The above is based on incomplete information, because you didn't > explain how recentf-edit-list is called, and what exactly is in your > private pdumper file.) > > Thanks. It is really help me. I tried to use edebug (edebug-defun) to find the issue which is rooted to recentf-dialog-goto-first. Finally with carefully investigate the dump initiate file, it is found the (require 'ein-org) triggered the issue. And also the issue of crash when custumize-group faces. It may not related to emacs itself. -- Best Regards Shuguang Sun