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#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Date: Tue, 25 Nov 2014 20:58:51 +0200 Message-ID: <83bnnvp0no.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <5474C91A.3010007@yahoo.co.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1416941968 4094 80.91.229.3 (25 Nov 2014 18:59:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 18:59:28 +0000 (UTC) Cc: 19181@debbugs.gnu.org To: Bill Farmer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 19:59:21 2014 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 1XtLKY-0005Li-29 for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 19:59:18 +0100 Original-Received: from localhost ([::1]:59011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtLKX-0002nh-Is for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 13:59:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtLKO-0002nW-Am for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 13:59:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtLKH-0005Zr-Su for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 13:59:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtLKH-0005Zm-Pb for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 13:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XtLKH-0004JI-JX for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 13:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 18:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141694192316532 (code B ref 19181); Tue, 25 Nov 2014 18:59:01 +0000 Original-Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 18:58:43 +0000 Original-Received: from localhost ([127.0.0.1]:45250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLJy-0004IZ-HJ for submit@debbugs.gnu.org; Tue, 25 Nov 2014 13:58:42 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:53511) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLJv-0004IL-H5 for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 13:58:41 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NFL00P00YVX8300@mtaout28.012.net.il> for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 20:56:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFL00JJ5Z9I3S70@mtaout28.012.net.il>; Tue, 25 Nov 2014 20:56:06 +0200 (IST) In-reply-to: <5474C91A.3010007@yahoo.co.uk> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96565 Archived-At: [Please keep the bug address on the CC list.] > Date: Tue, 25 Nov 2014 18:23:22 +0000 > From: Bill Farmer > > The problem I have with emacs is that it crashes on exit if a file has been > visited. If emacs is quit immediately with no other actions other than quit, it > does not crash. This is a virgin installation of emacs with no additional dlls, > I had not even got around to moving my additional files in site-lisp. The only > dll in the installation is libXpm.dll. This problem is similar to that > mentioned in etc/PROBLEMS. I can't fix the problem as described here because I > have not added any additional dlls. Could it be that you have some of the additional DLLs somewhere on PATH? Can you see which DLLs Emacs loads after you visit a file? One way of doing that is to use the Process Explorer program from SysInternals. > The windows error report says: > > Faulting application name: emacs.exe, version: 24.4.0.0, time stamp: 0x544a8d9a > Faulting module name: libgcc_s_dw2-1.dll, version: 0.0.0.0, time stamp: > 0x525049a5 > Exception code: 0x40000015 > Fault offset: 0x000148fe > Faulting process id: 0xeac > Faulting application start time: 0x01d008d7f7fa4d51 > Faulting application path: D:\Images\emacs\emacs-24.4\bin\emacs.exe > Faulting module path: C:\MinGW\bin\libgcc_s_dw2-1.dll Which version of MinGW GCC do you have installed? > > This is very similar to the problem reported here: > http://emacs.1067599.n5.nabble.com/Emacs-crashes-when-I-try-to-quit-td76908.html. > > I have checked using objdump, none of the executable files in emacs have a > dependency on libgcc_s_dw2-1.dll. This is as expected, as emacs works fine if I > rename this file in MinGW. I also tried renaming libXpm.dll in the emacs > installation. This made no difference, it still crashes on exit. My suspicion is that Emacs loads some other DLL which depends on libgcc_s_dw2-1.dll. Looking at the DLLs loaded into the Emacs process after you visit a file might shed some light on this. > The problem would appear to be that emacs loads libgcc_s_dw2-1.dll, if a file > is visited, and if libgcc_s_dw2-1.dll can be found, and this causes a crash on > exit as per etc/PROBLEMS. But since you say that Emacs works OK without libgcc_s_dw2-1.dll, what happens is probably a bit more complicated.