From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23935: 25.1.50; simple reproducible crash for emacs -Q: `M-: (+ 1997 120 400)' Date: Wed, 13 Jul 2016 20:24:27 +0300 Message-ID: <83r3ax8n90.fsf@gnu.org> References: <<<<<<<<<<<<<<141ef34b-eb0a-4b2a-9b1a-57161854406a@default>>>>> <<<<<83wpkte97w.fsf@gnu.org>>>>> <<<<138a40d5-0c08-47bc-b20a-ff3780f4e739@default>>>> <<<<83shvhe822.fsf@gnu.org>>>> <<<0104f314-b8f0-41a2-af56-081d8c35e983@default>>> <<<83lh19e61q.fsf@gnu.org>>> <<5ccb511f-24bc-48ec-8d8c-5ff1a72fdb0d@default>> <<83h9bxe3ym.fsf@gnu.org>> > <<8337ngdzes.fsf@gnu.org>>>>>>>>>> <<<<<<<<<<83h9bwcbgu.fsf@gnu.org>> <853bee3b-8e6a-4ef1-963e-705d8f7fe660@default>>>>>>>>> <<<<<<<<<831t2zcu96.fsf@gnu.org>>>>>>>>> <<<<<<<<11992196-79f5-4fe8-8998-e0811e3adfd3@default>>>>>>>> <<<<<<<<83eg6zaqjo.fsf@gnu.org>>>>>>>> <<<<<<<0647e47f-ac9a-4347-aedb-5ff9cd8ff292@default>>>>>>> <<<<<<<83bn22c3fm.fsf@gnu.org>>>>>>> <<<<<<72de3c68-803f-4bc5-b328-d6cf61f045dc@default>>>>>> <<<<<<83zipmaggi.fsf@gnu.org>>>>>> <<<<>>>> <<<<<83oa629rz8.fsf@gnu.org>>>>> <<<>>> <<<<83h9bta9ju.fsf@gnu.org>>>> <<>> <<<831t2xa7n0.fsf@gnu.org>>> <<595920b7-4690-46ac-8390-f7f228b6e575@default>> <<83vb098qpd.fsf@gnu.org>> <740d0689-ffba-4bc5-9740-3c9e64a55cd1@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468430721 25278 80.91.229.3 (13 Jul 2016 17:25:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2016 17:25:21 +0000 (UTC) Cc: 23935@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 13 19:25:12 2016 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 1bNNuJ-0003kM-6i for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2016 19:25:11 +0200 Original-Received: from localhost ([::1]:49159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNNuI-0006o6-FE for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2016 13:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNNuC-0006mZ-Lc for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2016 13:25:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNNuA-0002c9-93 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2016 13:25:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNNuA-0002c5-5F for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2016 13:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bNNuA-0007kG-17 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2016 13:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2016 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23935 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23935-submit@debbugs.gnu.org id=B23935.146843069829760 (code B ref 23935); Wed, 13 Jul 2016 17:25:01 +0000 Original-Received: (at 23935) by debbugs.gnu.org; 13 Jul 2016 17:24:58 +0000 Original-Received: from localhost ([127.0.0.1]:50089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNNu6-0007jw-5n for submit@debbugs.gnu.org; Wed, 13 Jul 2016 13:24:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNNu5-0007jk-4k for 23935@debbugs.gnu.org; Wed, 13 Jul 2016 13:24:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNNtw-0002b5-Nj for 23935@debbugs.gnu.org; Wed, 13 Jul 2016 13:24:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNNtw-0002b0-Jt; Wed, 13 Jul 2016 13:24:48 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4690 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNNts-0002kc-W7; Wed, 13 Jul 2016 13:24:47 -0400 In-reply-to: <740d0689-ffba-4bc5-9740-3c9e64a55cd1@default> (message from Drew Adams on Wed, 13 Jul 2016 09:55:49 -0700 (PDT)) 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:121023 Archived-At: > Date: Wed, 13 Jul 2016 09:55:49 -0700 (PDT) > From: Drew Adams > Cc: 23935@debbugs.gnu.org > > > https://www.python.org/download/releases/2.6.6/ > > That says: > > "Python 2.6.6 has been replaced by a newer security-fix only source release of Python. Please download Python 2.6.8 instead." > > This is my work computer, so I'm reluctant to pick up something > that needed a security fix. How about using 2.6.8? You can try, it will most probably work OK. Please also note these installation notes from the ezwinports site: If you install this anywhere but D:\usr, you will need to set 2 environment variables: set GUILE_LOAD_PATH=x:\foo\share\guile\2.0 set GUILE_LOAD_COMPILED_PATH=x:\foo\lib\guile\2.0\ccache where "x:\foo" is the directory from which you unzipped the GDB binary zip file. These variables are required for the Guile support in GDB to be able to initialize itself. If GDB complains at startup about being unable to load Python modules, you may need to set the PYTHONPATH environment variable to point to your Python 2.6.6 installation, like this: set PYTHONPATH=C:\Python26;C:\Python26\Lib;C:\Python26\;C:\Python26\DLLs;C:\Python26\Lib\lib-tk;C:\Python26\Lib\site-packages (assuming you installed Python in C:\Python26). > This also rang a bell, so I searched old bug reports. I sent > you a message on 2010/Dec/09, where I said this: > > ---- > > > > > It's enough to type "gdb RET" at the cmd prompt. But to > > > > attach to a running Emacs process, it is more convenient > > > > to type "gdb -p PID RET", > > > > where PID is the Emacs process ID, a number. > > Hi Eli, > > I tried that just now, when I got a crash dialog box. I cd'd to the dir where I have the files you sent me, then did `gdb -p 5692' (the PID). > > I got a Windows error box, with title `gdb.exe - Unable to Locate Component' and with text "This application has failed to start because libexpat-1.dll was not found. Re-installing the application may fix this problem. [OK]" > > In the directory where I put the files you sent (which is in my PATH), I have these files (that you sent): > > .gdbinit > gdb-python27.exe > gdb.exe > gdbserver.exe > > ---- > > It seems I didn't get a reply from you. But I do find the file > gdb-python27.exe in the other GDB directory, for version 7.2. The binary zip distribution of GDB 7.10 that you have includes all the dependency DLLs, with the sole exception of Python. So once you install Python, I don't expect any additional problems with missing DLLs. (You can also download the latest GDB 7.11 from the same site.) One more caveat: this GDB 7.10/7.11 can only debug 32-bit programs, so you can only use it with the binaries that identify themselves as i686-pc-mingw32, not x86_64-w64-mingw64. If the i686-pc-mingw32 one is stripped, i.e. without debugging symbols, we will have to arrange fore you to download a binary with symbols. (The .exe binary with symbols is much larger, around 70MB.) But first, let's see if GDB works there.